Class 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.GeneratedMessageV3.Builder<CheckResponse.Builder>
    implements CheckResponseOrBuilder
     Response message for the Check method.
     
    Protobuf type google.api.servicecontrol.v1.CheckResponse
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • clear

        public CheckResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • getDefaultInstanceForType

        public CheckResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CheckResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CheckResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public CheckResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • setField

        public CheckResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • clearField

        public CheckResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • clearOneof

        public CheckResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • setRepeatedField

        public CheckResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      int index,
                                                      Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • addRepeatedField

        public CheckResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • mergeFrom

        public CheckResponse.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • mergeFrom

        public CheckResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckResponse.Builder>
        Throws:
        IOException
      • getOperationId

        public String 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:
        getOperationId in interface CheckResponseOrBuilder
        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:
        getOperationIdBytes in interface CheckResponseOrBuilder
        Returns:
        The bytes for operationId.
      • setOperationId

        public CheckResponse.Builder setOperationId​(String value)
         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

        public CheckResponse.Builder 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

        public CheckResponse.Builder setOperationIdBytes​(com.google.protobuf.ByteString value)
         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

        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;
        Specified by:
        getCheckErrorsList in interface CheckResponseOrBuilder
      • 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:
        getCheckErrorsCount in interface CheckResponseOrBuilder
      • getCheckErrors

        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;
        Specified by:
        getCheckErrors in interface CheckResponseOrBuilder
      • setCheckErrors

        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;
      • setCheckErrors

        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;
      • addCheckErrors

        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;
      • addCheckErrors

        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;
      • addCheckErrors

        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;
      • addCheckErrors

        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;
      • addAllCheckErrors

        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;
      • 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;
      • removeCheckErrors

        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;
      • getCheckErrorsBuilder

        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;
      • getCheckErrorsOrBuilder

        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;
        Specified by:
        getCheckErrorsOrBuilder in interface CheckResponseOrBuilder
      • 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;
        Specified by:
        getCheckErrorsOrBuilderList in interface CheckResponseOrBuilder
      • 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;
      • addCheckErrorsBuilder

        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;
      • 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;
      • getServiceConfigId

        public String getServiceConfigId()
         The actual config id used to process the request.
         
        string service_config_id = 5;
        Specified by:
        getServiceConfigId in interface CheckResponseOrBuilder
        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:
        getServiceConfigIdBytes in interface CheckResponseOrBuilder
        Returns:
        The bytes for serviceConfigId.
      • setServiceConfigId

        public CheckResponse.Builder setServiceConfigId​(String value)
         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

        public CheckResponse.Builder clearServiceConfigId()
         The actual config id used to process the request.
         
        string service_config_id = 5;
        Returns:
        This builder for chaining.
      • setServiceConfigIdBytes

        public CheckResponse.Builder setServiceConfigIdBytes​(com.google.protobuf.ByteString value)
         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

        public String getServiceRolloutId()
         The current service rollout id used to process the request.
         
        string service_rollout_id = 11;
        Specified by:
        getServiceRolloutId in interface CheckResponseOrBuilder
        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:
        getServiceRolloutIdBytes in interface CheckResponseOrBuilder
        Returns:
        The bytes for serviceRolloutId.
      • setServiceRolloutId

        public CheckResponse.Builder setServiceRolloutId​(String value)
         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

        public CheckResponse.Builder clearServiceRolloutId()
         The current service rollout id used to process the request.
         
        string service_rollout_id = 11;
        Returns:
        This builder for chaining.
      • setServiceRolloutIdBytes

        public CheckResponse.Builder setServiceRolloutIdBytes​(com.google.protobuf.ByteString value)
         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:
        hasCheckInfo in interface CheckResponseOrBuilder
        Returns:
        Whether the checkInfo field is set.
      • 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;
        Specified by:
        getCheckInfo in interface CheckResponseOrBuilder
        Returns:
        The checkInfo.
      • setCheckInfo

        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;
      • mergeCheckInfo

        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;
      • 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;
      • 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;
      • setUnknownFields

        public final CheckResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>
      • mergeUnknownFields

        public final CheckResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.Builder>