Package com.google.api.servicecontrol.v2
Class ReportRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReportRequest.Builder>
com.google.api.servicecontrol.v2.ReportRequest.Builder
- All Implemented Interfaces:
ReportRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReportRequest
public static final class ReportRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReportRequest.Builder>
implements ReportRequestOrBuilder
Request message for the Report method.Protobuf type
google.api.servicecontrol.v2.ReportRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllOperations(Iterable<? extends AttributeContext> values) Describes the list of operations to be reported.addOperations(int index, AttributeContext value) Describes the list of operations to be reported.addOperations(int index, AttributeContext.Builder builderForValue) Describes the list of operations to be reported.addOperations(AttributeContext value) Describes the list of operations to be reported.addOperations(AttributeContext.Builder builderForValue) Describes the list of operations to be reported.Describes the list of operations to be reported.addOperationsBuilder(int index) Describes the list of operations to be reported.build()clear()Describes the list of operations to be reported.Specifies the version of the service configuration that should be used to process the request.The service name as specified in its service configuration.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetOperations(int index) Describes the list of operations to be reported.getOperationsBuilder(int index) Describes the list of operations to be reported.Describes the list of operations to be reported.intDescribes the list of operations to be reported.Describes the list of operations to be reported.getOperationsOrBuilder(int index) Describes the list of operations to be reported.List<? extends AttributeContextOrBuilder>Describes the list of operations to be reported.Specifies the version of the service configuration that should be used to process the request.com.google.protobuf.ByteStringSpecifies the version of the service configuration that should be used to process the request.The service name as specified in its service configuration.com.google.protobuf.ByteStringThe service name as specified in its service configuration.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ReportRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeOperations(int index) Describes the list of operations to be reported.setOperations(int index, AttributeContext value) Describes the list of operations to be reported.setOperations(int index, AttributeContext.Builder builderForValue) Describes the list of operations to be reported.setServiceConfigId(String value) Specifies the version of the service configuration that should be used to process the request.setServiceConfigIdBytes(com.google.protobuf.ByteString value) Specifies the version of the service configuration that should be used to process the request.setServiceName(String value) The service name as specified in its service configuration.setServiceNameBytes(com.google.protobuf.ByteString value) The service name as specified in its service configuration.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReportRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReportRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReportRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReportRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReportRequest.Builder>
-
mergeFrom
public ReportRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReportRequest.Builder>- Throws:
IOException
-
getServiceName
The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
string service_name = 1;- Specified by:
getServiceNamein interfaceReportRequestOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
string service_name = 1;- Specified by:
getServiceNameBytesin interfaceReportRequestOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
string service_name = 1;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
string service_name = 1;- Returns:
- This builder for chaining.
-
setServiceNameBytes
The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
string service_name = 1;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getServiceConfigIdin interfaceReportRequestOrBuilder- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
public com.google.protobuf.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;- Specified by:
getServiceConfigIdBytesin interfaceReportRequestOrBuilder- Returns:
- The bytes for serviceConfigId.
-
setServiceConfigId
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;- Parameters:
value- The serviceConfigId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setServiceConfigIdBytes
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;- Parameters:
value- The bytes for serviceConfigId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getOperationsListin interfaceReportRequestOrBuilder
-
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;- Specified by:
getOperationsCountin interfaceReportRequestOrBuilder
-
getOperations
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;- Specified by:
getOperationsin interfaceReportRequestOrBuilder
-
setOperations
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; -
setOperations
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; -
addOperations
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; -
addOperations
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; -
addOperations
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; -
addOperations
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; -
addAllOperations
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; -
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; -
removeOperations
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; -
getOperationsBuilder
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; -
getOperationsOrBuilder
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;- Specified by:
getOperationsOrBuilderin interfaceReportRequestOrBuilder
-
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;- Specified by:
getOperationsOrBuilderListin interfaceReportRequestOrBuilder
-
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; -
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; -
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;
-