Class Operation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
com.google.api.servicecontrol.v1.Operation.Builder
All Implemented Interfaces:
OperationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Operation

public static final class Operation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Operation.Builder> implements OperationOrBuilder
 Represents information regarding an operation.
 
Protobuf type google.api.servicecontrol.v1.Operation
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>
    • internalGetFieldAccessorTable

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

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

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

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

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

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

      public Operation.Builder mergeFrom(Operation other)
    • isInitialized

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

      public Operation.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<Operation.Builder>
      Throws:
      IOException
    • getOperationId

      public String getOperationId()
       Identity of the operation. This must be unique within the scope of the
       service that generated the operation. If the service calls
       Check() and Report() on the same operation, the two calls should carry
       the same id.
      
       UUID version 4 is recommended, though not required.
       In scenarios where an operation is computed from existing information
       and an idempotent id is desirable for deduplication purpose, UUID version 5
       is recommended. See RFC 4122 for details.
       
      string operation_id = 1;
      Specified by:
      getOperationId in interface OperationOrBuilder
      Returns:
      The operationId.
    • getOperationIdBytes

      public com.google.protobuf.ByteString getOperationIdBytes()
       Identity of the operation. This must be unique within the scope of the
       service that generated the operation. If the service calls
       Check() and Report() on the same operation, the two calls should carry
       the same id.
      
       UUID version 4 is recommended, though not required.
       In scenarios where an operation is computed from existing information
       and an idempotent id is desirable for deduplication purpose, UUID version 5
       is recommended. See RFC 4122 for details.
       
      string operation_id = 1;
      Specified by:
      getOperationIdBytes in interface OperationOrBuilder
      Returns:
      The bytes for operationId.
    • setOperationId

      public Operation.Builder setOperationId(String value)
       Identity of the operation. This must be unique within the scope of the
       service that generated the operation. If the service calls
       Check() and Report() on the same operation, the two calls should carry
       the same id.
      
       UUID version 4 is recommended, though not required.
       In scenarios where an operation is computed from existing information
       and an idempotent id is desirable for deduplication purpose, UUID version 5
       is recommended. See RFC 4122 for details.
       
      string operation_id = 1;
      Parameters:
      value - The operationId to set.
      Returns:
      This builder for chaining.
    • clearOperationId

      public Operation.Builder clearOperationId()
       Identity of the operation. This must be unique within the scope of the
       service that generated the operation. If the service calls
       Check() and Report() on the same operation, the two calls should carry
       the same id.
      
       UUID version 4 is recommended, though not required.
       In scenarios where an operation is computed from existing information
       and an idempotent id is desirable for deduplication purpose, UUID version 5
       is recommended. See RFC 4122 for details.
       
      string operation_id = 1;
      Returns:
      This builder for chaining.
    • setOperationIdBytes

      public Operation.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
       Identity of the operation. This must be unique within the scope of the
       service that generated the operation. If the service calls
       Check() and Report() on the same operation, the two calls should carry
       the same id.
      
       UUID version 4 is recommended, though not required.
       In scenarios where an operation is computed from existing information
       and an idempotent id is desirable for deduplication purpose, UUID version 5
       is recommended. See RFC 4122 for details.
       
      string operation_id = 1;
      Parameters:
      value - The bytes for operationId to set.
      Returns:
      This builder for chaining.
    • getOperationName

      public String getOperationName()
       Fully qualified name of the operation. Reserved for future use.
       
      string operation_name = 2;
      Specified by:
      getOperationName in interface OperationOrBuilder
      Returns:
      The operationName.
    • getOperationNameBytes

      public com.google.protobuf.ByteString getOperationNameBytes()
       Fully qualified name of the operation. Reserved for future use.
       
      string operation_name = 2;
      Specified by:
      getOperationNameBytes in interface OperationOrBuilder
      Returns:
      The bytes for operationName.
    • setOperationName

      public Operation.Builder setOperationName(String value)
       Fully qualified name of the operation. Reserved for future use.
       
      string operation_name = 2;
      Parameters:
      value - The operationName to set.
      Returns:
      This builder for chaining.
    • clearOperationName

      public Operation.Builder clearOperationName()
       Fully qualified name of the operation. Reserved for future use.
       
      string operation_name = 2;
      Returns:
      This builder for chaining.
    • setOperationNameBytes

      public Operation.Builder setOperationNameBytes(com.google.protobuf.ByteString value)
       Fully qualified name of the operation. Reserved for future use.
       
      string operation_name = 2;
      Parameters:
      value - The bytes for operationName to set.
      Returns:
      This builder for chaining.
    • getConsumerId

      public String getConsumerId()
       Identity of the consumer who is using the service.
       This field should be filled in for the operations initiated by a
       consumer, but not for service-initiated operations that are
       not related to a specific consumer.
      
       - This can be in one of the following formats:
       - project:PROJECT_ID,
       - project`_`number:PROJECT_NUMBER,
       - projects/PROJECT_ID or PROJECT_NUMBER,
       - folders/FOLDER_NUMBER,
       - organizations/ORGANIZATION_NUMBER,
       - api`_`key:API_KEY.
       
      string consumer_id = 3;
      Specified by:
      getConsumerId in interface OperationOrBuilder
      Returns:
      The consumerId.
    • getConsumerIdBytes

      public com.google.protobuf.ByteString getConsumerIdBytes()
       Identity of the consumer who is using the service.
       This field should be filled in for the operations initiated by a
       consumer, but not for service-initiated operations that are
       not related to a specific consumer.
      
       - This can be in one of the following formats:
       - project:PROJECT_ID,
       - project`_`number:PROJECT_NUMBER,
       - projects/PROJECT_ID or PROJECT_NUMBER,
       - folders/FOLDER_NUMBER,
       - organizations/ORGANIZATION_NUMBER,
       - api`_`key:API_KEY.
       
      string consumer_id = 3;
      Specified by:
      getConsumerIdBytes in interface OperationOrBuilder
      Returns:
      The bytes for consumerId.
    • setConsumerId

      public Operation.Builder setConsumerId(String value)
       Identity of the consumer who is using the service.
       This field should be filled in for the operations initiated by a
       consumer, but not for service-initiated operations that are
       not related to a specific consumer.
      
       - This can be in one of the following formats:
       - project:PROJECT_ID,
       - project`_`number:PROJECT_NUMBER,
       - projects/PROJECT_ID or PROJECT_NUMBER,
       - folders/FOLDER_NUMBER,
       - organizations/ORGANIZATION_NUMBER,
       - api`_`key:API_KEY.
       
      string consumer_id = 3;
      Parameters:
      value - The consumerId to set.
      Returns:
      This builder for chaining.
    • clearConsumerId

      public Operation.Builder clearConsumerId()
       Identity of the consumer who is using the service.
       This field should be filled in for the operations initiated by a
       consumer, but not for service-initiated operations that are
       not related to a specific consumer.
      
       - This can be in one of the following formats:
       - project:PROJECT_ID,
       - project`_`number:PROJECT_NUMBER,
       - projects/PROJECT_ID or PROJECT_NUMBER,
       - folders/FOLDER_NUMBER,
       - organizations/ORGANIZATION_NUMBER,
       - api`_`key:API_KEY.
       
      string consumer_id = 3;
      Returns:
      This builder for chaining.
    • setConsumerIdBytes

      public Operation.Builder setConsumerIdBytes(com.google.protobuf.ByteString value)
       Identity of the consumer who is using the service.
       This field should be filled in for the operations initiated by a
       consumer, but not for service-initiated operations that are
       not related to a specific consumer.
      
       - This can be in one of the following formats:
       - project:PROJECT_ID,
       - project`_`number:PROJECT_NUMBER,
       - projects/PROJECT_ID or PROJECT_NUMBER,
       - folders/FOLDER_NUMBER,
       - organizations/ORGANIZATION_NUMBER,
       - api`_`key:API_KEY.
       
      string consumer_id = 3;
      Parameters:
      value - The bytes for consumerId to set.
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
       Required. Start time of the operation.
       
      .google.protobuf.Timestamp start_time = 4;
      Specified by:
      hasStartTime in interface OperationOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Required. Start time of the operation.
       
      .google.protobuf.Timestamp start_time = 4;
      Specified by:
      getStartTime in interface OperationOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public Operation.Builder setStartTime(com.google.protobuf.Timestamp value)
       Required. Start time of the operation.
       
      .google.protobuf.Timestamp start_time = 4;
    • setStartTime

      public Operation.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Required. Start time of the operation.
       
      .google.protobuf.Timestamp start_time = 4;
    • mergeStartTime

      public Operation.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Required. Start time of the operation.
       
      .google.protobuf.Timestamp start_time = 4;
    • clearStartTime

      public Operation.Builder clearStartTime()
       Required. Start time of the operation.
       
      .google.protobuf.Timestamp start_time = 4;
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Required. Start time of the operation.
       
      .google.protobuf.Timestamp start_time = 4;
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Required. Start time of the operation.
       
      .google.protobuf.Timestamp start_time = 4;
      Specified by:
      getStartTimeOrBuilder in interface OperationOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       End time of the operation.
       Required when the operation is used in
       [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
       but optional when the operation is used in
       [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
       
      .google.protobuf.Timestamp end_time = 5;
      Specified by:
      hasEndTime in interface OperationOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       End time of the operation.
       Required when the operation is used in
       [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
       but optional when the operation is used in
       [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
       
      .google.protobuf.Timestamp end_time = 5;
      Specified by:
      getEndTime in interface OperationOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public Operation.Builder setEndTime(com.google.protobuf.Timestamp value)
       End time of the operation.
       Required when the operation is used in
       [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
       but optional when the operation is used in
       [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
       
      .google.protobuf.Timestamp end_time = 5;
    • setEndTime

      public Operation.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       End time of the operation.
       Required when the operation is used in
       [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
       but optional when the operation is used in
       [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
       
      .google.protobuf.Timestamp end_time = 5;
    • mergeEndTime

      public Operation.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       End time of the operation.
       Required when the operation is used in
       [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
       but optional when the operation is used in
       [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
       
      .google.protobuf.Timestamp end_time = 5;
    • clearEndTime

      public Operation.Builder clearEndTime()
       End time of the operation.
       Required when the operation is used in
       [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
       but optional when the operation is used in
       [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
       
      .google.protobuf.Timestamp end_time = 5;
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       End time of the operation.
       Required when the operation is used in
       [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
       but optional when the operation is used in
       [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
       
      .google.protobuf.Timestamp end_time = 5;
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       End time of the operation.
       Required when the operation is used in
       [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
       but optional when the operation is used in
       [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
       
      .google.protobuf.Timestamp end_time = 5;
      Specified by:
      getEndTimeOrBuilder in interface OperationOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: OperationOrBuilder
       Labels describing the operation. Only the following labels are allowed:
      
       - Labels describing monitored resources as defined in
       the service configuration.
       - Default labels of metric values. When specified, labels defined in the
       metric value override these default.
       - The following labels defined by Google Cloud Platform:
       - `cloud.googleapis.com/location` describing the location where the
       operation happened,
       - `servicecontrol.googleapis.com/user_agent` describing the user agent
       of the API request,
       - `servicecontrol.googleapis.com/service_agent` describing the service
       used to handle the API request (e.g. ESP),
       - `servicecontrol.googleapis.com/platform` describing the platform
       where the API is served, such as App Engine, Compute Engine, or
       Kubernetes Engine.
       
      map<string, string> labels = 6;
      Specified by:
      getLabelsCount in interface OperationOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels describing the operation. Only the following labels are allowed:
      
       - Labels describing monitored resources as defined in
       the service configuration.
       - Default labels of metric values. When specified, labels defined in the
       metric value override these default.
       - The following labels defined by Google Cloud Platform:
       - `cloud.googleapis.com/location` describing the location where the
       operation happened,
       - `servicecontrol.googleapis.com/user_agent` describing the user agent
       of the API request,
       - `servicecontrol.googleapis.com/service_agent` describing the service
       used to handle the API request (e.g. ESP),
       - `servicecontrol.googleapis.com/platform` describing the platform
       where the API is served, such as App Engine, Compute Engine, or
       Kubernetes Engine.
       
      map<string, string> labels = 6;
      Specified by:
      containsLabels in interface OperationOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface OperationOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels describing the operation. Only the following labels are allowed:
      
       - Labels describing monitored resources as defined in
       the service configuration.
       - Default labels of metric values. When specified, labels defined in the
       metric value override these default.
       - The following labels defined by Google Cloud Platform:
       - `cloud.googleapis.com/location` describing the location where the
       operation happened,
       - `servicecontrol.googleapis.com/user_agent` describing the user agent
       of the API request,
       - `servicecontrol.googleapis.com/service_agent` describing the service
       used to handle the API request (e.g. ESP),
       - `servicecontrol.googleapis.com/platform` describing the platform
       where the API is served, such as App Engine, Compute Engine, or
       Kubernetes Engine.
       
      map<string, string> labels = 6;
      Specified by:
      getLabelsMap in interface OperationOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels describing the operation. Only the following labels are allowed:
      
       - Labels describing monitored resources as defined in
       the service configuration.
       - Default labels of metric values. When specified, labels defined in the
       metric value override these default.
       - The following labels defined by Google Cloud Platform:
       - `cloud.googleapis.com/location` describing the location where the
       operation happened,
       - `servicecontrol.googleapis.com/user_agent` describing the user agent
       of the API request,
       - `servicecontrol.googleapis.com/service_agent` describing the service
       used to handle the API request (e.g. ESP),
       - `servicecontrol.googleapis.com/platform` describing the platform
       where the API is served, such as App Engine, Compute Engine, or
       Kubernetes Engine.
       
      map<string, string> labels = 6;
      Specified by:
      getLabelsOrDefault in interface OperationOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels describing the operation. Only the following labels are allowed:
      
       - Labels describing monitored resources as defined in
       the service configuration.
       - Default labels of metric values. When specified, labels defined in the
       metric value override these default.
       - The following labels defined by Google Cloud Platform:
       - `cloud.googleapis.com/location` describing the location where the
       operation happened,
       - `servicecontrol.googleapis.com/user_agent` describing the user agent
       of the API request,
       - `servicecontrol.googleapis.com/service_agent` describing the service
       used to handle the API request (e.g. ESP),
       - `servicecontrol.googleapis.com/platform` describing the platform
       where the API is served, such as App Engine, Compute Engine, or
       Kubernetes Engine.
       
      map<string, string> labels = 6;
      Specified by:
      getLabelsOrThrow in interface OperationOrBuilder
    • clearLabels

      public Operation.Builder clearLabels()
    • removeLabels

      public Operation.Builder removeLabels(String key)
       Labels describing the operation. Only the following labels are allowed:
      
       - Labels describing monitored resources as defined in
       the service configuration.
       - Default labels of metric values. When specified, labels defined in the
       metric value override these default.
       - The following labels defined by Google Cloud Platform:
       - `cloud.googleapis.com/location` describing the location where the
       operation happened,
       - `servicecontrol.googleapis.com/user_agent` describing the user agent
       of the API request,
       - `servicecontrol.googleapis.com/service_agent` describing the service
       used to handle the API request (e.g. ESP),
       - `servicecontrol.googleapis.com/platform` describing the platform
       where the API is served, such as App Engine, Compute Engine, or
       Kubernetes Engine.
       
      map<string, string> labels = 6;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Operation.Builder putLabels(String key, String value)
       Labels describing the operation. Only the following labels are allowed:
      
       - Labels describing monitored resources as defined in
       the service configuration.
       - Default labels of metric values. When specified, labels defined in the
       metric value override these default.
       - The following labels defined by Google Cloud Platform:
       - `cloud.googleapis.com/location` describing the location where the
       operation happened,
       - `servicecontrol.googleapis.com/user_agent` describing the user agent
       of the API request,
       - `servicecontrol.googleapis.com/service_agent` describing the service
       used to handle the API request (e.g. ESP),
       - `servicecontrol.googleapis.com/platform` describing the platform
       where the API is served, such as App Engine, Compute Engine, or
       Kubernetes Engine.
       
      map<string, string> labels = 6;
    • putAllLabels

      public Operation.Builder putAllLabels(Map<String,String> values)
       Labels describing the operation. Only the following labels are allowed:
      
       - Labels describing monitored resources as defined in
       the service configuration.
       - Default labels of metric values. When specified, labels defined in the
       metric value override these default.
       - The following labels defined by Google Cloud Platform:
       - `cloud.googleapis.com/location` describing the location where the
       operation happened,
       - `servicecontrol.googleapis.com/user_agent` describing the user agent
       of the API request,
       - `servicecontrol.googleapis.com/service_agent` describing the service
       used to handle the API request (e.g. ESP),
       - `servicecontrol.googleapis.com/platform` describing the platform
       where the API is served, such as App Engine, Compute Engine, or
       Kubernetes Engine.
       
      map<string, string> labels = 6;
    • getMetricValueSetsList

      public List<MetricValueSet> getMetricValueSetsList()
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
      Specified by:
      getMetricValueSetsList in interface OperationOrBuilder
    • getMetricValueSetsCount

      public int getMetricValueSetsCount()
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
      Specified by:
      getMetricValueSetsCount in interface OperationOrBuilder
    • getMetricValueSets

      public MetricValueSet getMetricValueSets(int index)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
      Specified by:
      getMetricValueSets in interface OperationOrBuilder
    • setMetricValueSets

      public Operation.Builder setMetricValueSets(int index, MetricValueSet value)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • setMetricValueSets

      public Operation.Builder setMetricValueSets(int index, MetricValueSet.Builder builderForValue)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • addMetricValueSets

      public Operation.Builder addMetricValueSets(MetricValueSet value)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • addMetricValueSets

      public Operation.Builder addMetricValueSets(int index, MetricValueSet value)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • addMetricValueSets

      public Operation.Builder addMetricValueSets(MetricValueSet.Builder builderForValue)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • addMetricValueSets

      public Operation.Builder addMetricValueSets(int index, MetricValueSet.Builder builderForValue)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • addAllMetricValueSets

      public Operation.Builder addAllMetricValueSets(Iterable<? extends MetricValueSet> values)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • clearMetricValueSets

      public Operation.Builder clearMetricValueSets()
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • removeMetricValueSets

      public Operation.Builder removeMetricValueSets(int index)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • getMetricValueSetsBuilder

      public MetricValueSet.Builder getMetricValueSetsBuilder(int index)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • getMetricValueSetsOrBuilder

      public MetricValueSetOrBuilder getMetricValueSetsOrBuilder(int index)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
      Specified by:
      getMetricValueSetsOrBuilder in interface OperationOrBuilder
    • getMetricValueSetsOrBuilderList

      public List<? extends MetricValueSetOrBuilder> getMetricValueSetsOrBuilderList()
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
      Specified by:
      getMetricValueSetsOrBuilderList in interface OperationOrBuilder
    • addMetricValueSetsBuilder

      public MetricValueSet.Builder addMetricValueSetsBuilder()
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • addMetricValueSetsBuilder

      public MetricValueSet.Builder addMetricValueSetsBuilder(int index)
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • getMetricValueSetsBuilderList

      public List<MetricValueSet.Builder> getMetricValueSetsBuilderList()
       Represents information about this operation. Each MetricValueSet
       corresponds to a metric defined in the service configuration.
       The data type used in the MetricValueSet must agree with
       the data type specified in the metric definition.
      
       Within a single operation, it is not allowed to have more than one
       MetricValue instances that have the same metric names and identical
       label value combinations. If a request has such duplicated MetricValue
       instances, the entire request is rejected with
       an invalid argument error.
       
      repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
    • getLogEntriesList

      public List<LogEntry> getLogEntriesList()
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
      Specified by:
      getLogEntriesList in interface OperationOrBuilder
    • getLogEntriesCount

      public int getLogEntriesCount()
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
      Specified by:
      getLogEntriesCount in interface OperationOrBuilder
    • getLogEntries

      public LogEntry getLogEntries(int index)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
      Specified by:
      getLogEntries in interface OperationOrBuilder
    • setLogEntries

      public Operation.Builder setLogEntries(int index, LogEntry value)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • setLogEntries

      public Operation.Builder setLogEntries(int index, LogEntry.Builder builderForValue)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • addLogEntries

      public Operation.Builder addLogEntries(LogEntry value)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • addLogEntries

      public Operation.Builder addLogEntries(int index, LogEntry value)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • addLogEntries

      public Operation.Builder addLogEntries(LogEntry.Builder builderForValue)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • addLogEntries

      public Operation.Builder addLogEntries(int index, LogEntry.Builder builderForValue)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • addAllLogEntries

      public Operation.Builder addAllLogEntries(Iterable<? extends LogEntry> values)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • clearLogEntries

      public Operation.Builder clearLogEntries()
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • removeLogEntries

      public Operation.Builder removeLogEntries(int index)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • getLogEntriesBuilder

      public LogEntry.Builder getLogEntriesBuilder(int index)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • getLogEntriesOrBuilder

      public LogEntryOrBuilder getLogEntriesOrBuilder(int index)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
      Specified by:
      getLogEntriesOrBuilder in interface OperationOrBuilder
    • getLogEntriesOrBuilderList

      public List<? extends LogEntryOrBuilder> getLogEntriesOrBuilderList()
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
      Specified by:
      getLogEntriesOrBuilderList in interface OperationOrBuilder
    • addLogEntriesBuilder

      public LogEntry.Builder addLogEntriesBuilder()
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • addLogEntriesBuilder

      public LogEntry.Builder addLogEntriesBuilder(int index)
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • getLogEntriesBuilderList

      public List<LogEntry.Builder> getLogEntriesBuilderList()
       Represents information to be logged.
       
      repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;
    • getImportanceValue

      public int getImportanceValue()
       DO NOT USE. This is an experimental field.
       
      .google.api.servicecontrol.v1.Operation.Importance importance = 11;
      Specified by:
      getImportanceValue in interface OperationOrBuilder
      Returns:
      The enum numeric value on the wire for importance.
    • setImportanceValue

      public Operation.Builder setImportanceValue(int value)
       DO NOT USE. This is an experimental field.
       
      .google.api.servicecontrol.v1.Operation.Importance importance = 11;
      Parameters:
      value - The enum numeric value on the wire for importance to set.
      Returns:
      This builder for chaining.
    • getImportance

      public Operation.Importance getImportance()
       DO NOT USE. This is an experimental field.
       
      .google.api.servicecontrol.v1.Operation.Importance importance = 11;
      Specified by:
      getImportance in interface OperationOrBuilder
      Returns:
      The importance.
    • setImportance

      public Operation.Builder setImportance(Operation.Importance value)
       DO NOT USE. This is an experimental field.
       
      .google.api.servicecontrol.v1.Operation.Importance importance = 11;
      Parameters:
      value - The importance to set.
      Returns:
      This builder for chaining.
    • clearImportance

      public Operation.Builder clearImportance()
       DO NOT USE. This is an experimental field.
       
      .google.api.servicecontrol.v1.Operation.Importance importance = 11;
      Returns:
      This builder for chaining.
    • getExtensionsList

      public List<com.google.protobuf.Any> getExtensionsList()
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
      Specified by:
      getExtensionsList in interface OperationOrBuilder
    • getExtensionsCount

      public int getExtensionsCount()
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
      Specified by:
      getExtensionsCount in interface OperationOrBuilder
    • getExtensions

      public com.google.protobuf.Any getExtensions(int index)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
      Specified by:
      getExtensions in interface OperationOrBuilder
    • setExtensions

      public Operation.Builder setExtensions(int index, com.google.protobuf.Any value)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • setExtensions

      public Operation.Builder setExtensions(int index, com.google.protobuf.Any.Builder builderForValue)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • addExtensions

      public Operation.Builder addExtensions(com.google.protobuf.Any value)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • addExtensions

      public Operation.Builder addExtensions(int index, com.google.protobuf.Any value)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • addExtensions

      public Operation.Builder addExtensions(com.google.protobuf.Any.Builder builderForValue)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • addExtensions

      public Operation.Builder addExtensions(int index, com.google.protobuf.Any.Builder builderForValue)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • addAllExtensions

      public Operation.Builder addAllExtensions(Iterable<? extends com.google.protobuf.Any> values)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • clearExtensions

      public Operation.Builder clearExtensions()
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • removeExtensions

      public Operation.Builder removeExtensions(int index)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • getExtensionsBuilder

      public com.google.protobuf.Any.Builder getExtensionsBuilder(int index)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • getExtensionsOrBuilder

      public com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(int index)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
      Specified by:
      getExtensionsOrBuilder in interface OperationOrBuilder
    • getExtensionsOrBuilderList

      public List<? extends com.google.protobuf.AnyOrBuilder> getExtensionsOrBuilderList()
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
      Specified by:
      getExtensionsOrBuilderList in interface OperationOrBuilder
    • addExtensionsBuilder

      public com.google.protobuf.Any.Builder addExtensionsBuilder()
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • addExtensionsBuilder

      public com.google.protobuf.Any.Builder addExtensionsBuilder(int index)
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;
    • getExtensionsBuilderList

      public List<com.google.protobuf.Any.Builder> getExtensionsBuilderList()
       Unimplemented.
       
      repeated .google.protobuf.Any extensions = 16;