Class View.Builder

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

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

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

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

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

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

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

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

        public View.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<View.Builder>
        Throws:
        IOException
      • getViewIdBytes

        public com.google.protobuf.ByteString getViewIdBytes()
        string viewId = 1;
        Specified by:
        getViewIdBytes in interface ViewOrBuilder
        Returns:
        The bytes for viewId.
      • setViewId

        public View.Builder setViewId​(String value)
        string viewId = 1;
        Parameters:
        value - The viewId to set.
        Returns:
        This builder for chaining.
      • clearViewId

        public View.Builder clearViewId()
        string viewId = 1;
        Returns:
        This builder for chaining.
      • setViewIdBytes

        public View.Builder setViewIdBytes​(com.google.protobuf.ByteString value)
        string viewId = 1;
        Parameters:
        value - The bytes for viewId to set.
        Returns:
        This builder for chaining.
      • getStatusValue

        public int getStatusValue()
        .hstream.server.TaskStatusPB status = 2;
        Specified by:
        getStatusValue in interface ViewOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public View.Builder setStatusValue​(int value)
        .hstream.server.TaskStatusPB status = 2;
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • setStatus

        public View.Builder setStatus​(TaskStatusPB value)
        .hstream.server.TaskStatusPB status = 2;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public View.Builder clearStatus()
        .hstream.server.TaskStatusPB status = 2;
        Returns:
        This builder for chaining.
      • getCreatedTime

        public long getCreatedTime()
        int64 createdTime = 3;
        Specified by:
        getCreatedTime in interface ViewOrBuilder
        Returns:
        The createdTime.
      • setCreatedTime

        public View.Builder setCreatedTime​(long value)
        int64 createdTime = 3;
        Parameters:
        value - The createdTime to set.
        Returns:
        This builder for chaining.
      • clearCreatedTime

        public View.Builder clearCreatedTime()
        int64 createdTime = 3;
        Returns:
        This builder for chaining.
      • getSqlBytes

        public com.google.protobuf.ByteString getSqlBytes()
        string sql = 4;
        Specified by:
        getSqlBytes in interface ViewOrBuilder
        Returns:
        The bytes for sql.
      • setSql

        public View.Builder setSql​(String value)
        string sql = 4;
        Parameters:
        value - The sql to set.
        Returns:
        This builder for chaining.
      • clearSql

        public View.Builder clearSql()
        string sql = 4;
        Returns:
        This builder for chaining.
      • setSqlBytes

        public View.Builder setSqlBytes​(com.google.protobuf.ByteString value)
        string sql = 4;
        Parameters:
        value - The bytes for sql to set.
        Returns:
        This builder for chaining.
      • getSchemaList

        public com.google.protobuf.ProtocolStringList getSchemaList()
        repeated string schema = 5;
        Specified by:
        getSchemaList in interface ViewOrBuilder
        Returns:
        A list containing the schema.
      • getSchemaCount

        public int getSchemaCount()
        repeated string schema = 5;
        Specified by:
        getSchemaCount in interface ViewOrBuilder
        Returns:
        The count of schema.
      • getSchema

        public String getSchema​(int index)
        repeated string schema = 5;
        Specified by:
        getSchema in interface ViewOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The schema at the given index.
      • getSchemaBytes

        public com.google.protobuf.ByteString getSchemaBytes​(int index)
        repeated string schema = 5;
        Specified by:
        getSchemaBytes in interface ViewOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the schema at the given index.
      • setSchema

        public View.Builder setSchema​(int index,
                                      String value)
        repeated string schema = 5;
        Parameters:
        index - The index to set the value at.
        value - The schema to set.
        Returns:
        This builder for chaining.
      • addSchema

        public View.Builder addSchema​(String value)
        repeated string schema = 5;
        Parameters:
        value - The schema to add.
        Returns:
        This builder for chaining.
      • addAllSchema

        public View.Builder addAllSchema​(Iterable<String> values)
        repeated string schema = 5;
        Parameters:
        values - The schema to add.
        Returns:
        This builder for chaining.
      • clearSchema

        public View.Builder clearSchema()
        repeated string schema = 5;
        Returns:
        This builder for chaining.
      • addSchemaBytes

        public View.Builder addSchemaBytes​(com.google.protobuf.ByteString value)
        repeated string schema = 5;
        Parameters:
        value - The bytes of the schema to add.
        Returns:
        This builder for chaining.
      • getQueryNameBytes

        public com.google.protobuf.ByteString getQueryNameBytes()
        string queryName = 6;
        Specified by:
        getQueryNameBytes in interface ViewOrBuilder
        Returns:
        The bytes for queryName.
      • setQueryName

        public View.Builder setQueryName​(String value)
        string queryName = 6;
        Parameters:
        value - The queryName to set.
        Returns:
        This builder for chaining.
      • clearQueryName

        public View.Builder clearQueryName()
        string queryName = 6;
        Returns:
        This builder for chaining.
      • setQueryNameBytes

        public View.Builder setQueryNameBytes​(com.google.protobuf.ByteString value)
        string queryName = 6;
        Parameters:
        value - The bytes for queryName to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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