Package s2.v1alpha
Class CreateBasinRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateBasinRequest.Builder>
s2.v1alpha.CreateBasinRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,CreateBasinRequestOrBuilder
- Enclosing class:
- CreateBasinRequest
public static final class CreateBasinRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CreateBasinRequest.Builder>
implements CreateBasinRequestOrBuilder
Create basin request.Protobuf type
s2.v1alpha.CreateBasinRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Basin name, which must be globally unique.Explicit cell assignment, if it is owned by the account.Basin configuration.Basin scope.getBasin()Basin name, which must be globally unique.com.google.protobuf.ByteStringBasin name, which must be globally unique.getCell()Explicit cell assignment, if it is owned by the account.com.google.protobuf.ByteStringExplicit cell assignment, if it is owned by the account.Basin configuration.Basin configuration.Basin configuration.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetScope()Basin scope.com.google.protobuf.ByteStringBasin scope.booleanhasCell()Explicit cell assignment, if it is owned by the account.booleanBasin configuration.booleanhasScope()Basin scope.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeConfig(BasinConfig value) Basin configuration.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CreateBasinRequest other) Basin name, which must be globally unique.setBasinBytes(com.google.protobuf.ByteString value) Basin name, which must be globally unique.Explicit cell assignment, if it is owned by the account.setCellBytes(com.google.protobuf.ByteString value) Explicit cell assignment, if it is owned by the account.setConfig(BasinConfig value) Basin configuration.setConfig(BasinConfig.Builder builderForValue) Basin configuration.Basin scope.setScopeBytes(com.google.protobuf.ByteString value) Basin scope.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CreateBasinRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CreateBasinRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CreateBasinRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateBasinRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateBasinRequest.Builder>
-
mergeFrom
public CreateBasinRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateBasinRequest.Builder>- Throws:
IOException
-
getAssignmentCase
- Specified by:
getAssignmentCasein interfaceCreateBasinRequestOrBuilder
-
clearAssignment
-
getBasin
Basin name, which must be globally unique. It can be omitted to let the service assign a unique name. The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens. It cannot begin or end with a hyphen.
string basin = 1;- Specified by:
getBasinin interfaceCreateBasinRequestOrBuilder- Returns:
- The basin.
-
getBasinBytes
public com.google.protobuf.ByteString getBasinBytes()Basin name, which must be globally unique. It can be omitted to let the service assign a unique name. The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens. It cannot begin or end with a hyphen.
string basin = 1;- Specified by:
getBasinBytesin interfaceCreateBasinRequestOrBuilder- Returns:
- The bytes for basin.
-
setBasin
Basin name, which must be globally unique. It can be omitted to let the service assign a unique name. The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens. It cannot begin or end with a hyphen.
string basin = 1;- Parameters:
value- The basin to set.- Returns:
- This builder for chaining.
-
clearBasin
Basin name, which must be globally unique. It can be omitted to let the service assign a unique name. The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens. It cannot begin or end with a hyphen.
string basin = 1;- Returns:
- This builder for chaining.
-
setBasinBytes
Basin name, which must be globally unique. It can be omitted to let the service assign a unique name. The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens. It cannot begin or end with a hyphen.
string basin = 1;- Parameters:
value- The bytes for basin to set.- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig()Basin configuration.
.s2.v1alpha.BasinConfig config = 2;- Specified by:
hasConfigin interfaceCreateBasinRequestOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
Basin configuration.
.s2.v1alpha.BasinConfig config = 2;- Specified by:
getConfigin interfaceCreateBasinRequestOrBuilder- Returns:
- The config.
-
setConfig
Basin configuration.
.s2.v1alpha.BasinConfig config = 2; -
setConfig
Basin configuration.
.s2.v1alpha.BasinConfig config = 2; -
mergeConfig
Basin configuration.
.s2.v1alpha.BasinConfig config = 2; -
clearConfig
Basin configuration.
.s2.v1alpha.BasinConfig config = 2; -
getConfigBuilder
Basin configuration.
.s2.v1alpha.BasinConfig config = 2; -
getConfigOrBuilder
Basin configuration.
.s2.v1alpha.BasinConfig config = 2;- Specified by:
getConfigOrBuilderin interfaceCreateBasinRequestOrBuilder
-
hasScope
public boolean hasScope()Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".string scope = 3;- Specified by:
hasScopein interfaceCreateBasinRequestOrBuilder- Returns:
- Whether the scope field is set.
-
getScope
Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".string scope = 3;- Specified by:
getScopein interfaceCreateBasinRequestOrBuilder- Returns:
- The scope.
-
getScopeBytes
public com.google.protobuf.ByteString getScopeBytes()Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".string scope = 3;- Specified by:
getScopeBytesin interfaceCreateBasinRequestOrBuilder- Returns:
- The bytes for scope.
-
setScope
Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".string scope = 3;- Parameters:
value- The scope to set.- Returns:
- This builder for chaining.
-
clearScope
Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".string scope = 3;- Returns:
- This builder for chaining.
-
setScopeBytes
Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".string scope = 3;- Parameters:
value- The bytes for scope to set.- Returns:
- This builder for chaining.
-
hasCell
public boolean hasCell()Explicit cell assignment, if it is owned by the account.
string cell = 4;- Specified by:
hasCellin interfaceCreateBasinRequestOrBuilder- Returns:
- Whether the cell field is set.
-
getCell
Explicit cell assignment, if it is owned by the account.
string cell = 4;- Specified by:
getCellin interfaceCreateBasinRequestOrBuilder- Returns:
- The cell.
-
getCellBytes
public com.google.protobuf.ByteString getCellBytes()Explicit cell assignment, if it is owned by the account.
string cell = 4;- Specified by:
getCellBytesin interfaceCreateBasinRequestOrBuilder- Returns:
- The bytes for cell.
-
setCell
Explicit cell assignment, if it is owned by the account.
string cell = 4;- Parameters:
value- The cell to set.- Returns:
- This builder for chaining.
-
clearCell
Explicit cell assignment, if it is owned by the account.
string cell = 4;- Returns:
- This builder for chaining.
-
setCellBytes
Explicit cell assignment, if it is owned by the account.
string cell = 4;- Parameters:
value- The bytes for cell to set.- Returns:
- This builder for chaining.
-