Class DescriptorProtos.ServiceOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.ServiceOptions,DescriptorProtos.ServiceOptions.Builder>
com.google.protobuf.DescriptorProtos.ServiceOptions.Builder
All Implemented Interfaces:
DescriptorProtos.ServiceOptionsOrBuilder, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.ServiceOptions,DescriptorProtos.ServiceOptions.Builder>, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
DescriptorProtos.ServiceOptions

public static final class DescriptorProtos.ServiceOptions.Builder extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.ServiceOptions,DescriptorProtos.ServiceOptions.Builder> implements DescriptorProtos.ServiceOptionsOrBuilder
Protobuf type google.protobuf.ServiceOptions
  • Method Details

    • hasDeprecated

      public boolean hasDeprecated()
       Is this service deprecated?
       Depending on the target platform, this can emit Deprecated annotations
       for the service, or it will be completely ignored; in the very least,
       this is a formalization for deprecating services.
       
      optional bool deprecated = 33 [default = false, json_name = "deprecated"];
      Specified by:
      hasDeprecated in interface DescriptorProtos.ServiceOptionsOrBuilder
      Returns:
      Whether the deprecated field is set.
    • getDeprecated

      public boolean getDeprecated()
       Is this service deprecated?
       Depending on the target platform, this can emit Deprecated annotations
       for the service, or it will be completely ignored; in the very least,
       this is a formalization for deprecating services.
       
      optional bool deprecated = 33 [default = false, json_name = "deprecated"];
      Specified by:
      getDeprecated in interface DescriptorProtos.ServiceOptionsOrBuilder
      Returns:
      The deprecated.
    • setDeprecated

      public DescriptorProtos.ServiceOptions.Builder setDeprecated(boolean value)
       Is this service deprecated?
       Depending on the target platform, this can emit Deprecated annotations
       for the service, or it will be completely ignored; in the very least,
       this is a formalization for deprecating services.
       
      optional bool deprecated = 33 [default = false, json_name = "deprecated"];
      Parameters:
      value - The deprecated to set.
      Returns:
      This builder for chaining.
    • clearDeprecated

      public DescriptorProtos.ServiceOptions.Builder clearDeprecated()
       Is this service deprecated?
       Depending on the target platform, this can emit Deprecated annotations
       for the service, or it will be completely ignored; in the very least,
       this is a formalization for deprecating services.
       
      optional bool deprecated = 33 [default = false, json_name = "deprecated"];
      Returns:
      This builder for chaining.
    • getUninterpretedOptionList

      public List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
      Specified by:
      getUninterpretedOptionList in interface DescriptorProtos.ServiceOptionsOrBuilder
    • getUninterpretedOptionCount

      public int getUninterpretedOptionCount()
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
      Specified by:
      getUninterpretedOptionCount in interface DescriptorProtos.ServiceOptionsOrBuilder
    • getUninterpretedOption

      public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
      Specified by:
      getUninterpretedOption in interface DescriptorProtos.ServiceOptionsOrBuilder
    • setUninterpretedOption

      public DescriptorProtos.ServiceOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
    • setUninterpretedOption

      public DescriptorProtos.ServiceOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
    • addUninterpretedOption

       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
    • addUninterpretedOption

      public DescriptorProtos.ServiceOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
    • addUninterpretedOption

       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
    • addUninterpretedOption

      public DescriptorProtos.ServiceOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
    • addAllUninterpretedOption

      public DescriptorProtos.ServiceOptions.Builder addAllUninterpretedOption(Iterable<? extends DescriptorProtos.UninterpretedOption> values)
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
    • clearUninterpretedOption

      public DescriptorProtos.ServiceOptions.Builder clearUninterpretedOption()
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
    • removeUninterpretedOption

      public DescriptorProtos.ServiceOptions.Builder removeUninterpretedOption(int index)
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];