Class OverrideInlineSource.Builder

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

public static final class OverrideInlineSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<OverrideInlineSource.Builder> implements OverrideInlineSourceOrBuilder
 Import data embedded in the request message
 
Protobuf type google.api.serviceusage.v1beta1.OverrideInlineSource
  • 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<OverrideInlineSource.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<OverrideInlineSource.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<OverrideInlineSource.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public OverrideInlineSource.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<OverrideInlineSource.Builder>
      Throws:
      IOException
    • getOverridesList

      public List<QuotaOverride> getOverridesList()
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
      Specified by:
      getOverridesList in interface OverrideInlineSourceOrBuilder
    • getOverridesCount

      public int getOverridesCount()
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
      Specified by:
      getOverridesCount in interface OverrideInlineSourceOrBuilder
    • getOverrides

      public QuotaOverride getOverrides(int index)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
      Specified by:
      getOverrides in interface OverrideInlineSourceOrBuilder
    • setOverrides

      public OverrideInlineSource.Builder setOverrides(int index, QuotaOverride value)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • setOverrides

      public OverrideInlineSource.Builder setOverrides(int index, QuotaOverride.Builder builderForValue)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • addOverrides

      public OverrideInlineSource.Builder addOverrides(QuotaOverride value)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • addOverrides

      public OverrideInlineSource.Builder addOverrides(int index, QuotaOverride value)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • addOverrides

      public OverrideInlineSource.Builder addOverrides(QuotaOverride.Builder builderForValue)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • addOverrides

      public OverrideInlineSource.Builder addOverrides(int index, QuotaOverride.Builder builderForValue)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • addAllOverrides

      public OverrideInlineSource.Builder addAllOverrides(Iterable<? extends QuotaOverride> values)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • clearOverrides

      public OverrideInlineSource.Builder clearOverrides()
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • removeOverrides

      public OverrideInlineSource.Builder removeOverrides(int index)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • getOverridesBuilder

      public QuotaOverride.Builder getOverridesBuilder(int index)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • getOverridesOrBuilder

      public QuotaOverrideOrBuilder getOverridesOrBuilder(int index)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
      Specified by:
      getOverridesOrBuilder in interface OverrideInlineSourceOrBuilder
    • getOverridesOrBuilderList

      public List<? extends QuotaOverrideOrBuilder> getOverridesOrBuilderList()
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
      Specified by:
      getOverridesOrBuilderList in interface OverrideInlineSourceOrBuilder
    • addOverridesBuilder

      public QuotaOverride.Builder addOverridesBuilder()
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • addOverridesBuilder

      public QuotaOverride.Builder addOverridesBuilder(int index)
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
    • getOverridesBuilderList

      public List<QuotaOverride.Builder> getOverridesBuilderList()
       The overrides to create.
       Each override must have a value for 'metric' and 'unit', to specify
       which metric and which limit the override should be applied to.
       The 'name' field of the override does not need to be set; it is ignored.
       
      repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;