Class CheckResponse.Builder (1.48.0)

public static final class CheckResponse.Builder extends GeneratedMessageV3.Builder<CheckResponse.Builder> implements CheckResponseOrBuilder

Response message for the Check method.

Protobuf type google.api.servicecontrol.v1.CheckResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCheckErrors(Iterable<? extends CheckError> values)

public CheckResponse.Builder addAllCheckErrors(Iterable<? extends CheckError> values)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameter
Name Description
values Iterable<? extends com.google.api.servicecontrol.v1.CheckError>
Returns
Type Description
CheckResponse.Builder

addCheckErrors(CheckError value)

public CheckResponse.Builder addCheckErrors(CheckError value)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameter
Name Description
value CheckError
Returns
Type Description
CheckResponse.Builder

addCheckErrors(CheckError.Builder builderForValue)

public CheckResponse.Builder addCheckErrors(CheckError.Builder builderForValue)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameter
Name Description
builderForValue CheckError.Builder
Returns
Type Description
CheckResponse.Builder

addCheckErrors(int index, CheckError value)

public CheckResponse.Builder addCheckErrors(int index, CheckError value)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameters
Name Description
index int
value CheckError
Returns
Type Description
CheckResponse.Builder

addCheckErrors(int index, CheckError.Builder builderForValue)

public CheckResponse.Builder addCheckErrors(int index, CheckError.Builder builderForValue)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameters
Name Description
index int
builderForValue CheckError.Builder
Returns
Type Description
CheckResponse.Builder

addCheckErrorsBuilder()

public CheckError.Builder addCheckErrorsBuilder()

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Returns
Type Description
CheckError.Builder

addCheckErrorsBuilder(int index)

public CheckError.Builder addCheckErrorsBuilder(int index)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
CheckError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CheckResponse build()
Returns
Type Description
CheckResponse

buildPartial()

public CheckResponse buildPartial()
Returns
Type Description
CheckResponse

clear()

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

clearCheckErrors()

public CheckResponse.Builder clearCheckErrors()

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Returns
Type Description
CheckResponse.Builder

clearCheckInfo()

public CheckResponse.Builder clearCheckInfo()

Feedback data returned from the server during processing a Check request.

.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;

Returns
Type Description
CheckResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperationId()

public CheckResponse.Builder clearOperationId()

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.

string operation_id = 1;

Returns
Type Description
CheckResponse.Builder

This builder for chaining.

clearServiceConfigId()

public CheckResponse.Builder clearServiceConfigId()

The actual config id used to process the request.

string service_config_id = 5;

Returns
Type Description
CheckResponse.Builder

This builder for chaining.

clearServiceRolloutId()

public CheckResponse.Builder clearServiceRolloutId()

The current service rollout id used to process the request.

string service_rollout_id = 11;

Returns
Type Description
CheckResponse.Builder

This builder for chaining.

clone()

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

getCheckErrors(int index)

public CheckError getCheckErrors(int index)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
CheckError

getCheckErrorsBuilder(int index)

public CheckError.Builder getCheckErrorsBuilder(int index)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
CheckError.Builder

getCheckErrorsBuilderList()

public List<CheckError.Builder> getCheckErrorsBuilderList()

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Returns
Type Description
List<Builder>

getCheckErrorsCount()

public int getCheckErrorsCount()

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Returns
Type Description
int

getCheckErrorsList()

public List<CheckError> getCheckErrorsList()

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Returns
Type Description
List<CheckError>

getCheckErrorsOrBuilder(int index)

public CheckErrorOrBuilder getCheckErrorsOrBuilder(int index)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
CheckErrorOrBuilder

getCheckErrorsOrBuilderList()

public List<? extends CheckErrorOrBuilder> getCheckErrorsOrBuilderList()

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Returns
Type Description
List<? extends com.google.api.servicecontrol.v1.CheckErrorOrBuilder>

getCheckInfo()

public CheckResponse.CheckInfo getCheckInfo()

Feedback data returned from the server during processing a Check request.

.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;

Returns
Type Description
CheckResponse.CheckInfo

The checkInfo.

getCheckInfoBuilder()

public CheckResponse.CheckInfo.Builder getCheckInfoBuilder()

Feedback data returned from the server during processing a Check request.

.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;

Returns
Type Description
CheckResponse.CheckInfo.Builder

getCheckInfoOrBuilder()

public CheckResponse.CheckInfoOrBuilder getCheckInfoOrBuilder()

Feedback data returned from the server during processing a Check request.

.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;

Returns
Type Description
CheckResponse.CheckInfoOrBuilder

getDefaultInstanceForType()

public CheckResponse getDefaultInstanceForType()
Returns
Type Description
CheckResponse

getDescriptorForType()

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

getOperationId()

public String getOperationId()

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.

string operation_id = 1;

Returns
Type Description
String

The operationId.

getOperationIdBytes()

public ByteString getOperationIdBytes()

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.

string operation_id = 1;

Returns
Type Description
ByteString

The bytes for operationId.

getServiceConfigId()

public String getServiceConfigId()

The actual config id used to process the request.

string service_config_id = 5;

Returns
Type Description
String

The serviceConfigId.

getServiceConfigIdBytes()

public ByteString getServiceConfigIdBytes()

The actual config id used to process the request.

string service_config_id = 5;

Returns
Type Description
ByteString

The bytes for serviceConfigId.

getServiceRolloutId()

public String getServiceRolloutId()

The current service rollout id used to process the request.

string service_rollout_id = 11;

Returns
Type Description
String

The serviceRolloutId.

getServiceRolloutIdBytes()

public ByteString getServiceRolloutIdBytes()

The current service rollout id used to process the request.

string service_rollout_id = 11;

Returns
Type Description
ByteString

The bytes for serviceRolloutId.

hasCheckInfo()

public boolean hasCheckInfo()

Feedback data returned from the server during processing a Check request.

.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;

Returns
Type Description
boolean

Whether the checkInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCheckInfo(CheckResponse.CheckInfo value)

public CheckResponse.Builder mergeCheckInfo(CheckResponse.CheckInfo value)

Feedback data returned from the server during processing a Check request.

.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;

Parameter
Name Description
value CheckResponse.CheckInfo
Returns
Type Description
CheckResponse.Builder

mergeFrom(CheckResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCheckErrors(int index)

public CheckResponse.Builder removeCheckErrors(int index)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
CheckResponse.Builder

setCheckErrors(int index, CheckError value)

public CheckResponse.Builder setCheckErrors(int index, CheckError value)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameters
Name Description
index int
value CheckError
Returns
Type Description
CheckResponse.Builder

setCheckErrors(int index, CheckError.Builder builderForValue)

public CheckResponse.Builder setCheckErrors(int index, CheckError.Builder builderForValue)

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

repeated .google.api.servicecontrol.v1.CheckError check_errors = 2;

Parameters
Name Description
index int
builderForValue CheckError.Builder
Returns
Type Description
CheckResponse.Builder

setCheckInfo(CheckResponse.CheckInfo value)

public CheckResponse.Builder setCheckInfo(CheckResponse.CheckInfo value)

Feedback data returned from the server during processing a Check request.

.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;

Parameter
Name Description
value CheckResponse.CheckInfo
Returns
Type Description
CheckResponse.Builder

setCheckInfo(CheckResponse.CheckInfo.Builder builderForValue)

public CheckResponse.Builder setCheckInfo(CheckResponse.CheckInfo.Builder builderForValue)

Feedback data returned from the server during processing a Check request.

.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;

Parameter
Name Description
builderForValue CheckResponse.CheckInfo.Builder
Returns
Type Description
CheckResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperationId(String value)

public CheckResponse.Builder setOperationId(String value)

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.

string operation_id = 1;

Parameter
Name Description
value String

The operationId to set.

Returns
Type Description
CheckResponse.Builder

This builder for chaining.

setOperationIdBytes(ByteString value)

public CheckResponse.Builder setOperationIdBytes(ByteString value)

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.

string operation_id = 1;

Parameter
Name Description
value ByteString

The bytes for operationId to set.

Returns
Type Description
CheckResponse.Builder

This builder for chaining.

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

public CheckResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CheckResponse.Builder
Overrides

setServiceConfigId(String value)

public CheckResponse.Builder setServiceConfigId(String value)

The actual config id used to process the request.

string service_config_id = 5;

Parameter
Name Description
value String

The serviceConfigId to set.

Returns
Type Description
CheckResponse.Builder

This builder for chaining.

setServiceConfigIdBytes(ByteString value)

public CheckResponse.Builder setServiceConfigIdBytes(ByteString value)

The actual config id used to process the request.

string service_config_id = 5;

Parameter
Name Description
value ByteString

The bytes for serviceConfigId to set.

Returns
Type Description
CheckResponse.Builder

This builder for chaining.

setServiceRolloutId(String value)

public CheckResponse.Builder setServiceRolloutId(String value)

The current service rollout id used to process the request.

string service_rollout_id = 11;

Parameter
Name Description
value String

The serviceRolloutId to set.

Returns
Type Description
CheckResponse.Builder

This builder for chaining.

setServiceRolloutIdBytes(ByteString value)

public CheckResponse.Builder setServiceRolloutIdBytes(ByteString value)

The current service rollout id used to process the request.

string service_rollout_id = 11;

Parameter
Name Description
value ByteString

The bytes for serviceRolloutId to set.

Returns
Type Description
CheckResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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