Class MetaProto.Meta.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetaProto.Meta.Builder>
io.confluent.protobuf.MetaProto.Meta.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MetaProto.MetaOrBuilder, Cloneable
Enclosing class:
MetaProto.Meta

public static final class MetaProto.Meta.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetaProto.Meta.Builder> implements MetaProto.MetaOrBuilder
Protobuf type confluent.Meta
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<MetaProto.Meta.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<MetaProto.Meta.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MetaProto.Meta.Builder>
    • clear

      public MetaProto.Meta.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<MetaProto.Meta.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<MetaProto.Meta.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public MetaProto.Meta.Builder mergeFrom(MetaProto.Meta other)
    • isInitialized

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

      public MetaProto.Meta.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<MetaProto.Meta.Builder>
      Throws:
      IOException
    • getDoc

      public String getDoc()
      string doc = 1;
      Specified by:
      getDoc in interface MetaProto.MetaOrBuilder
      Returns:
      The doc.
    • getDocBytes

      public com.google.protobuf.ByteString getDocBytes()
      string doc = 1;
      Specified by:
      getDocBytes in interface MetaProto.MetaOrBuilder
      Returns:
      The bytes for doc.
    • setDoc

      public MetaProto.Meta.Builder setDoc(String value)
      string doc = 1;
      Parameters:
      value - The doc to set.
      Returns:
      This builder for chaining.
    • clearDoc

      public MetaProto.Meta.Builder clearDoc()
      string doc = 1;
      Returns:
      This builder for chaining.
    • setDocBytes

      public MetaProto.Meta.Builder setDocBytes(com.google.protobuf.ByteString value)
      string doc = 1;
      Parameters:
      value - The bytes for doc to set.
      Returns:
      This builder for chaining.
    • getParamsCount

      public int getParamsCount()
      Description copied from interface: MetaProto.MetaOrBuilder
      map<string, string> params = 2;
      Specified by:
      getParamsCount in interface MetaProto.MetaOrBuilder
    • containsParams

      public boolean containsParams(String key)
      map<string, string> params = 2;
      Specified by:
      containsParams in interface MetaProto.MetaOrBuilder
    • getParams

      @Deprecated public Map<String,String> getParams()
      Deprecated.
      Use getParamsMap() instead.
      Specified by:
      getParams in interface MetaProto.MetaOrBuilder
    • getParamsMap

      public Map<String,String> getParamsMap()
      map<string, string> params = 2;
      Specified by:
      getParamsMap in interface MetaProto.MetaOrBuilder
    • getParamsOrDefault

      public String getParamsOrDefault(String key, String defaultValue)
      map<string, string> params = 2;
      Specified by:
      getParamsOrDefault in interface MetaProto.MetaOrBuilder
    • getParamsOrThrow

      public String getParamsOrThrow(String key)
      map<string, string> params = 2;
      Specified by:
      getParamsOrThrow in interface MetaProto.MetaOrBuilder
    • clearParams

      public MetaProto.Meta.Builder clearParams()
    • removeParams

      public MetaProto.Meta.Builder removeParams(String key)
      map<string, string> params = 2;
    • getMutableParams

      @Deprecated public Map<String,String> getMutableParams()
      Deprecated.
      Use alternate mutation accessors instead.
    • putParams

      public MetaProto.Meta.Builder putParams(String key, String value)
      map<string, string> params = 2;
    • putAllParams

      public MetaProto.Meta.Builder putAllParams(Map<String,String> values)
      map<string, string> params = 2;
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
      repeated string tags = 3;
      Specified by:
      getTagsList in interface MetaProto.MetaOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
      repeated string tags = 3;
      Specified by:
      getTagsCount in interface MetaProto.MetaOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
      repeated string tags = 3;
      Specified by:
      getTags in interface MetaProto.MetaOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
      repeated string tags = 3;
      Specified by:
      getTagsBytes in interface MetaProto.MetaOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public MetaProto.Meta.Builder setTags(int index, String value)
      repeated string tags = 3;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      public MetaProto.Meta.Builder addTags(String value)
      repeated string tags = 3;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public MetaProto.Meta.Builder addAllTags(Iterable<String> values)
      repeated string tags = 3;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public MetaProto.Meta.Builder clearTags()
      repeated string tags = 3;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public MetaProto.Meta.Builder addTagsBytes(com.google.protobuf.ByteString value)
      repeated string tags = 3;
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.
    • getRulesList

      public List<MetaProto.Rule> getRulesList()
      repeated .confluent.Rule rules = 4;
      Specified by:
      getRulesList in interface MetaProto.MetaOrBuilder
    • getRulesCount

      public int getRulesCount()
      repeated .confluent.Rule rules = 4;
      Specified by:
      getRulesCount in interface MetaProto.MetaOrBuilder
    • getRules

      public MetaProto.Rule getRules(int index)
      repeated .confluent.Rule rules = 4;
      Specified by:
      getRules in interface MetaProto.MetaOrBuilder
    • setRules

      public MetaProto.Meta.Builder setRules(int index, MetaProto.Rule value)
      repeated .confluent.Rule rules = 4;
    • setRules

      public MetaProto.Meta.Builder setRules(int index, MetaProto.Rule.Builder builderForValue)
      repeated .confluent.Rule rules = 4;
    • addRules

      public MetaProto.Meta.Builder addRules(MetaProto.Rule value)
      repeated .confluent.Rule rules = 4;
    • addRules

      public MetaProto.Meta.Builder addRules(int index, MetaProto.Rule value)
      repeated .confluent.Rule rules = 4;
    • addRules

      public MetaProto.Meta.Builder addRules(MetaProto.Rule.Builder builderForValue)
      repeated .confluent.Rule rules = 4;
    • addRules

      public MetaProto.Meta.Builder addRules(int index, MetaProto.Rule.Builder builderForValue)
      repeated .confluent.Rule rules = 4;
    • addAllRules

      public MetaProto.Meta.Builder addAllRules(Iterable<? extends MetaProto.Rule> values)
      repeated .confluent.Rule rules = 4;
    • clearRules

      public MetaProto.Meta.Builder clearRules()
      repeated .confluent.Rule rules = 4;
    • removeRules

      public MetaProto.Meta.Builder removeRules(int index)
      repeated .confluent.Rule rules = 4;
    • getRulesBuilder

      public MetaProto.Rule.Builder getRulesBuilder(int index)
      repeated .confluent.Rule rules = 4;
    • getRulesOrBuilder

      public MetaProto.RuleOrBuilder getRulesOrBuilder(int index)
      repeated .confluent.Rule rules = 4;
      Specified by:
      getRulesOrBuilder in interface MetaProto.MetaOrBuilder
    • getRulesOrBuilderList

      public List<? extends MetaProto.RuleOrBuilder> getRulesOrBuilderList()
      repeated .confluent.Rule rules = 4;
      Specified by:
      getRulesOrBuilderList in interface MetaProto.MetaOrBuilder
    • addRulesBuilder

      public MetaProto.Rule.Builder addRulesBuilder()
      repeated .confluent.Rule rules = 4;
    • addRulesBuilder

      public MetaProto.Rule.Builder addRulesBuilder(int index)
      repeated .confluent.Rule rules = 4;
    • getRulesBuilderList

      public List<MetaProto.Rule.Builder> getRulesBuilderList()
      repeated .confluent.Rule rules = 4;