Class CheckResponse (1.55.0)

public final class CheckResponse extends GeneratedMessageV3 implements CheckResponseOrBuilder

Response message for the Check method.

Protobuf type google.api.servicecontrol.v1.CheckResponse

Static Fields

CHECK_ERRORS_FIELD_NUMBER

public static final int CHECK_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

CHECK_INFO_FIELD_NUMBER

public static final int CHECK_INFO_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_CONFIG_ID_FIELD_NUMBER

public static final int SERVICE_CONFIG_ID_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ROLLOUT_ID_FIELD_NUMBER

public static final int SERVICE_ROLLOUT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CheckResponse getDefaultInstance()
Returns
Type Description
CheckResponse

getDescriptor()

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

newBuilder()

public static CheckResponse.Builder newBuilder()
Returns
Type Description
CheckResponse.Builder

newBuilder(CheckResponse prototype)

public static CheckResponse.Builder newBuilder(CheckResponse prototype)
Parameter
Name Description
prototype CheckResponse
Returns
Type Description
CheckResponse.Builder

parseDelimitedFrom(InputStream input)

public static CheckResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CheckResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CheckResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CheckResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CheckResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CheckResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CheckResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CheckResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CheckResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CheckResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CheckResponse> parser()
Returns
Type Description
Parser<CheckResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

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

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.

getParserForType()

public Parser<CheckResponse> getParserForType()
Returns
Type Description
Parser<CheckResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CheckResponse.Builder newBuilderForType()
Returns
Type Description
CheckResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CheckResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CheckResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CheckResponse.Builder toBuilder()
Returns
Type Description
CheckResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException