Class CheckResponse.Builder (1.16.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.servicecontrol.v1.CheckError>
Returns
TypeDescription
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
NameDescription
valueCheckError
Returns
TypeDescription
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
NameDescription
builderForValueCheckError.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCheckError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCheckError.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CheckError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CheckResponse build()
Returns
TypeDescription
CheckResponse

buildPartial()

public CheckResponse buildPartial()
Returns
TypeDescription
CheckResponse

clear()

public CheckResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CheckResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CheckResponse.Builder

This builder for chaining.

clone()

public CheckResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CheckResponse.CheckInfoOrBuilder

getDefaultInstanceForType()

public CheckResponse getDefaultInstanceForType()
Returns
TypeDescription
CheckResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for operationId.

getServiceConfigId()

public String getServiceConfigId()

The actual config id used to process the request.

string service_config_id = 5;

Returns
TypeDescription
String

The serviceConfigId.

getServiceConfigIdBytes()

public ByteString getServiceConfigIdBytes()

The actual config id used to process the request.

string service_config_id = 5;

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

The serviceRolloutId.

getServiceRolloutIdBytes()

public ByteString getServiceRolloutIdBytes()

The current service rollout id used to process the request.

string service_rollout_id = 11;

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

Whether the checkInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCheckResponse.CheckInfo
Returns
TypeDescription
CheckResponse.Builder

mergeFrom(CheckResponse other)

public CheckResponse.Builder mergeFrom(CheckResponse other)
Parameter
NameDescription
otherCheckResponse
Returns
TypeDescription
CheckResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CheckResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CheckResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueCheckError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCheckError.Builder
Returns
TypeDescription
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
NameDescription
valueCheckResponse.CheckInfo
Returns
TypeDescription
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
NameDescription
builderForValueCheckResponse.CheckInfo.Builder
Returns
TypeDescription
CheckResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The operationId to set.

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

The bytes for operationId to set.

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

The serviceConfigId to set.

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

The bytes for serviceConfigId to set.

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

The serviceRolloutId to set.

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

The bytes for serviceRolloutId to set.

Returns
TypeDescription
CheckResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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