Package s2.v1alpha
Class ListStreamsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ListStreamsRequest.Builder>
-
- s2.v1alpha.ListStreamsRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,ListStreamsRequestOrBuilder
- Enclosing class:
- ListStreamsRequest
public static final class ListStreamsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListStreamsRequest.Builder> implements ListStreamsRequestOrBuilder
List streams request.
Protobuf types2.v1alpha.ListStreamsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStreamsRequest
build()
ListStreamsRequest
buildPartial()
ListStreamsRequest.Builder
clear()
ListStreamsRequest.Builder
clearLimit()
Number of results, up to a maximum of 1000.ListStreamsRequest.Builder
clearPrefix()
List stream names that begin with this prefix.ListStreamsRequest.Builder
clearStartAfter()
Only return stream names that lexicographically start after this name.ListStreamsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getLimit()
Number of results, up to a maximum of 1000.java.lang.String
getPrefix()
List stream names that begin with this prefix.com.google.protobuf.ByteString
getPrefixBytes()
List stream names that begin with this prefix.java.lang.String
getStartAfter()
Only return stream names that lexicographically start after this name.com.google.protobuf.ByteString
getStartAfterBytes()
Only return stream names that lexicographically start after this name.boolean
hasLimit()
Number of results, up to a maximum of 1000.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListStreamsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListStreamsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListStreamsRequest.Builder
mergeFrom(ListStreamsRequest other)
ListStreamsRequest.Builder
setLimit(long value)
Number of results, up to a maximum of 1000.ListStreamsRequest.Builder
setPrefix(java.lang.String value)
List stream names that begin with this prefix.ListStreamsRequest.Builder
setPrefixBytes(com.google.protobuf.ByteString value)
List stream names that begin with this prefix.ListStreamsRequest.Builder
setStartAfter(java.lang.String value)
Only return stream names that lexicographically start after this name.ListStreamsRequest.Builder
setStartAfterBytes(com.google.protobuf.ByteString value)
Only return stream names that lexicographically start after this name.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ListStreamsRequest.Builder>
-
clear
public ListStreamsRequest.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.GeneratedMessage.Builder<ListStreamsRequest.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.GeneratedMessage.Builder<ListStreamsRequest.Builder>
-
getDefaultInstanceForType
public ListStreamsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListStreamsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListStreamsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ListStreamsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListStreamsRequest.Builder>
-
mergeFrom
public ListStreamsRequest.Builder mergeFrom(ListStreamsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ListStreamsRequest.Builder>
-
mergeFrom
public ListStreamsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<ListStreamsRequest.Builder>
- Throws:
java.io.IOException
-
getPrefix
public java.lang.String getPrefix()
List stream names that begin with this prefix.
string prefix = 1;
- Specified by:
getPrefix
in interfaceListStreamsRequestOrBuilder
- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()
List stream names that begin with this prefix.
string prefix = 1;
- Specified by:
getPrefixBytes
in interfaceListStreamsRequestOrBuilder
- Returns:
- The bytes for prefix.
-
setPrefix
public ListStreamsRequest.Builder setPrefix(java.lang.String value)
List stream names that begin with this prefix.
string prefix = 1;
- Parameters:
value
- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
public ListStreamsRequest.Builder clearPrefix()
List stream names that begin with this prefix.
string prefix = 1;
- Returns:
- This builder for chaining.
-
setPrefixBytes
public ListStreamsRequest.Builder setPrefixBytes(com.google.protobuf.ByteString value)
List stream names that begin with this prefix.
string prefix = 1;
- Parameters:
value
- The bytes for prefix to set.- Returns:
- This builder for chaining.
-
getStartAfter
public java.lang.String getStartAfter()
Only return stream names that lexicographically start after this name. This can be the last stream name seen in a previous listing, to continue from there. It must be greater than or equal to the prefix if specified.
string start_after = 2;
- Specified by:
getStartAfter
in interfaceListStreamsRequestOrBuilder
- Returns:
- The startAfter.
-
getStartAfterBytes
public com.google.protobuf.ByteString getStartAfterBytes()
Only return stream names that lexicographically start after this name. This can be the last stream name seen in a previous listing, to continue from there. It must be greater than or equal to the prefix if specified.
string start_after = 2;
- Specified by:
getStartAfterBytes
in interfaceListStreamsRequestOrBuilder
- Returns:
- The bytes for startAfter.
-
setStartAfter
public ListStreamsRequest.Builder setStartAfter(java.lang.String value)
Only return stream names that lexicographically start after this name. This can be the last stream name seen in a previous listing, to continue from there. It must be greater than or equal to the prefix if specified.
string start_after = 2;
- Parameters:
value
- The startAfter to set.- Returns:
- This builder for chaining.
-
clearStartAfter
public ListStreamsRequest.Builder clearStartAfter()
Only return stream names that lexicographically start after this name. This can be the last stream name seen in a previous listing, to continue from there. It must be greater than or equal to the prefix if specified.
string start_after = 2;
- Returns:
- This builder for chaining.
-
setStartAfterBytes
public ListStreamsRequest.Builder setStartAfterBytes(com.google.protobuf.ByteString value)
Only return stream names that lexicographically start after this name. This can be the last stream name seen in a previous listing, to continue from there. It must be greater than or equal to the prefix if specified.
string start_after = 2;
- Parameters:
value
- The bytes for startAfter to set.- Returns:
- This builder for chaining.
-
hasLimit
public boolean hasLimit()
Number of results, up to a maximum of 1000.
optional uint64 limit = 3;
- Specified by:
hasLimit
in interfaceListStreamsRequestOrBuilder
- Returns:
- Whether the limit field is set.
-
getLimit
public long getLimit()
Number of results, up to a maximum of 1000.
optional uint64 limit = 3;
- Specified by:
getLimit
in interfaceListStreamsRequestOrBuilder
- Returns:
- The limit.
-
setLimit
public ListStreamsRequest.Builder setLimit(long value)
Number of results, up to a maximum of 1000.
optional uint64 limit = 3;
- Parameters:
value
- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
public ListStreamsRequest.Builder clearLimit()
Number of results, up to a maximum of 1000.
optional uint64 limit = 3;
- Returns:
- This builder for chaining.
-
-