Package com.google.api.servicecontrol.v1
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.v1.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.v1.CheckRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The operation to be checked.Specifies which version of service configuration 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.DescriptorThe operation to be checked.The operation to be checked.The operation to be checked.Specifies which version of service configuration should be used to process the request.com.google.protobuf.ByteStringSpecifies which version of service configuration 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.booleanThe operation to be checked.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CheckRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOperation(Operation value) The operation to be checked.setOperation(Operation value) The operation to be checked.setOperation(Operation.Builder builderForValue) The operation to be checked.setServiceConfigId(String value) Specifies which version of service configuration should be used to process the request.setServiceConfigIdBytes(com.google.protobuf.ByteString value) Specifies which version of service configuration 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.
-
hasOperation
public boolean hasOperation()The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;- Specified by:
hasOperationin interfaceCheckRequestOrBuilder- Returns:
- Whether the operation field is set.
-
getOperation
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;- Specified by:
getOperationin interfaceCheckRequestOrBuilder- Returns:
- The operation.
-
setOperation
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2; -
setOperation
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2; -
mergeOperation
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2; -
clearOperation
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2; -
getOperationBuilder
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2; -
getOperationOrBuilder
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;- Specified by:
getOperationOrBuilderin interfaceCheckRequestOrBuilder
-
getServiceConfigId
Specifies which version of service configuration 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 = 4;- Specified by:
getServiceConfigIdin interfaceCheckRequestOrBuilder- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
public com.google.protobuf.ByteString getServiceConfigIdBytes()Specifies which version of service configuration 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 = 4;- Specified by:
getServiceConfigIdBytesin interfaceCheckRequestOrBuilder- Returns:
- The bytes for serviceConfigId.
-
setServiceConfigId
Specifies which version of service configuration 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 = 4;- Parameters:
value- The serviceConfigId to set.- Returns:
- This builder for chaining.
-
clearServiceConfigId
Specifies which version of service configuration 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 = 4;- Returns:
- This builder for chaining.
-
setServiceConfigIdBytes
Specifies which version of service configuration 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 = 4;- Parameters:
value- The bytes for serviceConfigId to set.- Returns:
- This builder for chaining.
-