Class ForwardV1.Forward.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, ForwardV1.ForwardOrBuilder
    Enclosing class:
    ForwardV1.Forward

    public static final class ForwardV1.Forward.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ForwardV1.Forward.Builder>
    implements ForwardV1.ForwardOrBuilder
    Protobuf type org.magmacollective.darkcrystal.keybackup.messageschemas.Forward
    • Method Detail

      • 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<ForwardV1.Forward.Builder>
      • clear

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

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

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

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

        public ForwardV1.Forward.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<ForwardV1.Forward.Builder>
      • setField

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

        public ForwardV1.Forward.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<ForwardV1.Forward.Builder>
      • clearOneof

        public ForwardV1.Forward.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<ForwardV1.Forward.Builder>
      • setRepeatedField

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

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

        public ForwardV1.Forward.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<ForwardV1.Forward.Builder>
      • isInitialized

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

        public ForwardV1.Forward.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.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<ForwardV1.Forward.Builder>
        Throws:
        java.io.IOException
      • hasType

        public boolean hasType()
        required string type = 1;
        Specified by:
        hasType in interface ForwardV1.ForwardOrBuilder
        Returns:
        Whether the type field is set.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
        required string type = 1;
        Specified by:
        getTypeBytes in interface ForwardV1.ForwardOrBuilder
        Returns:
        The bytes for type.
      • setType

        public ForwardV1.Forward.Builder setType​(java.lang.String value)
        required string type = 1;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • setTypeBytes

        public ForwardV1.Forward.Builder setTypeBytes​(com.google.protobuf.ByteString value)
        required string type = 1;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • hasVersion

        public boolean hasVersion()
        required string version = 2;
        Specified by:
        hasVersion in interface ForwardV1.ForwardOrBuilder
        Returns:
        Whether the version field is set.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
        required string version = 2;
        Specified by:
        getVersionBytes in interface ForwardV1.ForwardOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public ForwardV1.Forward.Builder setVersion​(java.lang.String value)
        required string version = 2;
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public ForwardV1.Forward.Builder clearVersion()
        required string version = 2;
        Returns:
        This builder for chaining.
      • setVersionBytes

        public ForwardV1.Forward.Builder setVersionBytes​(com.google.protobuf.ByteString value)
        required string version = 2;
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • hasTimestamp

        public boolean hasTimestamp()
        required fixed64 timestamp = 3;
        Specified by:
        hasTimestamp in interface ForwardV1.ForwardOrBuilder
        Returns:
        Whether the timestamp field is set.
      • setTimestamp

        public ForwardV1.Forward.Builder setTimestamp​(long value)
        required fixed64 timestamp = 3;
        Parameters:
        value - The timestamp to set.
        Returns:
        This builder for chaining.
      • clearTimestamp

        public ForwardV1.Forward.Builder clearTimestamp()
        required fixed64 timestamp = 3;
        Returns:
        This builder for chaining.
      • hasRoot

        public boolean hasRoot()
        required bytes root = 4;
        Specified by:
        hasRoot in interface ForwardV1.ForwardOrBuilder
        Returns:
        Whether the root field is set.
      • getRoot

        public com.google.protobuf.ByteString getRoot()
        required bytes root = 4;
        Specified by:
        getRoot in interface ForwardV1.ForwardOrBuilder
        Returns:
        The root.
      • setRoot

        public ForwardV1.Forward.Builder setRoot​(com.google.protobuf.ByteString value)
        required bytes root = 4;
        Parameters:
        value - The root to set.
        Returns:
        This builder for chaining.
      • hasShard

        public boolean hasShard()
        required bytes shard = 5;
        Specified by:
        hasShard in interface ForwardV1.ForwardOrBuilder
        Returns:
        Whether the shard field is set.
      • getShard

        public com.google.protobuf.ByteString getShard()
        required bytes shard = 5;
        Specified by:
        getShard in interface ForwardV1.ForwardOrBuilder
        Returns:
        The shard.
      • setShard

        public ForwardV1.Forward.Builder setShard​(com.google.protobuf.ByteString value)
        required bytes shard = 5;
        Parameters:
        value - The shard to set.
        Returns:
        This builder for chaining.
      • hasRecipient

        public boolean hasRecipient()
        required bytes recipient = 6;
        Specified by:
        hasRecipient in interface ForwardV1.ForwardOrBuilder
        Returns:
        Whether the recipient field is set.
      • getRecipient

        public com.google.protobuf.ByteString getRecipient()
        required bytes recipient = 6;
        Specified by:
        getRecipient in interface ForwardV1.ForwardOrBuilder
        Returns:
        The recipient.
      • setRecipient

        public ForwardV1.Forward.Builder setRecipient​(com.google.protobuf.ByteString value)
        required bytes recipient = 6;
        Parameters:
        value - The recipient to set.
        Returns:
        This builder for chaining.
      • clearRecipient

        public ForwardV1.Forward.Builder clearRecipient()
        required bytes recipient = 6;
        Returns:
        This builder for chaining.
      • hasBranch

        public boolean hasBranch()
        optional bytes branch = 7;
        Specified by:
        hasBranch in interface ForwardV1.ForwardOrBuilder
        Returns:
        Whether the branch field is set.
      • getBranch

        public com.google.protobuf.ByteString getBranch()
        optional bytes branch = 7;
        Specified by:
        getBranch in interface ForwardV1.ForwardOrBuilder
        Returns:
        The branch.
      • setBranch

        public ForwardV1.Forward.Builder setBranch​(com.google.protobuf.ByteString value)
        optional bytes branch = 7;
        Parameters:
        value - The branch to set.
        Returns:
        This builder for chaining.
      • clearBranch

        public ForwardV1.Forward.Builder clearBranch()
        optional bytes branch = 7;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ForwardV1.Forward.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<ForwardV1.Forward.Builder>
      • mergeUnknownFields

        public final ForwardV1.Forward.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<ForwardV1.Forward.Builder>