Package com.google.api.servicecontrol.v1
Class CheckResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
com.google.api.servicecontrol.v1.CheckResponse.Builder
- All Implemented Interfaces:
CheckResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CheckResponse
public static final class CheckResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
implements CheckResponseOrBuilder
Response message for the Check method.Protobuf type
google.api.servicecontrol.v1.CheckResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllCheckErrors(Iterable<? extends CheckError> values) Indicate the decision of the check.addCheckErrors(int index, CheckError value) Indicate the decision of the check.addCheckErrors(int index, CheckError.Builder builderForValue) Indicate the decision of the check.addCheckErrors(CheckError value) Indicate the decision of the check.addCheckErrors(CheckError.Builder builderForValue) Indicate the decision of the check.Indicate the decision of the check.addCheckErrorsBuilder(int index) Indicate the decision of the check.build()clear()Indicate the decision of the check.Feedback data returned from the server during processing a Check request.The same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest].The actual config id used to process the request.The current service rollout id used to process the request.getCheckErrors(int index) Indicate the decision of the check.getCheckErrorsBuilder(int index) Indicate the decision of the check.Indicate the decision of the check.intIndicate the decision of the check.Indicate the decision of the check.getCheckErrorsOrBuilder(int index) Indicate the decision of the check.List<? extends CheckErrorOrBuilder>Indicate the decision of the check.Feedback data returned from the server during processing a Check request.Feedback data returned from the server during processing a Check request.Feedback data returned from the server during processing a Check request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest].com.google.protobuf.ByteStringThe same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest].The actual config id used to process the request.com.google.protobuf.ByteStringThe actual config id used to process the request.The current service rollout id used to process the request.com.google.protobuf.ByteStringThe current service rollout id used to process the request.booleanFeedback data returned from the server during processing a Check request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanFeedback data returned from the server during processing a Check request.mergeFrom(CheckResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeCheckErrors(int index) Indicate the decision of the check.setCheckErrors(int index, CheckError value) Indicate the decision of the check.setCheckErrors(int index, CheckError.Builder builderForValue) Indicate the decision of the check.Feedback data returned from the server during processing a Check request.setCheckInfo(CheckResponse.CheckInfo.Builder builderForValue) Feedback data returned from the server during processing a Check request.setOperationId(String value) The same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest].setOperationIdBytes(com.google.protobuf.ByteString value) The same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest].setServiceConfigId(String value) The actual config id used to process the request.setServiceConfigIdBytes(com.google.protobuf.ByteString value) The actual config id used to process the request.setServiceRolloutId(String value) The current service rollout id used to process the request.setServiceRolloutIdBytes(com.google.protobuf.ByteString value) The current service rollout id used to process the request.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CheckResponse.Builder>
-
mergeFrom
public CheckResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckResponse.Builder>- Throws:
IOException
-
getOperationId
The same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging and diagnostics purposes.
string operation_id = 1;- Specified by:
getOperationIdin interfaceCheckResponseOrBuilder- Returns:
- The operationId.
-
getOperationIdBytes
public com.google.protobuf.ByteString getOperationIdBytes()The same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging and diagnostics purposes.
string operation_id = 1;- Specified by:
getOperationIdBytesin interfaceCheckResponseOrBuilder- Returns:
- The bytes for operationId.
-
setOperationId
The same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging and diagnostics purposes.
string operation_id = 1;- Parameters:
value- The operationId to set.- Returns:
- This builder for chaining.
-
clearOperationId
The same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging and diagnostics purposes.
string operation_id = 1;- Returns:
- This builder for chaining.
-
setOperationIdBytes
The same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging and diagnostics purposes.
string operation_id = 1;- Parameters:
value- The bytes for operationId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getCheckErrorsListin interfaceCheckResponseOrBuilder
-
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;- Specified by:
getCheckErrorsCountin interfaceCheckResponseOrBuilder
-
getCheckErrors
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;- Specified by:
getCheckErrorsin interfaceCheckResponseOrBuilder
-
setCheckErrors
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; -
setCheckErrors
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; -
addCheckErrors
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; -
addCheckErrors
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; -
addCheckErrors
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; -
addCheckErrors
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; -
addAllCheckErrors
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; -
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; -
removeCheckErrors
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; -
getCheckErrorsBuilder
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; -
getCheckErrorsOrBuilder
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;- Specified by:
getCheckErrorsOrBuilderin interfaceCheckResponseOrBuilder
-
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;- Specified by:
getCheckErrorsOrBuilderListin interfaceCheckResponseOrBuilder
-
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; -
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; -
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; -
getServiceConfigId
The actual config id used to process the request.
string service_config_id = 5;- Specified by:
getServiceConfigIdin interfaceCheckResponseOrBuilder- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
public com.google.protobuf.ByteString getServiceConfigIdBytes()The actual config id used to process the request.
string service_config_id = 5;- Specified by:
getServiceConfigIdBytesin interfaceCheckResponseOrBuilder- Returns:
- The bytes for serviceConfigId.
-
setServiceConfigId
The actual config id used to process the request.
string service_config_id = 5;- Parameters:
value- The serviceConfigId to set.- Returns:
- This builder for chaining.
-
clearServiceConfigId
The actual config id used to process the request.
string service_config_id = 5;- Returns:
- This builder for chaining.
-
setServiceConfigIdBytes
The actual config id used to process the request.
string service_config_id = 5;- Parameters:
value- The bytes for serviceConfigId to set.- Returns:
- This builder for chaining.
-
getServiceRolloutId
The current service rollout id used to process the request.
string service_rollout_id = 11;- Specified by:
getServiceRolloutIdin interfaceCheckResponseOrBuilder- Returns:
- The serviceRolloutId.
-
getServiceRolloutIdBytes
public com.google.protobuf.ByteString getServiceRolloutIdBytes()The current service rollout id used to process the request.
string service_rollout_id = 11;- Specified by:
getServiceRolloutIdBytesin interfaceCheckResponseOrBuilder- Returns:
- The bytes for serviceRolloutId.
-
setServiceRolloutId
The current service rollout id used to process the request.
string service_rollout_id = 11;- Parameters:
value- The serviceRolloutId to set.- Returns:
- This builder for chaining.
-
clearServiceRolloutId
The current service rollout id used to process the request.
string service_rollout_id = 11;- Returns:
- This builder for chaining.
-
setServiceRolloutIdBytes
The current service rollout id used to process the request.
string service_rollout_id = 11;- Parameters:
value- The bytes for serviceRolloutId to set.- Returns:
- This builder for chaining.
-
hasCheckInfo
public boolean hasCheckInfo()Feedback data returned from the server during processing a Check request.
.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;- Specified by:
hasCheckInfoin interfaceCheckResponseOrBuilder- Returns:
- Whether the checkInfo field is set.
-
getCheckInfo
Feedback data returned from the server during processing a Check request.
.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;- Specified by:
getCheckInfoin interfaceCheckResponseOrBuilder- Returns:
- The checkInfo.
-
setCheckInfo
Feedback data returned from the server during processing a Check request.
.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; -
setCheckInfo
Feedback data returned from the server during processing a Check request.
.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; -
mergeCheckInfo
Feedback data returned from the server during processing a Check request.
.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; -
clearCheckInfo
Feedback data returned from the server during processing a Check request.
.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; -
getCheckInfoBuilder
Feedback data returned from the server during processing a Check request.
.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6; -
getCheckInfoOrBuilder
Feedback data returned from the server during processing a Check request.
.google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;- Specified by:
getCheckInfoOrBuilderin interfaceCheckResponseOrBuilder
-