Package com.google.api.servicecontrol.v2
Class CheckRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
- com.google.api.servicecontrol.v2.CheckRequest.Builder
-
- All Implemented Interfaces:
CheckRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CheckRequest
public static final class CheckRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder> implements CheckRequestOrBuilder
Request message for the Check method.
Protobuf typegoogle.api.servicecontrol.v2.CheckRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckRequest.BuilderaddAllResources(Iterable<? extends ResourceInfo> values)Describes the resources and the policies applied to each resource.CheckRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CheckRequest.BuilderaddResources(int index, ResourceInfo value)Describes the resources and the policies applied to each resource.CheckRequest.BuilderaddResources(int index, ResourceInfo.Builder builderForValue)Describes the resources and the policies applied to each resource.CheckRequest.BuilderaddResources(ResourceInfo value)Describes the resources and the policies applied to each resource.CheckRequest.BuilderaddResources(ResourceInfo.Builder builderForValue)Describes the resources and the policies applied to each resource.ResourceInfo.BuilderaddResourcesBuilder()Describes the resources and the policies applied to each resource.ResourceInfo.BuilderaddResourcesBuilder(int index)Describes the resources and the policies applied to each resource.CheckRequestbuild()CheckRequestbuildPartial()CheckRequest.Builderclear()CheckRequest.BuilderclearAttributes()Describes attributes about the operation being executed by the service.CheckRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CheckRequest.BuilderclearFlags()Optional.CheckRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CheckRequest.BuilderclearResources()Describes the resources and the policies applied to each resource.CheckRequest.BuilderclearServiceConfigId()Specifies the version of the service configuration that should be used to process the request.CheckRequest.BuilderclearServiceName()The service name as specified in its service configuration.CheckRequest.Builderclone()com.google.rpc.context.AttributeContextgetAttributes()Describes attributes about the operation being executed by the service.com.google.rpc.context.AttributeContext.BuildergetAttributesBuilder()Describes attributes about the operation being executed by the service.com.google.rpc.context.AttributeContextOrBuildergetAttributesOrBuilder()Describes attributes about the operation being executed by the service.CheckRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFlags()Optional.com.google.protobuf.ByteStringgetFlagsBytes()Optional.ResourceInfogetResources(int index)Describes the resources and the policies applied to each resource.ResourceInfo.BuildergetResourcesBuilder(int index)Describes the resources and the policies applied to each resource.List<ResourceInfo.Builder>getResourcesBuilderList()Describes the resources and the policies applied to each resource.intgetResourcesCount()Describes the resources and the policies applied to each resource.List<ResourceInfo>getResourcesList()Describes the resources and the policies applied to each resource.ResourceInfoOrBuildergetResourcesOrBuilder(int index)Describes the resources and the policies applied to each resource.List<? extends ResourceInfoOrBuilder>getResourcesOrBuilderList()Describes the resources and the policies applied to each resource.StringgetServiceConfigId()Specifies the version of the service configuration that should be used to process the request.com.google.protobuf.ByteStringgetServiceConfigIdBytes()Specifies the version of the service configuration that should be used to process the request.StringgetServiceName()The service name as specified in its service configuration.com.google.protobuf.ByteStringgetServiceNameBytes()The service name as specified in its service configuration.booleanhasAttributes()Describes attributes about the operation being executed by the service.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CheckRequest.BuildermergeAttributes(com.google.rpc.context.AttributeContext value)Describes attributes about the operation being executed by the service.CheckRequest.BuildermergeFrom(CheckRequest other)CheckRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CheckRequest.BuildermergeFrom(com.google.protobuf.Message other)CheckRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CheckRequest.BuilderremoveResources(int index)Describes the resources and the policies applied to each resource.CheckRequest.BuildersetAttributes(com.google.rpc.context.AttributeContext value)Describes attributes about the operation being executed by the service.CheckRequest.BuildersetAttributes(com.google.rpc.context.AttributeContext.Builder builderForValue)Describes attributes about the operation being executed by the service.CheckRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CheckRequest.BuildersetFlags(String value)Optional.CheckRequest.BuildersetFlagsBytes(com.google.protobuf.ByteString value)Optional.CheckRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CheckRequest.BuildersetResources(int index, ResourceInfo value)Describes the resources and the policies applied to each resource.CheckRequest.BuildersetResources(int index, ResourceInfo.Builder builderForValue)Describes the resources and the policies applied to each resource.CheckRequest.BuildersetServiceConfigId(String value)Specifies the version of the service configuration that should be used to process the request.CheckRequest.BuildersetServiceConfigIdBytes(com.google.protobuf.ByteString value)Specifies the version of the service configuration that should be used to process the request.CheckRequest.BuildersetServiceName(String value)The service name as specified in its service configuration.CheckRequest.BuildersetServiceNameBytes(com.google.protobuf.ByteString value)The service name as specified in its service configuration.CheckRequest.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
clear
public CheckRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.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.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
getDefaultInstanceForType
public CheckRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CheckRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CheckRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CheckRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
setField
public CheckRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
clearField
public CheckRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
clearOneof
public CheckRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
setRepeatedField
public CheckRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
addRepeatedField
public CheckRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
mergeFrom
public CheckRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckRequest.Builder>
-
mergeFrom
public CheckRequest.Builder mergeFrom(CheckRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
mergeFrom
public CheckRequest.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<CheckRequest.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:
getServiceNamein interfaceCheckRequestOrBuilder- 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 interfaceCheckRequestOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
public CheckRequest.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 CheckRequest.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 CheckRequest.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:
getServiceConfigIdin interfaceCheckRequestOrBuilder- 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 interfaceCheckRequestOrBuilder- Returns:
- The bytes for serviceConfigId.
-
setServiceConfigId
public CheckRequest.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 CheckRequest.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 CheckRequest.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.
-
hasAttributes
public boolean hasAttributes()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;- Specified by:
hasAttributesin interfaceCheckRequestOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
public com.google.rpc.context.AttributeContext getAttributes()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;- Specified by:
getAttributesin interfaceCheckRequestOrBuilder- Returns:
- The attributes.
-
setAttributes
public CheckRequest.Builder setAttributes(com.google.rpc.context.AttributeContext value)
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
-
setAttributes
public CheckRequest.Builder setAttributes(com.google.rpc.context.AttributeContext.Builder builderForValue)
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
-
mergeAttributes
public CheckRequest.Builder mergeAttributes(com.google.rpc.context.AttributeContext value)
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
-
clearAttributes
public CheckRequest.Builder clearAttributes()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
-
getAttributesBuilder
public com.google.rpc.context.AttributeContext.Builder getAttributesBuilder()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
-
getAttributesOrBuilder
public com.google.rpc.context.AttributeContextOrBuilder getAttributesOrBuilder()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;- Specified by:
getAttributesOrBuilderin interfaceCheckRequestOrBuilder
-
getResourcesList
public List<ResourceInfo> getResourcesList()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesListin interfaceCheckRequestOrBuilder
-
getResourcesCount
public int getResourcesCount()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesCountin interfaceCheckRequestOrBuilder
-
getResources
public ResourceInfo getResources(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesin interfaceCheckRequestOrBuilder
-
setResources
public CheckRequest.Builder setResources(int index, ResourceInfo value)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
setResources
public CheckRequest.Builder setResources(int index, ResourceInfo.Builder builderForValue)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
addResources
public CheckRequest.Builder addResources(ResourceInfo value)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
addResources
public CheckRequest.Builder addResources(int index, ResourceInfo value)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
addResources
public CheckRequest.Builder addResources(ResourceInfo.Builder builderForValue)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
addResources
public CheckRequest.Builder addResources(int index, ResourceInfo.Builder builderForValue)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
addAllResources
public CheckRequest.Builder addAllResources(Iterable<? extends ResourceInfo> values)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
clearResources
public CheckRequest.Builder clearResources()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
removeResources
public CheckRequest.Builder removeResources(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
getResourcesBuilder
public ResourceInfo.Builder getResourcesBuilder(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
getResourcesOrBuilder
public ResourceInfoOrBuilder getResourcesOrBuilder(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesOrBuilderin interfaceCheckRequestOrBuilder
-
getResourcesOrBuilderList
public List<? extends ResourceInfoOrBuilder> getResourcesOrBuilderList()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesOrBuilderListin interfaceCheckRequestOrBuilder
-
addResourcesBuilder
public ResourceInfo.Builder addResourcesBuilder()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
addResourcesBuilder
public ResourceInfo.Builder addResourcesBuilder(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
getResourcesBuilderList
public List<ResourceInfo.Builder> getResourcesBuilderList()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
-
getFlags
public String getFlags()
Optional. Contains a comma-separated list of flags.
string flags = 5;- Specified by:
getFlagsin interfaceCheckRequestOrBuilder- Returns:
- The flags.
-
getFlagsBytes
public com.google.protobuf.ByteString getFlagsBytes()
Optional. Contains a comma-separated list of flags.
string flags = 5;- Specified by:
getFlagsBytesin interfaceCheckRequestOrBuilder- Returns:
- The bytes for flags.
-
setFlags
public CheckRequest.Builder setFlags(String value)
Optional. Contains a comma-separated list of flags.
string flags = 5;- Parameters:
value- The flags to set.- Returns:
- This builder for chaining.
-
clearFlags
public CheckRequest.Builder clearFlags()
Optional. Contains a comma-separated list of flags.
string flags = 5;- Returns:
- This builder for chaining.
-
setFlagsBytes
public CheckRequest.Builder setFlagsBytes(com.google.protobuf.ByteString value)
Optional. Contains a comma-separated list of flags.
string flags = 5;- Parameters:
value- The bytes for flags to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CheckRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
mergeUnknownFields
public final CheckRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>
-
-