Class ReportResponse.Builder

  • All Implemented Interfaces:
    ReportResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ReportResponse

    public static final class ReportResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ReportResponse.Builder>
    implements ReportResponseOrBuilder
     Response message for the Report method.
     
    Protobuf type google.api.servicecontrol.v1.ReportResponse
    • 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<ReportResponse.Builder>
      • clear

        public ReportResponse.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<ReportResponse.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<ReportResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ReportResponse.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<ReportResponse.Builder>
      • setField

        public ReportResponse.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<ReportResponse.Builder>
      • clearField

        public ReportResponse.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<ReportResponse.Builder>
      • clearOneof

        public ReportResponse.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<ReportResponse.Builder>
      • setRepeatedField

        public ReportResponse.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<ReportResponse.Builder>
      • addRepeatedField

        public ReportResponse.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<ReportResponse.Builder>
      • mergeFrom

        public ReportResponse.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<ReportResponse.Builder>
      • isInitialized

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

        public ReportResponse.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<ReportResponse.Builder>
        Throws:
        IOException
      • getReportErrorsList

        public List<ReportResponse.ReportError> getReportErrorsList()
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrorsList in interface ReportResponseOrBuilder
      • getReportErrorsCount

        public int getReportErrorsCount()
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrorsCount in interface ReportResponseOrBuilder
      • getReportErrors

        public ReportResponse.ReportError getReportErrors​(int index)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrors in interface ReportResponseOrBuilder
      • setReportErrors

        public ReportResponse.Builder setReportErrors​(int index,
                                                      ReportResponse.ReportError value)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • setReportErrors

        public ReportResponse.Builder setReportErrors​(int index,
                                                      ReportResponse.ReportError.Builder builderForValue)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • addReportErrors

        public ReportResponse.Builder addReportErrors​(ReportResponse.ReportError value)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • addReportErrors

        public ReportResponse.Builder addReportErrors​(int index,
                                                      ReportResponse.ReportError value)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • addReportErrors

        public ReportResponse.Builder addReportErrors​(ReportResponse.ReportError.Builder builderForValue)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • addReportErrors

        public ReportResponse.Builder addReportErrors​(int index,
                                                      ReportResponse.ReportError.Builder builderForValue)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • addAllReportErrors

        public ReportResponse.Builder addAllReportErrors​(Iterable<? extends ReportResponse.ReportError> values)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • clearReportErrors

        public ReportResponse.Builder clearReportErrors()
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • removeReportErrors

        public ReportResponse.Builder removeReportErrors​(int index)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • getReportErrorsBuilder

        public ReportResponse.ReportError.Builder getReportErrorsBuilder​(int index)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • getReportErrorsOrBuilder

        public ReportResponse.ReportErrorOrBuilder getReportErrorsOrBuilder​(int index)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrorsOrBuilder in interface ReportResponseOrBuilder
      • getReportErrorsOrBuilderList

        public List<? extends ReportResponse.ReportErrorOrBuilder> getReportErrorsOrBuilderList()
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
        Specified by:
        getReportErrorsOrBuilderList in interface ReportResponseOrBuilder
      • addReportErrorsBuilder

        public ReportResponse.ReportError.Builder addReportErrorsBuilder()
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • addReportErrorsBuilder

        public ReportResponse.ReportError.Builder addReportErrorsBuilder​(int index)
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • getReportErrorsBuilderList

        public List<ReportResponse.ReportError.Builder> getReportErrorsBuilderList()
         Partial failures, one for each `Operation` in the request that failed
         processing. There are three possible combinations of the RPC status:
        
         1. The combination of a successful RPC status and an empty `report_errors`
            list indicates a complete success where all `Operations` in the
            request are processed successfully.
         2. The combination of a successful RPC status and a non-empty
            `report_errors` list indicates a partial success where some
            `Operations` in the request succeeded. Each
            `Operation` that failed processing has a corresponding item
            in this list.
         3. A failed RPC status indicates a general non-deterministic failure.
            When this happens, it's impossible to know which of the
            'Operations' in the request succeeded or failed.
         
        repeated .google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
      • getServiceConfigId

        public String getServiceConfigId()
         The actual config id used to process the request.
         
        string service_config_id = 2;
        Specified by:
        getServiceConfigId in interface ReportResponseOrBuilder
        Returns:
        The serviceConfigId.
      • getServiceConfigIdBytes

        public com.google.protobuf.ByteString getServiceConfigIdBytes()
         The actual config id used to process the request.
         
        string service_config_id = 2;
        Specified by:
        getServiceConfigIdBytes in interface ReportResponseOrBuilder
        Returns:
        The bytes for serviceConfigId.
      • setServiceConfigId

        public ReportResponse.Builder setServiceConfigId​(String value)
         The actual config id used to process the request.
         
        string service_config_id = 2;
        Parameters:
        value - The serviceConfigId to set.
        Returns:
        This builder for chaining.
      • clearServiceConfigId

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

        public ReportResponse.Builder setServiceConfigIdBytes​(com.google.protobuf.ByteString value)
         The actual config id used to process the request.
         
        string service_config_id = 2;
        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 = 4;
        Specified by:
        getServiceRolloutId in interface ReportResponseOrBuilder
        Returns:
        The serviceRolloutId.
      • getServiceRolloutIdBytes

        public com.google.protobuf.ByteString getServiceRolloutIdBytes()
         The current service rollout id used to process the request.
         
        string service_rollout_id = 4;
        Specified by:
        getServiceRolloutIdBytes in interface ReportResponseOrBuilder
        Returns:
        The bytes for serviceRolloutId.
      • setServiceRolloutId

        public ReportResponse.Builder setServiceRolloutId​(String value)
         The current service rollout id used to process the request.
         
        string service_rollout_id = 4;
        Parameters:
        value - The serviceRolloutId to set.
        Returns:
        This builder for chaining.
      • clearServiceRolloutId

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

        public ReportResponse.Builder setServiceRolloutIdBytes​(com.google.protobuf.ByteString value)
         The current service rollout id used to process the request.
         
        string service_rollout_id = 4;
        Parameters:
        value - The bytes for serviceRolloutId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ReportResponse.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<ReportResponse.Builder>
      • mergeUnknownFields

        public final ReportResponse.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<ReportResponse.Builder>