Class CheckResponse (1.41.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
TypeDescription
int

CHECK_INFO_FIELD_NUMBER

public static final int CHECK_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_CONFIG_ID_FIELD_NUMBER

public static final int SERVICE_CONFIG_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ROLLOUT_ID_FIELD_NUMBER

public static final int SERVICE_ROLLOUT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CheckResponse getDefaultInstance()
Returns
TypeDescription
CheckResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CheckResponse.Builder newBuilder()
Returns
TypeDescription
CheckResponse.Builder

newBuilder(CheckResponse prototype)

public static CheckResponse.Builder newBuilder(CheckResponse prototype)
Parameter
NameDescription
prototypeCheckResponse
Returns
TypeDescription
CheckResponse.Builder

parseDelimitedFrom(InputStream input)

public static CheckResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CheckResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CheckResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CheckResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CheckResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CheckResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CheckResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CheckResponse> parser()
Returns
TypeDescription
Parser<CheckResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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.

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

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.

getParserForType()

public Parser<CheckResponse> getParserForType()
Returns
TypeDescription
Parser<CheckResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CheckResponse.Builder newBuilderForType()
Returns
TypeDescription
CheckResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CheckResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CheckResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CheckResponse.Builder toBuilder()
Returns
TypeDescription
CheckResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException