Class GetConsumerQuotaLimitRequest.Builder

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

public static final class GetConsumerQuotaLimitRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetConsumerQuotaLimitRequest.Builder> implements GetConsumerQuotaLimitRequestOrBuilder
 Request message for GetConsumerQuotaLimit
 
Protobuf type google.api.serviceusage.v1beta1.GetConsumerQuotaLimitRequest
  • 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<GetConsumerQuotaLimitRequest.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<GetConsumerQuotaLimitRequest.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<GetConsumerQuotaLimitRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public GetConsumerQuotaLimitRequest.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<GetConsumerQuotaLimitRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The resource name of the quota limit.
      
       Use the quota limit resource name returned by previous
       ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.
       
      string name = 1;
      Specified by:
      getName in interface GetConsumerQuotaLimitRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The resource name of the quota limit.
      
       Use the quota limit resource name returned by previous
       ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.
       
      string name = 1;
      Specified by:
      getNameBytes in interface GetConsumerQuotaLimitRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       The resource name of the quota limit.
      
       Use the quota limit resource name returned by previous
       ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       The resource name of the quota limit.
      
       Use the quota limit resource name returned by previous
       ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public GetConsumerQuotaLimitRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       The resource name of the quota limit.
      
       Use the quota limit resource name returned by previous
       ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getViewValue

      public int getViewValue()
       Specifies the level of detail for quota information in the response.
       
      .google.api.serviceusage.v1beta1.QuotaView view = 2;
      Specified by:
      getViewValue in interface GetConsumerQuotaLimitRequestOrBuilder
      Returns:
      The enum numeric value on the wire for view.
    • setViewValue

      public GetConsumerQuotaLimitRequest.Builder setViewValue(int value)
       Specifies the level of detail for quota information in the response.
       
      .google.api.serviceusage.v1beta1.QuotaView view = 2;
      Parameters:
      value - The enum numeric value on the wire for view to set.
      Returns:
      This builder for chaining.
    • getView

      public QuotaView getView()
       Specifies the level of detail for quota information in the response.
       
      .google.api.serviceusage.v1beta1.QuotaView view = 2;
      Specified by:
      getView in interface GetConsumerQuotaLimitRequestOrBuilder
      Returns:
      The view.
    • setView

       Specifies the level of detail for quota information in the response.
       
      .google.api.serviceusage.v1beta1.QuotaView view = 2;
      Parameters:
      value - The view to set.
      Returns:
      This builder for chaining.
    • clearView

       Specifies the level of detail for quota information in the response.
       
      .google.api.serviceusage.v1beta1.QuotaView view = 2;
      Returns:
      This builder for chaining.