Package io.hstream.internal
Class ListShardReadersResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListShardReadersResponse.Builder>
-
- io.hstream.internal.ListShardReadersResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ListShardReadersResponseOrBuilder
,Cloneable
- Enclosing class:
- ListShardReadersResponse
public static final class ListShardReadersResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListShardReadersResponse.Builder> implements ListShardReadersResponseOrBuilder
Protobuf typehstream.server.ListShardReadersResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListShardReadersResponse.Builder
addAllReaderId(Iterable<String> values)
repeated string readerId = 1;
ListShardReadersResponse.Builder
addReaderId(String value)
repeated string readerId = 1;
ListShardReadersResponse.Builder
addReaderIdBytes(com.google.protobuf.ByteString value)
repeated string readerId = 1;
ListShardReadersResponse
build()
ListShardReadersResponse
buildPartial()
ListShardReadersResponse.Builder
clear()
ListShardReadersResponse.Builder
clearReaderId()
repeated string readerId = 1;
ListShardReadersResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getReaderId(int index)
repeated string readerId = 1;
com.google.protobuf.ByteString
getReaderIdBytes(int index)
repeated string readerId = 1;
int
getReaderIdCount()
repeated string readerId = 1;
com.google.protobuf.ProtocolStringList
getReaderIdList()
repeated string readerId = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListShardReadersResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListShardReadersResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListShardReadersResponse.Builder
mergeFrom(ListShardReadersResponse other)
ListShardReadersResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListShardReadersResponse.Builder
setReaderId(int index, String value)
repeated string readerId = 1;
ListShardReadersResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListShardReadersResponse.Builder>
-
clear
public ListShardReadersResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListShardReadersResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListShardReadersResponse.Builder>
-
getDefaultInstanceForType
public ListShardReadersResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListShardReadersResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListShardReadersResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ListShardReadersResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListShardReadersResponse.Builder>
-
mergeFrom
public ListShardReadersResponse.Builder mergeFrom(ListShardReadersResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListShardReadersResponse.Builder>
-
mergeFrom
public ListShardReadersResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListShardReadersResponse.Builder>
- Throws:
IOException
-
getReaderIdList
public com.google.protobuf.ProtocolStringList getReaderIdList()
repeated string readerId = 1;
- Specified by:
getReaderIdList
in interfaceListShardReadersResponseOrBuilder
- Returns:
- A list containing the readerId.
-
getReaderIdCount
public int getReaderIdCount()
repeated string readerId = 1;
- Specified by:
getReaderIdCount
in interfaceListShardReadersResponseOrBuilder
- Returns:
- The count of readerId.
-
getReaderId
public String getReaderId(int index)
repeated string readerId = 1;
- Specified by:
getReaderId
in interfaceListShardReadersResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The readerId at the given index.
-
getReaderIdBytes
public com.google.protobuf.ByteString getReaderIdBytes(int index)
repeated string readerId = 1;
- Specified by:
getReaderIdBytes
in interfaceListShardReadersResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the readerId at the given index.
-
setReaderId
public ListShardReadersResponse.Builder setReaderId(int index, String value)
repeated string readerId = 1;
- Parameters:
index
- The index to set the value at.value
- The readerId to set.- Returns:
- This builder for chaining.
-
addReaderId
public ListShardReadersResponse.Builder addReaderId(String value)
repeated string readerId = 1;
- Parameters:
value
- The readerId to add.- Returns:
- This builder for chaining.
-
addAllReaderId
public ListShardReadersResponse.Builder addAllReaderId(Iterable<String> values)
repeated string readerId = 1;
- Parameters:
values
- The readerId to add.- Returns:
- This builder for chaining.
-
clearReaderId
public ListShardReadersResponse.Builder clearReaderId()
repeated string readerId = 1;
- Returns:
- This builder for chaining.
-
addReaderIdBytes
public ListShardReadersResponse.Builder addReaderIdBytes(com.google.protobuf.ByteString value)
repeated string readerId = 1;
- Parameters:
value
- The bytes of the readerId to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListShardReadersResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListShardReadersResponse.Builder>
-
mergeUnknownFields
public final ListShardReadersResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListShardReadersResponse.Builder>
-
-