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
CHECK_INFO_FIELD_NUMBER
public static final int CHECK_INFO_FIELD_NUMBER
Field Value
OPERATION_ID_FIELD_NUMBER
public static final int OPERATION_ID_FIELD_NUMBER
Field Value
SERVICE_CONFIG_ID_FIELD_NUMBER
public static final int SERVICE_CONFIG_ID_FIELD_NUMBER
Field Value
SERVICE_ROLLOUT_ID_FIELD_NUMBER
public static final int SERVICE_ROLLOUT_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CheckResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CheckResponse.Builder newBuilder()
Returns
newBuilder(CheckResponse prototype)
public static CheckResponse.Builder newBuilder(CheckResponse prototype)
Parameter
Returns
public static CheckResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CheckResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CheckResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CheckResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CheckResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CheckResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CheckResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CheckResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CheckResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
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
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
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
Returns
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
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
getDefaultInstanceForType()
public CheckResponse getDefaultInstanceForType()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CheckResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CheckResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CheckResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions