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.ByteString
Basin name, which must be globally unique.getCell()
Explicit cell assignment, if it is owned by the account.com.google.protobuf.ByteString
Explicit cell assignment, if it is owned by the account.Basin configuration.Basin configuration.Basin configuration.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getScope()
Basin scope.com.google.protobuf.ByteString
Basin scope.boolean
hasCell()
Explicit cell assignment, if it is owned by the account.boolean
Basin configuration.boolean
hasScope()
Basin scope.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeConfig
(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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<CreateBasinRequest.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<CreateBasinRequest.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<CreateBasinRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateBasinRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateBasinRequest.Builder>
- Throws:
IOException
-
getAssignmentCase
- Specified by:
getAssignmentCase
in 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:
getBasin
in 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:
getBasinBytes
in 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:
hasConfig
in interfaceCreateBasinRequestOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
Basin configuration.
.s2.v1alpha.BasinConfig config = 2;
- Specified by:
getConfig
in 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:
getConfigOrBuilder
in 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:
hasScope
in 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:
getScope
in 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:
getScopeBytes
in 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:
hasCell
in interfaceCreateBasinRequestOrBuilder
- Returns:
- Whether the cell field is set.
-
getCell
Explicit cell assignment, if it is owned by the account.
string cell = 4;
- Specified by:
getCell
in 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:
getCellBytes
in 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.
-