Package s2.v1alpha
Class ListBasinsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ListBasinsRequest.Builder>
-
- s2.v1alpha.ListBasinsRequest.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
,ListBasinsRequestOrBuilder
- Enclosing class:
- ListBasinsRequest
public static final class ListBasinsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListBasinsRequest.Builder> implements ListBasinsRequestOrBuilder
List basins request.
Protobuf types2.v1alpha.ListBasinsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBasinsRequest
build()
ListBasinsRequest
buildPartial()
ListBasinsRequest.Builder
clear()
ListBasinsRequest.Builder
clearLimit()
Number of results, up to a maximum of 1000.ListBasinsRequest.Builder
clearPrefix()
List basin names that begin with this prefix.ListBasinsRequest.Builder
clearStartAfter()
Only return basins names that lexicographically start after this name.ListBasinsRequest
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 basin names that begin with this prefix.com.google.protobuf.ByteString
getPrefixBytes()
List basin names that begin with this prefix.java.lang.String
getStartAfter()
Only return basins names that lexicographically start after this name.com.google.protobuf.ByteString
getStartAfterBytes()
Only return basins 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()
ListBasinsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListBasinsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListBasinsRequest.Builder
mergeFrom(ListBasinsRequest other)
ListBasinsRequest.Builder
setLimit(long value)
Number of results, up to a maximum of 1000.ListBasinsRequest.Builder
setPrefix(java.lang.String value)
List basin names that begin with this prefix.ListBasinsRequest.Builder
setPrefixBytes(com.google.protobuf.ByteString value)
List basin names that begin with this prefix.ListBasinsRequest.Builder
setStartAfter(java.lang.String value)
Only return basins names that lexicographically start after this name.ListBasinsRequest.Builder
setStartAfterBytes(com.google.protobuf.ByteString value)
Only return basins 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<ListBasinsRequest.Builder>
-
clear
public ListBasinsRequest.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<ListBasinsRequest.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<ListBasinsRequest.Builder>
-
getDefaultInstanceForType
public ListBasinsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListBasinsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListBasinsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ListBasinsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListBasinsRequest.Builder>
-
mergeFrom
public ListBasinsRequest.Builder mergeFrom(ListBasinsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ListBasinsRequest.Builder>
-
mergeFrom
public ListBasinsRequest.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<ListBasinsRequest.Builder>
- Throws:
java.io.IOException
-
getPrefix
public java.lang.String getPrefix()
List basin names that begin with this prefix.
string prefix = 1;
- Specified by:
getPrefix
in interfaceListBasinsRequestOrBuilder
- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()
List basin names that begin with this prefix.
string prefix = 1;
- Specified by:
getPrefixBytes
in interfaceListBasinsRequestOrBuilder
- Returns:
- The bytes for prefix.
-
setPrefix
public ListBasinsRequest.Builder setPrefix(java.lang.String value)
List basin names that begin with this prefix.
string prefix = 1;
- Parameters:
value
- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
public ListBasinsRequest.Builder clearPrefix()
List basin names that begin with this prefix.
string prefix = 1;
- Returns:
- This builder for chaining.
-
setPrefixBytes
public ListBasinsRequest.Builder setPrefixBytes(com.google.protobuf.ByteString value)
List basin 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 basins names that lexicographically start after this name. This can be the last basin 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 interfaceListBasinsRequestOrBuilder
- Returns:
- The startAfter.
-
getStartAfterBytes
public com.google.protobuf.ByteString getStartAfterBytes()
Only return basins names that lexicographically start after this name. This can be the last basin 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 interfaceListBasinsRequestOrBuilder
- Returns:
- The bytes for startAfter.
-
setStartAfter
public ListBasinsRequest.Builder setStartAfter(java.lang.String value)
Only return basins names that lexicographically start after this name. This can be the last basin 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 ListBasinsRequest.Builder clearStartAfter()
Only return basins names that lexicographically start after this name. This can be the last basin 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 ListBasinsRequest.Builder setStartAfterBytes(com.google.protobuf.ByteString value)
Only return basins names that lexicographically start after this name. This can be the last basin 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 interfaceListBasinsRequestOrBuilder
- 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 interfaceListBasinsRequestOrBuilder
- Returns:
- The limit.
-
setLimit
public ListBasinsRequest.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 ListBasinsRequest.Builder clearLimit()
Number of results, up to a maximum of 1000.
optional uint64 limit = 3;
- Returns:
- This builder for chaining.
-
-