Class CheckRequest.Builder (1.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckRequest.Builder
Overrides

build()

public CheckRequest build()
Returns
TypeDescription
CheckRequest

buildPartial()

public CheckRequest buildPartial()
Returns
TypeDescription
CheckRequest

clear()

public CheckRequest.Builder clear()
Returns
TypeDescription
CheckRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CheckRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CheckRequest.Builder
Overrides

clearOperation()

public CheckRequest.Builder clearOperation()

The operation to be checked.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CheckRequest.Builder

This builder for chaining.

clone()

public CheckRequest.Builder clone()
Returns
TypeDescription
CheckRequest.Builder
Overrides

getDefaultInstanceForType()

public CheckRequest getDefaultInstanceForType()
Returns
TypeDescription
CheckRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperation()

public Operation getOperation()

The operation to be checked.

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

Returns
TypeDescription
Operation

The operation.

getOperationBuilder()

public Operation.Builder getOperationBuilder()

The operation to be checked.

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

Returns
TypeDescription
Operation.Builder

getOperationOrBuilder()

public OperationOrBuilder getOperationOrBuilder()

The operation to be checked.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for serviceName.

hasOperation()

public boolean hasOperation()

The operation to be checked.

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

Returns
TypeDescription
boolean

Whether the operation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CheckRequest other)

public CheckRequest.Builder mergeFrom(CheckRequest other)
Parameter
NameDescription
otherCheckRequest
Returns
TypeDescription
CheckRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CheckRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueOperation
Returns
TypeDescription
CheckRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueOperation
Returns
TypeDescription
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
NameDescription
builderForValueOperation.Builder
Returns
TypeDescription
CheckRequest.Builder

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

public CheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceConfigId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceConfigId to set.

Returns
TypeDescription
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
NameDescription
valueString

The serviceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceName to set.

Returns
TypeDescription
CheckRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckRequest.Builder
Overrides