public static final class CheckRequest.Builder extends GeneratedMessageV3.Builder<CheckRequest.Builder> implements CheckRequestOrBuilder
Request message for the Check method.
Protobuf type google.api.servicecontrol.v1.CheckRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CheckRequest build()
Returns
buildPartial()
public CheckRequest buildPartial()
Returns
clear()
public CheckRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOperation()
public CheckRequest.Builder clearOperation()
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
Returns
clearServiceConfigId()
public CheckRequest.Builder 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
clearServiceName()
public CheckRequest.Builder clearServiceName()
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See
google.api.Service
for the definition of a service name.
string service_name = 1;
Returns
clone()
public CheckRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CheckRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOperation()
public Operation getOperation()
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
Returns
getOperationBuilder()
public Operation.Builder getOperationBuilder()
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
Returns
getOperationOrBuilder()
public OperationOrBuilder getOperationOrBuilder()
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
Returns
getServiceConfigId()
public String 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;
Returns
Type | Description |
String | The serviceConfigId.
|
getServiceConfigIdBytes()
public 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;
Returns
Type | Description |
ByteString | The bytes for serviceConfigId.
|
getServiceName()
public String getServiceName()
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See
google.api.Service
for the definition of a service name.
string service_name = 1;
Returns
Type | Description |
String | The serviceName.
|
getServiceNameBytes()
public ByteString getServiceNameBytes()
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See
google.api.Service
for the definition of a service name.
string service_name = 1;
Returns
Type | Description |
ByteString | The bytes for serviceName.
|
hasOperation()
public boolean hasOperation()
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
Returns
Type | Description |
boolean | Whether the operation field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CheckRequest other)
public CheckRequest.Builder mergeFrom(CheckRequest other)
Parameter
Returns
public CheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CheckRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeOperation(Operation value)
public CheckRequest.Builder mergeOperation(Operation value)
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setOperation(Operation value)
public CheckRequest.Builder setOperation(Operation value)
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
Parameter
Returns
setOperation(Operation.Builder builderForValue)
public CheckRequest.Builder setOperation(Operation.Builder builderForValue)
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceConfigId(String value)
public CheckRequest.Builder setServiceConfigId(String value)
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;
Parameter
Name | Description |
value | String
The serviceConfigId to set.
|
Returns
setServiceConfigIdBytes(ByteString value)
public CheckRequest.Builder setServiceConfigIdBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for serviceConfigId to set.
|
Returns
setServiceName(String value)
public CheckRequest.Builder setServiceName(String value)
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See
google.api.Service
for the definition of a service name.
string service_name = 1;
Parameter
Name | Description |
value | String
The serviceName to set.
|
Returns
setServiceNameBytes(ByteString value)
public CheckRequest.Builder setServiceNameBytes(ByteString value)
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See
google.api.Service
for the definition of a service name.
string service_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for serviceName to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides