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.GeneratedMessage.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.GeneratedMessage.Builder<CheckRequest.Builder>
implements CheckRequestOrBuilder
Request message for the Check method.Protobuf type
google.api.servicecontrol.v2.CheckRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllResources(Iterable<? extends ResourceInfo> values) Describes the resources and the policies applied to each resource.addResources(int index, ResourceInfo value) Describes the resources and the policies applied to each resource.addResources(int index, ResourceInfo.Builder builderForValue) Describes the resources and the policies applied to each resource.addResources(ResourceInfo value) Describes the resources and the policies applied to each resource.addResources(ResourceInfo.Builder builderForValue) Describes the resources and the policies applied to each resource.Describes the resources and the policies applied to each resource.addResourcesBuilder(int index) Describes the resources and the policies applied to each resource.build()clear()Describes attributes about the operation being executed by the service.Optional.Describes the resources and the policies applied to each resource.Specifies the version of the service configuration that should be used to process the request.The service name as specified in its service configuration.Describes attributes about the operation being executed by the service.Describes attributes about the operation being executed by the service.Describes attributes about the operation being executed by the service.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFlags()Optional.com.google.protobuf.ByteStringOptional.getResources(int index) Describes the resources and the policies applied to each resource.getResourcesBuilder(int index) Describes the resources and the policies applied to each resource.Describes the resources and the policies applied to each resource.intDescribes the resources and the policies applied to each resource.Describes the resources and the policies applied to each resource.getResourcesOrBuilder(int index) Describes the resources and the policies applied to each resource.List<? extends ResourceInfoOrBuilder>Describes the resources and the policies applied to each resource.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.booleanDescribes attributes about the operation being executed by the service.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAttributes(AttributeContext value) Describes attributes about the operation being executed by the service.mergeFrom(CheckRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeResources(int index) Describes the resources and the policies applied to each resource.setAttributes(AttributeContext value) Describes attributes about the operation being executed by the service.setAttributes(AttributeContext.Builder builderForValue) Describes attributes about the operation being executed by the service.Optional.setFlagsBytes(com.google.protobuf.ByteString value) Optional.setResources(int index, ResourceInfo value) Describes the resources and the policies applied to each resource.setResources(int index, ResourceInfo.Builder builderForValue) Describes the resources and the policies applied to each resource.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<CheckRequest.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<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.GeneratedMessage.Builder<CheckRequest.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<CheckRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
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 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
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.
-
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
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;- Specified by:
getAttributesin interfaceCheckRequestOrBuilder- Returns:
- The attributes.
-
setAttributes
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3; -
setAttributes
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3; -
mergeAttributes
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3; -
clearAttributes
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3; -
getAttributesBuilder
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3; -
getAttributesOrBuilder
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;- Specified by:
getAttributesOrBuilderin interfaceCheckRequestOrBuilder
-
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
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesin interfaceCheckRequestOrBuilder
-
setResources
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
setResources
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
addResources
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
addResources
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
addResources
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
addResources
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
addAllResources
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
clearResources
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
removeResources
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
getResourcesBuilder
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
getResourcesOrBuilder
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesOrBuilderin interfaceCheckRequestOrBuilder
-
getResourcesOrBuilderList
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesOrBuilderListin interfaceCheckRequestOrBuilder
-
addResourcesBuilder
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
addResourcesBuilder
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
getResourcesBuilderList
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4; -
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
Optional. Contains a comma-separated list of flags.
string flags = 5;- Parameters:
value- The flags to set.- Returns:
- This builder for chaining.
-
clearFlags
Optional. Contains a comma-separated list of flags.
string flags = 5;- Returns:
- This builder for chaining.
-
setFlagsBytes
Optional. Contains a comma-separated list of flags.
string flags = 5;- Parameters:
value- The bytes for flags to set.- Returns:
- This builder for chaining.
-