Class ReportResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReportResponse.Builder>
com.google.api.servicecontrol.v1.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.GeneratedMessage.Builder<ReportResponse.Builder> implements ReportResponseOrBuilder
 Response message for the Report method.
 
Protobuf type google.api.servicecontrol.v1.ReportResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public ReportResponse.Builder mergeFrom(ReportResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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.