public static final class ReportRequest.Builder extends GeneratedMessageV3.Builder<ReportRequest.Builder> implements ReportRequestOrBuilder
Request message for the Report method.
Protobuf type google.api.servicecontrol.v2.ReportRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllOperations(Iterable<? extends AttributeContext> values)
public ReportRequest.Builder addAllOperations(Iterable<? extends AttributeContext> values)
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 |
values | Iterable<? extends com.google.rpc.context.AttributeContext>
|
Returns
addOperations(AttributeContext value)
public ReportRequest.Builder addOperations(AttributeContext value)
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 |
value | com.google.rpc.context.AttributeContext
|
Returns
addOperations(AttributeContext.Builder builderForValue)
public ReportRequest.Builder addOperations(AttributeContext.Builder builderForValue)
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 |
builderForValue | com.google.rpc.context.AttributeContext.Builder
|
Returns
addOperations(int index, AttributeContext value)
public ReportRequest.Builder addOperations(int index, AttributeContext value)
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;
Parameters
Name | Description |
index | int
|
value | com.google.rpc.context.AttributeContext
|
Returns
addOperations(int index, AttributeContext.Builder builderForValue)
public ReportRequest.Builder addOperations(int index, AttributeContext.Builder builderForValue)
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;
Parameters
Name | Description |
index | int
|
builderForValue | com.google.rpc.context.AttributeContext.Builder
|
Returns
addOperationsBuilder()
public AttributeContext.Builder addOperationsBuilder()
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 |
com.google.rpc.context.AttributeContext.Builder | |
addOperationsBuilder(int index)
public AttributeContext.Builder addOperationsBuilder(int index)
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
Returns
Type | Description |
com.google.rpc.context.AttributeContext.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReportRequest build()
Returns
buildPartial()
public ReportRequest buildPartial()
Returns
clear()
public ReportRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReportRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOperations()
public ReportRequest.Builder clearOperations()
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
clearServiceConfigId()
public ReportRequest.Builder clearServiceConfigId()
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
clearServiceName()
public ReportRequest.Builder clearServiceName()
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
clone()
public ReportRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReportRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOperations(int index)
public AttributeContext getOperations(int index)
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
Returns
Type | Description |
com.google.rpc.context.AttributeContext | |
getOperationsBuilder(int index)
public AttributeContext.Builder getOperationsBuilder(int index)
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
Returns
Type | Description |
com.google.rpc.context.AttributeContext.Builder | |
getOperationsBuilderList()
public List<AttributeContext.Builder> getOperationsBuilderList()
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.Builder> | |
getOperationsCount()
public int getOperationsCount()
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
getOperationsList()
public List<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)
public AttributeContextOrBuilder getOperationsOrBuilder(int index)
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
Returns
Type | Description |
com.google.rpc.context.AttributeContextOrBuilder | |
getOperationsOrBuilderList()
public List<? extends AttributeContextOrBuilder> 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> | |
getServiceConfigId()
public String getServiceConfigId()
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()
public ByteString getServiceConfigIdBytes()
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()
public String getServiceName()
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()
public ByteString getServiceNameBytes()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReportRequest other)
public ReportRequest.Builder mergeFrom(ReportRequest other)
Parameter
Returns
public ReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReportRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeOperations(int index)
public ReportRequest.Builder removeOperations(int index)
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReportRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setOperations(int index, AttributeContext value)
public ReportRequest.Builder setOperations(int index, AttributeContext value)
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;
Parameters
Name | Description |
index | int
|
value | com.google.rpc.context.AttributeContext
|
Returns
setOperations(int index, AttributeContext.Builder builderForValue)
public ReportRequest.Builder setOperations(int index, AttributeContext.Builder builderForValue)
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;
Parameters
Name | Description |
index | int
|
builderForValue | com.google.rpc.context.AttributeContext.Builder
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceConfigId(String value)
public ReportRequest.Builder setServiceConfigId(String value)
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;
Parameter
Name | Description |
value | String
The serviceConfigId to set.
|
Returns
setServiceConfigIdBytes(ByteString value)
public ReportRequest.Builder setServiceConfigIdBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for serviceConfigId to set.
|
Returns
setServiceName(String value)
public ReportRequest.Builder setServiceName(String value)
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;
Parameter
Name | Description |
value | String
The serviceName to set.
|
Returns
setServiceNameBytes(ByteString value)
public ReportRequest.Builder setServiceNameBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for serviceName to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides