Package proto.stream.v1
Class Stream.ListStreamsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Stream.ListStreamsResponse,Stream.ListStreamsResponse.Builder>
proto.stream.v1.Stream.ListStreamsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Stream.ListStreamsResponseOrBuilder
- Enclosing class:
- Stream.ListStreamsResponse
public static final class Stream.ListStreamsResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Stream.ListStreamsResponse,Stream.ListStreamsResponse.Builder>
implements Stream.ListStreamsResponseOrBuilder
A ListStreamsResponse details streams registered.Protobuf type
proto.stream.v1.ListStreamsResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllNames
(Iterable<String> values) repeated string names = 1 [json_name = "names"];
repeated string names = 1 [json_name = "names"];
addNamesBytes
(com.google.protobuf.ByteString value) repeated string names = 1 [json_name = "names"];
repeated string names = 1 [json_name = "names"];
getNames
(int index) repeated string names = 1 [json_name = "names"];
com.google.protobuf.ByteString
getNamesBytes
(int index) repeated string names = 1 [json_name = "names"];
int
repeated string names = 1 [json_name = "names"];
repeated string names = 1 [json_name = "names"];
repeated string names = 1 [json_name = "names"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getNamesList
repeated string names = 1 [json_name = "names"];
- Specified by:
getNamesList
in interfaceStream.ListStreamsResponseOrBuilder
- Returns:
- A list containing the names.
-
getNamesCount
public int getNamesCount()repeated string names = 1 [json_name = "names"];
- Specified by:
getNamesCount
in interfaceStream.ListStreamsResponseOrBuilder
- Returns:
- The count of names.
-
getNames
repeated string names = 1 [json_name = "names"];
- Specified by:
getNames
in interfaceStream.ListStreamsResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The names at the given index.
-
getNamesBytes
public com.google.protobuf.ByteString getNamesBytes(int index) repeated string names = 1 [json_name = "names"];
- Specified by:
getNamesBytes
in interfaceStream.ListStreamsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the names at the given index.
-
setNames
repeated string names = 1 [json_name = "names"];
- Parameters:
index
- The index to set the value at.value
- The names to set.- Returns:
- This builder for chaining.
-
addNames
repeated string names = 1 [json_name = "names"];
- Parameters:
value
- The names to add.- Returns:
- This builder for chaining.
-
addAllNames
repeated string names = 1 [json_name = "names"];
- Parameters:
values
- The names to add.- Returns:
- This builder for chaining.
-
clearNames
repeated string names = 1 [json_name = "names"];
- Returns:
- This builder for chaining.
-
addNamesBytes
repeated string names = 1 [json_name = "names"];
- Parameters:
value
- The bytes of the names to add.- Returns:
- This builder for chaining.
-