Class CheckRequest.Builder (1.52.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckRequest.Builder
Overrides

build()

public CheckRequest build()
Returns
Type Description
CheckRequest

buildPartial()

public CheckRequest buildPartial()
Returns
Type Description
CheckRequest

clear()

public CheckRequest.Builder clear()
Returns
Type Description
CheckRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CheckRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CheckRequest.Builder
Overrides

clearOperation()

public CheckRequest.Builder clearOperation()

The operation to be checked.

.google.api.servicecontrol.v1.Operation operation = 2;

Returns
Type Description
CheckRequest.Builder

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
Type Description
CheckRequest.Builder

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 for the definition of a service name.

string service_name = 1;

Returns
Type Description
CheckRequest.Builder

This builder for chaining.

clone()

public CheckRequest.Builder clone()
Returns
Type Description
CheckRequest.Builder
Overrides

getDefaultInstanceForType()

public CheckRequest getDefaultInstanceForType()
Returns
Type Description
CheckRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOperation()

public Operation getOperation()

The operation to be checked.

.google.api.servicecontrol.v1.Operation operation = 2;

Returns
Type Description
Operation

The operation.

getOperationBuilder()

public Operation.Builder getOperationBuilder()

The operation to be checked.

.google.api.servicecontrol.v1.Operation operation = 2;

Returns
Type Description
Operation.Builder

getOperationOrBuilder()

public OperationOrBuilder getOperationOrBuilder()

The operation to be checked.

.google.api.servicecontrol.v1.Operation operation = 2;

Returns
Type Description
OperationOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CheckRequest other)

public CheckRequest.Builder mergeFrom(CheckRequest other)
Parameter
Name Description
other CheckRequest
Returns
Type Description
CheckRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CheckRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CheckRequest.Builder
Overrides

mergeOperation(Operation value)

public CheckRequest.Builder mergeOperation(Operation value)

The operation to be checked.

.google.api.servicecontrol.v1.Operation operation = 2;

Parameter
Name Description
value Operation
Returns
Type Description
CheckRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckRequest.Builder
Overrides

setOperation(Operation value)

public CheckRequest.Builder setOperation(Operation value)

The operation to be checked.

.google.api.servicecontrol.v1.Operation operation = 2;

Parameter
Name Description
value Operation
Returns
Type Description
CheckRequest.Builder

setOperation(Operation.Builder builderForValue)

public CheckRequest.Builder setOperation(Operation.Builder builderForValue)

The operation to be checked.

.google.api.servicecontrol.v1.Operation operation = 2;

Parameter
Name Description
builderForValue Operation.Builder
Returns
Type Description
CheckRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CheckRequest.Builder
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
Type Description
CheckRequest.Builder

This builder for chaining.

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
Type Description
CheckRequest.Builder

This builder for chaining.

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
Type Description
CheckRequest.Builder

This builder for chaining.

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
Type Description
CheckRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckRequest.Builder
Overrides