Class ReportRequest (1.63.0)

publicfinalclass ReportRequestextendsGeneratedMessageV3implementsReportRequestOrBuilder

Request message for the Report method.

Protobuf type google.api.servicecontrol.v2.ReportRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

OPERATIONS_FIELD_NUMBER

publicstaticfinalintOPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_CONFIG_ID_FIELD_NUMBER

publicstaticfinalintSERVICE_CONFIG_ID_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_NAME_FIELD_NUMBER

publicstaticfinalintSERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticReportRequestgetDefaultInstance()
Returns
Type Description
ReportRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticReportRequest.BuildernewBuilder()
Returns
Type Description
ReportRequest.Builder

newBuilder(ReportRequest prototype)

publicstaticReportRequest.BuildernewBuilder(ReportRequestprototype)
Parameter
Name Description
prototype ReportRequest
Returns
Type Description
ReportRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticReportRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticReportRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticReportRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReportRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticReportRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticReportRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ReportRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticReportRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticReportRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReportRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticReportRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticReportRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticReportRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticReportRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReportRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticReportRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ReportRequest>parser()
Returns
Type Description
Parser<ReportRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicReportRequestgetDefaultInstanceForType()
Returns
Type Description
ReportRequest

getOperations(int index)

publicAttributeContextgetOperations(intindex)

Describes the list of operations to be reported. Each operation is represented as an AttributeContext, and contains all attributes around an API access.

repeated .google.rpc.context.AttributeContext operations = 3;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.context.AttributeContext

getOperationsCount()

publicintgetOperationsCount()

Describes the list of operations to be reported. Each operation is represented as an AttributeContext, and contains all attributes around an API access.

repeated .google.rpc.context.AttributeContext operations = 3;

Returns
Type Description
int

getOperationsList()

publicList<AttributeContext>getOperationsList()

Describes the list of operations to be reported. Each operation is represented as an AttributeContext, and contains all attributes around an API access.

repeated .google.rpc.context.AttributeContext operations = 3;

Returns
Type Description
List<com.google.rpc.context.AttributeContext>

getOperationsOrBuilder(int index)

publicAttributeContextOrBuildergetOperationsOrBuilder(intindex)

Describes the list of operations to be reported. Each operation is represented as an AttributeContext, and contains all attributes around an API access.

repeated .google.rpc.context.AttributeContext operations = 3;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.context.AttributeContextOrBuilder

getOperationsOrBuilderList()

publicList<?extendsAttributeContextOrBuilder>getOperationsOrBuilderList()

Describes the list of operations to be reported. Each operation is represented as an AttributeContext, and contains all attributes around an API access.

repeated .google.rpc.context.AttributeContext operations = 3;

Returns
Type Description
List<? extends com.google.rpc.context.AttributeContextOrBuilder>

getParserForType()

publicParser<ReportRequest>getParserForType()
Returns
Type Description
Parser<ReportRequest>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getServiceConfigId()

publicStringgetServiceConfigId()

Specifies the version of the service configuration that should be used to process the request. Must not be empty. Set this field to 'latest' to specify using the latest configuration.

string service_config_id = 2;

Returns
Type Description
String

The serviceConfigId.

getServiceConfigIdBytes()

publicByteStringgetServiceConfigIdBytes()

Specifies the version of the service configuration that should be used to process the request. Must not be empty. Set this field to 'latest' to specify using the latest configuration.

string service_config_id = 2;

Returns
Type Description
ByteString

The bytes for serviceConfigId.

getServiceName()

publicStringgetServiceName()

The service name as specified in its service configuration. For example, "pubsub.googleapis.com".

See google.api.Service for the definition of a service name.

string service_name = 1;

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

publicByteStringgetServiceNameBytes()

The service name as specified in its service configuration. For example, "pubsub.googleapis.com".

See google.api.Service for the definition of a service name.

string service_name = 1;

Returns
Type Description
ByteString

The bytes for serviceName.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicReportRequest.BuildernewBuilderForType()
Returns
Type Description
ReportRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedReportRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReportRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicReportRequest.BuildertoBuilder()
Returns
Type Description
ReportRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.