Class CheckRequest.Builder (1.13.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.13.0keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public CheckRequest build ()
buildPartial()
public CheckRequest buildPartial ()
clear()
public CheckRequest . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CheckRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearOperation()
public CheckRequest . Builder clearOperation ()
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
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;
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;
clone()
public CheckRequest . Builder clone ()
Overrides
getDefaultInstanceForType()
public CheckRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
getOperationOrBuilder()
public OperationOrBuilder getOperationOrBuilder ()
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(CheckRequest other)
public CheckRequest . Builder mergeFrom ( CheckRequest other )
public CheckRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CheckRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeOperation(Operation value)
public CheckRequest . Builder mergeOperation ( Operation value )
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CheckRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setOperation(Operation value)
public CheckRequest . Builder setOperation ( Operation value )
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
setOperation(Operation.Builder builderForValue)
public CheckRequest . Builder setOperation ( Operation . Builder builderForValue )
The operation to be checked.
.google.api.servicecontrol.v1.Operation operation = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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.
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.
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.
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[]]