Class DictImportReq.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DictImportReq.Builder>
io.github.xezzon.zeroweb.dict.DictImportReq.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DictImportReqOrBuilder, Cloneable
Enclosing class:
DictImportReq

public static final class DictImportReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<DictImportReq.Builder> implements DictImportReqOrBuilder
Protobuf type io.github.xezzon.zeroweb.dict.DictImportReq
  • Method Details

    • getDescriptor

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

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

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

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

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

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

      public DictImportReq.Builder mergeFrom(DictImportReq other)
    • isInitialized

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

      public DictImportReq.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<DictImportReq.Builder>
      Throws:
      IOException
    • hasTag

      public boolean hasTag()
      optional string tag = 1;
      Specified by:
      hasTag in interface DictImportReqOrBuilder
      Returns:
      Whether the tag field is set.
    • getTag

      public String getTag()
      optional string tag = 1;
      Specified by:
      getTag in interface DictImportReqOrBuilder
      Returns:
      The tag.
    • getTagBytes

      public com.google.protobuf.ByteString getTagBytes()
      optional string tag = 1;
      Specified by:
      getTagBytes in interface DictImportReqOrBuilder
      Returns:
      The bytes for tag.
    • setTag

      public DictImportReq.Builder setTag(String value)
      optional string tag = 1;
      Parameters:
      value - The tag to set.
      Returns:
      This builder for chaining.
    • clearTag

      public DictImportReq.Builder clearTag()
      optional string tag = 1;
      Returns:
      This builder for chaining.
    • setTagBytes

      public DictImportReq.Builder setTagBytes(com.google.protobuf.ByteString value)
      optional string tag = 1;
      Parameters:
      value - The bytes for tag to set.
      Returns:
      This builder for chaining.
    • getCode

      public String getCode()
      string code = 2;
      Specified by:
      getCode in interface DictImportReqOrBuilder
      Returns:
      The code.
    • getCodeBytes

      public com.google.protobuf.ByteString getCodeBytes()
      string code = 2;
      Specified by:
      getCodeBytes in interface DictImportReqOrBuilder
      Returns:
      The bytes for code.
    • setCode

      public DictImportReq.Builder setCode(String value)
      string code = 2;
      Parameters:
      value - The code to set.
      Returns:
      This builder for chaining.
    • clearCode

      public DictImportReq.Builder clearCode()
      string code = 2;
      Returns:
      This builder for chaining.
    • setCodeBytes

      public DictImportReq.Builder setCodeBytes(com.google.protobuf.ByteString value)
      string code = 2;
      Parameters:
      value - The bytes for code to set.
      Returns:
      This builder for chaining.
    • hasLabel

      public boolean hasLabel()
      optional string label = 3;
      Specified by:
      hasLabel in interface DictImportReqOrBuilder
      Returns:
      Whether the label field is set.
    • getLabel

      public String getLabel()
      optional string label = 3;
      Specified by:
      getLabel in interface DictImportReqOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
      optional string label = 3;
      Specified by:
      getLabelBytes in interface DictImportReqOrBuilder
      Returns:
      The bytes for label.
    • setLabel

      public DictImportReq.Builder setLabel(String value)
      optional string label = 3;
      Parameters:
      value - The label to set.
      Returns:
      This builder for chaining.
    • clearLabel

      public DictImportReq.Builder clearLabel()
      optional string label = 3;
      Returns:
      This builder for chaining.
    • setLabelBytes

      public DictImportReq.Builder setLabelBytes(com.google.protobuf.ByteString value)
      optional string label = 3;
      Parameters:
      value - The bytes for label to set.
      Returns:
      This builder for chaining.
    • getOrdinal

      public int getOrdinal()
      int32 ordinal = 4;
      Specified by:
      getOrdinal in interface DictImportReqOrBuilder
      Returns:
      The ordinal.
    • setOrdinal

      public DictImportReq.Builder setOrdinal(int value)
      int32 ordinal = 4;
      Parameters:
      value - The ordinal to set.
      Returns:
      This builder for chaining.
    • clearOrdinal

      public DictImportReq.Builder clearOrdinal()
      int32 ordinal = 4;
      Returns:
      This builder for chaining.