Class Connector.Builder

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

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

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

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

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

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

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

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

        public Connector.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<Connector.Builder>
        Throws:
        IOException
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        string name = 1;
        Specified by:
        getNameBytes in interface ConnectorOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Connector.Builder setName​(String value)
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Connector.Builder clearName()
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Connector.Builder setNameBytes​(com.google.protobuf.ByteString value)
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getTypeBytes

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

        public Connector.Builder setType​(String value)
        string type = 2;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Connector.Builder clearType()
        string type = 2;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public Connector.Builder setTypeBytes​(com.google.protobuf.ByteString value)
        string type = 2;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • getTargetBytes

        public com.google.protobuf.ByteString getTargetBytes()
        string target = 3;
        Specified by:
        getTargetBytes in interface ConnectorOrBuilder
        Returns:
        The bytes for target.
      • setTarget

        public Connector.Builder setTarget​(String value)
        string target = 3;
        Parameters:
        value - The target to set.
        Returns:
        This builder for chaining.
      • clearTarget

        public Connector.Builder clearTarget()
        string target = 3;
        Returns:
        This builder for chaining.
      • setTargetBytes

        public Connector.Builder setTargetBytes​(com.google.protobuf.ByteString value)
        string target = 3;
        Parameters:
        value - The bytes for target to set.
        Returns:
        This builder for chaining.
      • hasCreationTime

        public boolean hasCreationTime()
        .google.protobuf.Timestamp creationTime = 4;
        Specified by:
        hasCreationTime in interface ConnectorOrBuilder
        Returns:
        Whether the creationTime field is set.
      • getCreationTime

        public com.google.protobuf.Timestamp getCreationTime()
        .google.protobuf.Timestamp creationTime = 4;
        Specified by:
        getCreationTime in interface ConnectorOrBuilder
        Returns:
        The creationTime.
      • setCreationTime

        public Connector.Builder setCreationTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp creationTime = 4;
      • setCreationTime

        public Connector.Builder setCreationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
        .google.protobuf.Timestamp creationTime = 4;
      • mergeCreationTime

        public Connector.Builder mergeCreationTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp creationTime = 4;
      • clearCreationTime

        public Connector.Builder clearCreationTime()
        .google.protobuf.Timestamp creationTime = 4;
      • getCreationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder()
        .google.protobuf.Timestamp creationTime = 4;
      • getCreationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
        .google.protobuf.Timestamp creationTime = 4;
        Specified by:
        getCreationTimeOrBuilder in interface ConnectorOrBuilder
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
        string status = 5;
        Specified by:
        getStatusBytes in interface ConnectorOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public Connector.Builder setStatus​(String value)
        string status = 5;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Connector.Builder clearStatus()
        string status = 5;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public Connector.Builder setStatusBytes​(com.google.protobuf.ByteString value)
        string status = 5;
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • getConfigBytes

        public com.google.protobuf.ByteString getConfigBytes()
        string config = 6;
        Specified by:
        getConfigBytes in interface ConnectorOrBuilder
        Returns:
        The bytes for config.
      • setConfig

        public Connector.Builder setConfig​(String value)
        string config = 6;
        Parameters:
        value - The config to set.
        Returns:
        This builder for chaining.
      • clearConfig

        public Connector.Builder clearConfig()
        string config = 6;
        Returns:
        This builder for chaining.
      • setConfigBytes

        public Connector.Builder setConfigBytes​(com.google.protobuf.ByteString value)
        string config = 6;
        Parameters:
        value - The bytes for config to set.
        Returns:
        This builder for chaining.
      • getOffsetsList

        public List<com.google.protobuf.Struct> getOffsetsList()
        repeated .google.protobuf.Struct offsets = 7;
        Specified by:
        getOffsetsList in interface ConnectorOrBuilder
      • getOffsets

        public com.google.protobuf.Struct getOffsets​(int index)
        repeated .google.protobuf.Struct offsets = 7;
        Specified by:
        getOffsets in interface ConnectorOrBuilder
      • setOffsets

        public Connector.Builder setOffsets​(int index,
                                            com.google.protobuf.Struct value)
        repeated .google.protobuf.Struct offsets = 7;
      • setOffsets

        public Connector.Builder setOffsets​(int index,
                                            com.google.protobuf.Struct.Builder builderForValue)
        repeated .google.protobuf.Struct offsets = 7;
      • addOffsets

        public Connector.Builder addOffsets​(com.google.protobuf.Struct value)
        repeated .google.protobuf.Struct offsets = 7;
      • addOffsets

        public Connector.Builder addOffsets​(int index,
                                            com.google.protobuf.Struct value)
        repeated .google.protobuf.Struct offsets = 7;
      • addOffsets

        public Connector.Builder addOffsets​(com.google.protobuf.Struct.Builder builderForValue)
        repeated .google.protobuf.Struct offsets = 7;
      • addOffsets

        public Connector.Builder addOffsets​(int index,
                                            com.google.protobuf.Struct.Builder builderForValue)
        repeated .google.protobuf.Struct offsets = 7;
      • addAllOffsets

        public Connector.Builder addAllOffsets​(Iterable<? extends com.google.protobuf.Struct> values)
        repeated .google.protobuf.Struct offsets = 7;
      • clearOffsets

        public Connector.Builder clearOffsets()
        repeated .google.protobuf.Struct offsets = 7;
      • removeOffsets

        public Connector.Builder removeOffsets​(int index)
        repeated .google.protobuf.Struct offsets = 7;
      • getOffsetsBuilder

        public com.google.protobuf.Struct.Builder getOffsetsBuilder​(int index)
        repeated .google.protobuf.Struct offsets = 7;
      • getOffsetsOrBuilder

        public com.google.protobuf.StructOrBuilder getOffsetsOrBuilder​(int index)
        repeated .google.protobuf.Struct offsets = 7;
        Specified by:
        getOffsetsOrBuilder in interface ConnectorOrBuilder
      • getOffsetsOrBuilderList

        public List<? extends com.google.protobuf.StructOrBuilder> getOffsetsOrBuilderList()
        repeated .google.protobuf.Struct offsets = 7;
        Specified by:
        getOffsetsOrBuilderList in interface ConnectorOrBuilder
      • addOffsetsBuilder

        public com.google.protobuf.Struct.Builder addOffsetsBuilder()
        repeated .google.protobuf.Struct offsets = 7;
      • addOffsetsBuilder

        public com.google.protobuf.Struct.Builder addOffsetsBuilder​(int index)
        repeated .google.protobuf.Struct offsets = 7;
      • getOffsetsBuilderList

        public List<com.google.protobuf.Struct.Builder> getOffsetsBuilderList()
        repeated .google.protobuf.Struct offsets = 7;
      • getTaskIdBytes

        public com.google.protobuf.ByteString getTaskIdBytes()
        string taskId = 8;
        Specified by:
        getTaskIdBytes in interface ConnectorOrBuilder
        Returns:
        The bytes for taskId.
      • setTaskId

        public Connector.Builder setTaskId​(String value)
        string taskId = 8;
        Parameters:
        value - The taskId to set.
        Returns:
        This builder for chaining.
      • clearTaskId

        public Connector.Builder clearTaskId()
        string taskId = 8;
        Returns:
        This builder for chaining.
      • setTaskIdBytes

        public Connector.Builder setTaskIdBytes​(com.google.protobuf.ByteString value)
        string taskId = 8;
        Parameters:
        value - The bytes for taskId to set.
        Returns:
        This builder for chaining.
      • getNodeBytes

        public com.google.protobuf.ByteString getNodeBytes()
        string node = 9;
        Specified by:
        getNodeBytes in interface ConnectorOrBuilder
        Returns:
        The bytes for node.
      • setNode

        public Connector.Builder setNode​(String value)
        string node = 9;
        Parameters:
        value - The node to set.
        Returns:
        This builder for chaining.
      • clearNode

        public Connector.Builder clearNode()
        string node = 9;
        Returns:
        This builder for chaining.
      • setNodeBytes

        public Connector.Builder setNodeBytes​(com.google.protobuf.ByteString value)
        string node = 9;
        Parameters:
        value - The bytes for node to set.
        Returns:
        This builder for chaining.
      • getDockerStatusBytes

        public com.google.protobuf.ByteString getDockerStatusBytes()
        string dockerStatus = 10;
        Specified by:
        getDockerStatusBytes in interface ConnectorOrBuilder
        Returns:
        The bytes for dockerStatus.
      • setDockerStatus

        public Connector.Builder setDockerStatus​(String value)
        string dockerStatus = 10;
        Parameters:
        value - The dockerStatus to set.
        Returns:
        This builder for chaining.
      • clearDockerStatus

        public Connector.Builder clearDockerStatus()
        string dockerStatus = 10;
        Returns:
        This builder for chaining.
      • setDockerStatusBytes

        public Connector.Builder setDockerStatusBytes​(com.google.protobuf.ByteString value)
        string dockerStatus = 10;
        Parameters:
        value - The bytes for dockerStatus to set.
        Returns:
        This builder for chaining.
      • getImageBytes

        public com.google.protobuf.ByteString getImageBytes()
        string image = 11;
        Specified by:
        getImageBytes in interface ConnectorOrBuilder
        Returns:
        The bytes for image.
      • setImage

        public Connector.Builder setImage​(String value)
        string image = 11;
        Parameters:
        value - The image to set.
        Returns:
        This builder for chaining.
      • clearImage

        public Connector.Builder clearImage()
        string image = 11;
        Returns:
        This builder for chaining.
      • setImageBytes

        public Connector.Builder setImageBytes​(com.google.protobuf.ByteString value)
        string image = 11;
        Parameters:
        value - The bytes for image to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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