Package com.google.api.servicecontrol.v1
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.v1.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.v1.ReportRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllOperations(Iterable<? extends Operation> values) Operations to be reported.addOperations(int index, Operation value) Operations to be reported.addOperations(int index, Operation.Builder builderForValue) Operations to be reported.addOperations(Operation value) Operations to be reported.addOperations(Operation.Builder builderForValue) Operations to be reported.Operations to be reported.addOperationsBuilder(int index) Operations to be reported.build()clear()Operations to be reported.Specifies which version of service config 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) Operations to be reported.getOperationsBuilder(int index) Operations to be reported.Operations to be reported.intOperations to be reported.Operations to be reported.getOperationsOrBuilder(int index) Operations to be reported.List<? extends OperationOrBuilder>Operations to be reported.Specifies which version of service config should be used to process the request.com.google.protobuf.ByteStringSpecifies which version of service config 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) Operations to be reported.setOperations(int index, Operation value) Operations to be reported.setOperations(int index, Operation.Builder builderForValue) Operations to be reported.setServiceConfigId(String value) Specifies which version of service config should be used to process the request.setServiceConfigIdBytes(com.google.protobuf.ByteString value) Specifies which version of service config 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.
-
getOperationsList
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;- Specified by:
getOperationsListin interfaceReportRequestOrBuilder
-
getOperationsCount
public int getOperationsCount()Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;- Specified by:
getOperationsCountin interfaceReportRequestOrBuilder
-
getOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;- Specified by:
getOperationsin interfaceReportRequestOrBuilder
-
setOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
setOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
addOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
addOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
addOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
addOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
addAllOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
clearOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
removeOperations
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
getOperationsBuilder
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
getOperationsOrBuilder
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;- Specified by:
getOperationsOrBuilderin interfaceReportRequestOrBuilder
-
getOperationsOrBuilderList
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2;- Specified by:
getOperationsOrBuilderListin interfaceReportRequestOrBuilder
-
addOperationsBuilder
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
addOperationsBuilder
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
getOperationsBuilderList
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for partial failure behavior.
repeated .google.api.servicecontrol.v1.Operation operations = 2; -
getServiceConfigId
Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.
string service_config_id = 3;- Specified by:
getServiceConfigIdin interfaceReportRequestOrBuilder- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
public com.google.protobuf.ByteString getServiceConfigIdBytes()Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.
string service_config_id = 3;- Specified by:
getServiceConfigIdBytesin interfaceReportRequestOrBuilder- Returns:
- The bytes for serviceConfigId.
-
setServiceConfigId
Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.
string service_config_id = 3;- Parameters:
value- The serviceConfigId to set.- Returns:
- This builder for chaining.
-
clearServiceConfigId
Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.
string service_config_id = 3;- Returns:
- This builder for chaining.
-
setServiceConfigIdBytes
Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.
string service_config_id = 3;- Parameters:
value- The bytes for serviceConfigId to set.- Returns:
- This builder for chaining.
-