Class Schema.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SchemaOrBuilder, Cloneable
    Enclosing class:
    Schema

    public static final class Schema.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
    implements SchemaOrBuilder
    Protobuf type hstream.server.Schema
    • 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<Schema.Builder>
      • clear

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

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

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

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

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

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

        public Schema.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<Schema.Builder>
        Throws:
        IOException
      • getOwnerBytes

        public com.google.protobuf.ByteString getOwnerBytes()
        string owner = 1;
        Specified by:
        getOwnerBytes in interface SchemaOrBuilder
        Returns:
        The bytes for owner.
      • setOwner

        public Schema.Builder setOwner​(String value)
        string owner = 1;
        Parameters:
        value - The owner to set.
        Returns:
        This builder for chaining.
      • clearOwner

        public Schema.Builder clearOwner()
        string owner = 1;
        Returns:
        This builder for chaining.
      • setOwnerBytes

        public Schema.Builder setOwnerBytes​(com.google.protobuf.ByteString value)
        string owner = 1;
        Parameters:
        value - The bytes for owner to set.
        Returns:
        This builder for chaining.
      • getColumnsCount

        public int getColumnsCount()
        repeated .hstream.server.ColumnCatalog columns = 2;
        Specified by:
        getColumnsCount in interface SchemaOrBuilder
      • setColumns

        public Schema.Builder setColumns​(int index,
                                         ColumnCatalog value)
        repeated .hstream.server.ColumnCatalog columns = 2;
      • addColumns

        public Schema.Builder addColumns​(int index,
                                         ColumnCatalog value)
        repeated .hstream.server.ColumnCatalog columns = 2;
      • clearColumns

        public Schema.Builder clearColumns()
        repeated .hstream.server.ColumnCatalog columns = 2;
      • removeColumns

        public Schema.Builder removeColumns​(int index)
        repeated .hstream.server.ColumnCatalog columns = 2;
      • getColumnsBuilder

        public ColumnCatalog.Builder getColumnsBuilder​(int index)
        repeated .hstream.server.ColumnCatalog columns = 2;
      • addColumnsBuilder

        public ColumnCatalog.Builder addColumnsBuilder()
        repeated .hstream.server.ColumnCatalog columns = 2;
      • addColumnsBuilder

        public ColumnCatalog.Builder addColumnsBuilder​(int index)
        repeated .hstream.server.ColumnCatalog columns = 2;
      • getColumnsBuilderList

        public List<ColumnCatalog.Builder> getColumnsBuilderList()
        repeated .hstream.server.ColumnCatalog columns = 2;
      • setUnknownFields

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

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