Class SystemParameterRule.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder>
com.google.api.SystemParameterRule.Builder
All Implemented Interfaces:
SystemParameterRuleOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SystemParameterRule

public static final class SystemParameterRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder> implements SystemParameterRuleOrBuilder
 Define a system parameter rule mapping system parameter definitions to
 methods.
 
Protobuf type google.api.SystemParameterRule
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.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.GeneratedMessageV3.Builder<SystemParameterRule.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.GeneratedMessageV3.Builder<SystemParameterRule.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder>
    • setField

      public SystemParameterRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder>
    • clearField

      public SystemParameterRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder>
    • clearOneof

      public SystemParameterRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder>
    • setRepeatedField

      public SystemParameterRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder>
    • addRepeatedField

      public SystemParameterRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder>
    • mergeFrom

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

    • isInitialized

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

      public SystemParameterRule.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<SystemParameterRule.Builder>
      Throws:
      IOException
    • getSelector

      public String getSelector()
       Selects the methods to which this rule applies. Use '*' to indicate all
       methods in all APIs.
       Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
       
      string selector = 1;
      Specified by:
      getSelector in interface SystemParameterRuleOrBuilder
      Returns:
      The selector.
    • getSelectorBytes

      public com.google.protobuf.ByteString getSelectorBytes()
       Selects the methods to which this rule applies. Use '*' to indicate all
       methods in all APIs.
       Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
       
      string selector = 1;
      Specified by:
      getSelectorBytes in interface SystemParameterRuleOrBuilder
      Returns:
      The bytes for selector.
    • setSelector

      public SystemParameterRule.Builder setSelector(String value)
       Selects the methods to which this rule applies. Use '*' to indicate all
       methods in all APIs.
       Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
       
      string selector = 1;
      Parameters:
      value - The selector to set.
      Returns:
      This builder for chaining.
    • clearSelector

      public SystemParameterRule.Builder clearSelector()
       Selects the methods to which this rule applies. Use '*' to indicate all
       methods in all APIs.
       Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
       
      string selector = 1;
      Returns:
      This builder for chaining.
    • setSelectorBytes

      public SystemParameterRule.Builder setSelectorBytes(com.google.protobuf.ByteString value)
       Selects the methods to which this rule applies. Use '*' to indicate all
       methods in all APIs.
       Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
       
      string selector = 1;
      Parameters:
      value - The bytes for selector to set.
      Returns:
      This builder for chaining.
    • getParametersList

      public List<SystemParameter> getParametersList()
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
      Specified by:
      getParametersList in interface SystemParameterRuleOrBuilder
    • getParametersCount

      public int getParametersCount()
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
      Specified by:
      getParametersCount in interface SystemParameterRuleOrBuilder
    • getParameters

      public SystemParameter getParameters(int index)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
      Specified by:
      getParameters in interface SystemParameterRuleOrBuilder
    • setParameters

      public SystemParameterRule.Builder setParameters(int index, SystemParameter value)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • setParameters

      public SystemParameterRule.Builder setParameters(int index, SystemParameter.Builder builderForValue)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • addParameters

      public SystemParameterRule.Builder addParameters(SystemParameter value)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • addParameters

      public SystemParameterRule.Builder addParameters(int index, SystemParameter value)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • addParameters

      public SystemParameterRule.Builder addParameters(SystemParameter.Builder builderForValue)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • addParameters

      public SystemParameterRule.Builder addParameters(int index, SystemParameter.Builder builderForValue)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • addAllParameters

      public SystemParameterRule.Builder addAllParameters(Iterable<? extends SystemParameter> values)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • clearParameters

      public SystemParameterRule.Builder clearParameters()
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • removeParameters

      public SystemParameterRule.Builder removeParameters(int index)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • getParametersBuilder

      public SystemParameter.Builder getParametersBuilder(int index)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • getParametersOrBuilder

      public SystemParameterOrBuilder getParametersOrBuilder(int index)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
      Specified by:
      getParametersOrBuilder in interface SystemParameterRuleOrBuilder
    • getParametersOrBuilderList

      public List<? extends SystemParameterOrBuilder> getParametersOrBuilderList()
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
      Specified by:
      getParametersOrBuilderList in interface SystemParameterRuleOrBuilder
    • addParametersBuilder

      public SystemParameter.Builder addParametersBuilder()
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • addParametersBuilder

      public SystemParameter.Builder addParametersBuilder(int index)
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • getParametersBuilderList

      public List<SystemParameter.Builder> getParametersBuilderList()
       Define parameters. Multiple names may be defined for a parameter.
       For a given method call, only one of them should be used. If multiple
       names are used the behavior is implementation-dependent.
       If none of the specified names are present the behavior is
       parameter-dependent.
       
      repeated .google.api.SystemParameter parameters = 2;
    • setUnknownFields

      public final SystemParameterRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder>
    • mergeUnknownFields

      public final SystemParameterRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SystemParameterRule.Builder>