Class BatchingConfigProto.Builder

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

public static final class BatchingConfigProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchingConfigProto.Builder> implements BatchingConfigProtoOrBuilder
 `BatchingConfigProto` defines the batching configuration for an API method.
 
Protobuf type google.api.BatchingConfigProto
  • 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<BatchingConfigProto.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<BatchingConfigProto.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<BatchingConfigProto.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public BatchingConfigProto.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<BatchingConfigProto.Builder>
      Throws:
      IOException
    • hasThresholds

      public boolean hasThresholds()
       The thresholds which trigger a batched request to be sent.
       
      .google.api.BatchingSettingsProto thresholds = 1;
      Specified by:
      hasThresholds in interface BatchingConfigProtoOrBuilder
      Returns:
      Whether the thresholds field is set.
    • getThresholds

      public BatchingSettingsProto getThresholds()
       The thresholds which trigger a batched request to be sent.
       
      .google.api.BatchingSettingsProto thresholds = 1;
      Specified by:
      getThresholds in interface BatchingConfigProtoOrBuilder
      Returns:
      The thresholds.
    • setThresholds

      public BatchingConfigProto.Builder setThresholds(BatchingSettingsProto value)
       The thresholds which trigger a batched request to be sent.
       
      .google.api.BatchingSettingsProto thresholds = 1;
    • setThresholds

      public BatchingConfigProto.Builder setThresholds(BatchingSettingsProto.Builder builderForValue)
       The thresholds which trigger a batched request to be sent.
       
      .google.api.BatchingSettingsProto thresholds = 1;
    • mergeThresholds

      public BatchingConfigProto.Builder mergeThresholds(BatchingSettingsProto value)
       The thresholds which trigger a batched request to be sent.
       
      .google.api.BatchingSettingsProto thresholds = 1;
    • clearThresholds

      public BatchingConfigProto.Builder clearThresholds()
       The thresholds which trigger a batched request to be sent.
       
      .google.api.BatchingSettingsProto thresholds = 1;
    • getThresholdsBuilder

      public BatchingSettingsProto.Builder getThresholdsBuilder()
       The thresholds which trigger a batched request to be sent.
       
      .google.api.BatchingSettingsProto thresholds = 1;
    • getThresholdsOrBuilder

      public BatchingSettingsProtoOrBuilder getThresholdsOrBuilder()
       The thresholds which trigger a batched request to be sent.
       
      .google.api.BatchingSettingsProto thresholds = 1;
      Specified by:
      getThresholdsOrBuilder in interface BatchingConfigProtoOrBuilder
    • hasBatchDescriptor

      public boolean hasBatchDescriptor()
       The request and response fields used in batching.
       
      .google.api.BatchingDescriptorProto batch_descriptor = 2;
      Specified by:
      hasBatchDescriptor in interface BatchingConfigProtoOrBuilder
      Returns:
      Whether the batchDescriptor field is set.
    • getBatchDescriptor

      public BatchingDescriptorProto getBatchDescriptor()
       The request and response fields used in batching.
       
      .google.api.BatchingDescriptorProto batch_descriptor = 2;
      Specified by:
      getBatchDescriptor in interface BatchingConfigProtoOrBuilder
      Returns:
      The batchDescriptor.
    • setBatchDescriptor

      public BatchingConfigProto.Builder setBatchDescriptor(BatchingDescriptorProto value)
       The request and response fields used in batching.
       
      .google.api.BatchingDescriptorProto batch_descriptor = 2;
    • setBatchDescriptor

      public BatchingConfigProto.Builder setBatchDescriptor(BatchingDescriptorProto.Builder builderForValue)
       The request and response fields used in batching.
       
      .google.api.BatchingDescriptorProto batch_descriptor = 2;
    • mergeBatchDescriptor

      public BatchingConfigProto.Builder mergeBatchDescriptor(BatchingDescriptorProto value)
       The request and response fields used in batching.
       
      .google.api.BatchingDescriptorProto batch_descriptor = 2;
    • clearBatchDescriptor

      public BatchingConfigProto.Builder clearBatchDescriptor()
       The request and response fields used in batching.
       
      .google.api.BatchingDescriptorProto batch_descriptor = 2;
    • getBatchDescriptorBuilder

      public BatchingDescriptorProto.Builder getBatchDescriptorBuilder()
       The request and response fields used in batching.
       
      .google.api.BatchingDescriptorProto batch_descriptor = 2;
    • getBatchDescriptorOrBuilder

      public BatchingDescriptorProtoOrBuilder getBatchDescriptorOrBuilder()
       The request and response fields used in batching.
       
      .google.api.BatchingDescriptorProto batch_descriptor = 2;
      Specified by:
      getBatchDescriptorOrBuilder in interface BatchingConfigProtoOrBuilder