Class DataFormats.CookieFormat.Builder

    • 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<DataFormats.CookieFormat.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<DataFormats.CookieFormat.Builder>
      • getDefaultInstanceForType

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

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

        public DataFormats.CookieFormat buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setField

        public DataFormats.CookieFormat.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<DataFormats.CookieFormat.Builder>
      • setRepeatedField

        public DataFormats.CookieFormat.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<DataFormats.CookieFormat.Builder>
      • addRepeatedField

        public DataFormats.CookieFormat.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<DataFormats.CookieFormat.Builder>
      • isInitialized

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

        public DataFormats.CookieFormat.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<DataFormats.CookieFormat.Builder>
        Throws:
        java.io.IOException
      • setBookieHost

        public DataFormats.CookieFormat.Builder setBookieHost​(java.lang.String value)
        required string bookieHost = 1;
        Parameters:
        value - The bookieHost to set.
        Returns:
        This builder for chaining.
      • setBookieHostBytes

        public DataFormats.CookieFormat.Builder setBookieHostBytes​(com.google.protobuf.ByteString value)
        required string bookieHost = 1;
        Parameters:
        value - The bytes for bookieHost to set.
        Returns:
        This builder for chaining.
      • setJournalDir

        public DataFormats.CookieFormat.Builder setJournalDir​(java.lang.String value)
        required string journalDir = 2;
        Parameters:
        value - The journalDir to set.
        Returns:
        This builder for chaining.
      • setJournalDirBytes

        public DataFormats.CookieFormat.Builder setJournalDirBytes​(com.google.protobuf.ByteString value)
        required string journalDir = 2;
        Parameters:
        value - The bytes for journalDir to set.
        Returns:
        This builder for chaining.
      • setLedgerDirs

        public DataFormats.CookieFormat.Builder setLedgerDirs​(java.lang.String value)
        required string ledgerDirs = 3;
        Parameters:
        value - The ledgerDirs to set.
        Returns:
        This builder for chaining.
      • setLedgerDirsBytes

        public DataFormats.CookieFormat.Builder setLedgerDirsBytes​(com.google.protobuf.ByteString value)
        required string ledgerDirs = 3;
        Parameters:
        value - The bytes for ledgerDirs to set.
        Returns:
        This builder for chaining.
      • setInstanceId

        public DataFormats.CookieFormat.Builder setInstanceId​(java.lang.String value)
        optional string instanceId = 4;
        Parameters:
        value - The instanceId to set.
        Returns:
        This builder for chaining.
      • setInstanceIdBytes

        public DataFormats.CookieFormat.Builder setInstanceIdBytes​(com.google.protobuf.ByteString value)
        optional string instanceId = 4;
        Parameters:
        value - The bytes for instanceId to set.
        Returns:
        This builder for chaining.
      • setIndexDirs

        public DataFormats.CookieFormat.Builder setIndexDirs​(java.lang.String value)
        optional string indexDirs = 5;
        Parameters:
        value - The indexDirs to set.
        Returns:
        This builder for chaining.
      • setIndexDirsBytes

        public DataFormats.CookieFormat.Builder setIndexDirsBytes​(com.google.protobuf.ByteString value)
        optional string indexDirs = 5;
        Parameters:
        value - The bytes for indexDirs to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DataFormats.CookieFormat.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<DataFormats.CookieFormat.Builder>
      • mergeUnknownFields

        public final DataFormats.CookieFormat.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<DataFormats.CookieFormat.Builder>