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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ReportRequest.Builder> implements ReportRequestOrBuilder
Request message for the Report method.
Protobuf typegoogle.api.servicecontrol.v2.ReportRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportRequest.Builder
addAllOperations(Iterable<? extends com.google.rpc.context.AttributeContext> values)
Describes the list of operations to be reported.ReportRequest.Builder
addOperations(int index, com.google.rpc.context.AttributeContext value)
Describes the list of operations to be reported.ReportRequest.Builder
addOperations(int index, com.google.rpc.context.AttributeContext.Builder builderForValue)
Describes the list of operations to be reported.ReportRequest.Builder
addOperations(com.google.rpc.context.AttributeContext value)
Describes the list of operations to be reported.ReportRequest.Builder
addOperations(com.google.rpc.context.AttributeContext.Builder builderForValue)
Describes the list of operations to be reported.com.google.rpc.context.AttributeContext.Builder
addOperationsBuilder()
Describes the list of operations to be reported.com.google.rpc.context.AttributeContext.Builder
addOperationsBuilder(int index)
Describes the list of operations to be reported.ReportRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReportRequest
build()
ReportRequest
buildPartial()
ReportRequest.Builder
clear()
ReportRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ReportRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ReportRequest.Builder
clearOperations()
Describes the list of operations to be reported.ReportRequest.Builder
clearServiceConfigId()
Specifies the version of the service configuration that should be used to process the request.ReportRequest.Builder
clearServiceName()
The service name as specified in its service configuration.ReportRequest.Builder
clone()
ReportRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.rpc.context.AttributeContext
getOperations(int index)
Describes the list of operations to be reported.com.google.rpc.context.AttributeContext.Builder
getOperationsBuilder(int index)
Describes the list of operations to be reported.List<com.google.rpc.context.AttributeContext.Builder>
getOperationsBuilderList()
Describes the list of operations to be reported.int
getOperationsCount()
Describes the list of operations to be reported.List<com.google.rpc.context.AttributeContext>
getOperationsList()
Describes the list of operations to be reported.com.google.rpc.context.AttributeContextOrBuilder
getOperationsOrBuilder(int index)
Describes the list of operations to be reported.List<? extends com.google.rpc.context.AttributeContextOrBuilder>
getOperationsOrBuilderList()
Describes the list of operations to be reported.String
getServiceConfigId()
Specifies the version of the service configuration that should be used to process the request.com.google.protobuf.ByteString
getServiceConfigIdBytes()
Specifies the version of the service configuration that should be used to process the request.String
getServiceName()
The service name as specified in its service configuration.com.google.protobuf.ByteString
getServiceNameBytes()
The service name as specified in its service configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReportRequest.Builder
mergeFrom(ReportRequest other)
ReportRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReportRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ReportRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReportRequest.Builder
removeOperations(int index)
Describes the list of operations to be reported.ReportRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReportRequest.Builder
setOperations(int index, com.google.rpc.context.AttributeContext value)
Describes the list of operations to be reported.ReportRequest.Builder
setOperations(int index, com.google.rpc.context.AttributeContext.Builder builderForValue)
Describes the list of operations to be reported.ReportRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ReportRequest.Builder
setServiceConfigId(String value)
Specifies the version of the service configuration that should be used to process the request.ReportRequest.Builder
setServiceConfigIdBytes(com.google.protobuf.ByteString value)
Specifies the version of the service configuration that should be used to process the request.ReportRequest.Builder
setServiceName(String value)
The service name as specified in its service configuration.ReportRequest.Builder
setServiceNameBytes(com.google.protobuf.ByteString value)
The service name as specified in its service configuration.ReportRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
clear
public ReportRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
getDefaultInstanceForType
public ReportRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReportRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReportRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReportRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
setField
public ReportRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
clearField
public ReportRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
clearOneof
public ReportRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
setRepeatedField
public ReportRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
addRepeatedField
public ReportRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
mergeFrom
public ReportRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReportRequest.Builder>
-
mergeFrom
public ReportRequest.Builder mergeFrom(ReportRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
mergeFrom
public ReportRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReportRequest.Builder>
- Throws:
IOException
-
getServiceName
public String 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:
getServiceName
in 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:
getServiceNameBytes
in interfaceReportRequestOrBuilder
- Returns:
- The bytes for serviceName.
-
setServiceName
public ReportRequest.Builder setServiceName(String value)
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
public ReportRequest.Builder 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
public ReportRequest.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
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
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;
- Specified by:
getServiceConfigId
in 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:
getServiceConfigIdBytes
in interfaceReportRequestOrBuilder
- Returns:
- The bytes for serviceConfigId.
-
setServiceConfigId
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;
- Parameters:
value
- The serviceConfigId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setServiceConfigIdBytes
public ReportRequest.Builder setServiceConfigIdBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for serviceConfigId to set.- Returns:
- This builder for chaining.
-
getOperationsList
public List<com.google.rpc.context.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;
- Specified by:
getOperationsList
in 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:
getOperationsCount
in interfaceReportRequestOrBuilder
-
getOperations
public com.google.rpc.context.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;
- Specified by:
getOperations
in interfaceReportRequestOrBuilder
-
setOperations
public ReportRequest.Builder setOperations(int index, com.google.rpc.context.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;
-
setOperations
public ReportRequest.Builder setOperations(int index, com.google.rpc.context.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;
-
addOperations
public ReportRequest.Builder addOperations(com.google.rpc.context.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;
-
addOperations
public ReportRequest.Builder addOperations(int index, com.google.rpc.context.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;
-
addOperations
public ReportRequest.Builder addOperations(com.google.rpc.context.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;
-
addOperations
public ReportRequest.Builder addOperations(int index, com.google.rpc.context.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;
-
addAllOperations
public ReportRequest.Builder addAllOperations(Iterable<? extends com.google.rpc.context.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;
-
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;
-
removeOperations
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;
-
getOperationsBuilder
public com.google.rpc.context.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;
-
getOperationsOrBuilder
public com.google.rpc.context.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;
- Specified by:
getOperationsOrBuilder
in interfaceReportRequestOrBuilder
-
getOperationsOrBuilderList
public List<? extends com.google.rpc.context.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;
- Specified by:
getOperationsOrBuilderList
in interfaceReportRequestOrBuilder
-
addOperationsBuilder
public com.google.rpc.context.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;
-
addOperationsBuilder
public com.google.rpc.context.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;
-
getOperationsBuilderList
public List<com.google.rpc.context.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;
-
setUnknownFields
public final ReportRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
mergeUnknownFields
public final ReportRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportRequest.Builder>
-
-