Class AppendResponse.Builder

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

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

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

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

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

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

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

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

        public AppendResponse.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<AppendResponse.Builder>
        Throws:
        IOException
      • getStreamNameBytes

        public com.google.protobuf.ByteString getStreamNameBytes()
        string streamName = 1;
        Specified by:
        getStreamNameBytes in interface AppendResponseOrBuilder
        Returns:
        The bytes for streamName.
      • setStreamName

        public AppendResponse.Builder setStreamName​(String value)
        string streamName = 1;
        Parameters:
        value - The streamName to set.
        Returns:
        This builder for chaining.
      • clearStreamName

        public AppendResponse.Builder clearStreamName()
        string streamName = 1;
        Returns:
        This builder for chaining.
      • setStreamNameBytes

        public AppendResponse.Builder setStreamNameBytes​(com.google.protobuf.ByteString value)
        string streamName = 1;
        Parameters:
        value - The bytes for streamName to set.
        Returns:
        This builder for chaining.
      • setShardId

        public AppendResponse.Builder setShardId​(long value)
        uint64 shardId = 2;
        Parameters:
        value - The shardId to set.
        Returns:
        This builder for chaining.
      • clearShardId

        public AppendResponse.Builder clearShardId()
        uint64 shardId = 2;
        Returns:
        This builder for chaining.
      • clearRecordIds

        public AppendResponse.Builder clearRecordIds()
        repeated .hstream.server.RecordId recordIds = 3;
      • removeRecordIds

        public AppendResponse.Builder removeRecordIds​(int index)
        repeated .hstream.server.RecordId recordIds = 3;
      • getRecordIdsBuilder

        public RecordId.Builder getRecordIdsBuilder​(int index)
        repeated .hstream.server.RecordId recordIds = 3;
      • addRecordIdsBuilder

        public RecordId.Builder addRecordIdsBuilder()
        repeated .hstream.server.RecordId recordIds = 3;
      • addRecordIdsBuilder

        public RecordId.Builder addRecordIdsBuilder​(int index)
        repeated .hstream.server.RecordId recordIds = 3;
      • getRecordIdsBuilderList

        public List<RecordId.Builder> getRecordIdsBuilderList()
        repeated .hstream.server.RecordId recordIds = 3;
      • setUnknownFields

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

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