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
,java.lang.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 types2.v1alpha.CreateBasinRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateBasinRequest
build()
CreateBasinRequest
buildPartial()
CreateBasinRequest.Builder
clear()
CreateBasinRequest.Builder
clearAssignment()
CreateBasinRequest.Builder
clearBasin()
Basin name, which must be globally unique.CreateBasinRequest.Builder
clearCell()
Explicit cell assignment, if it is owned by the account.CreateBasinRequest.Builder
clearConfig()
Basin configuration.CreateBasinRequest.Builder
clearScope()
Basin scope.CreateBasinRequest.AssignmentCase
getAssignmentCase()
java.lang.String
getBasin()
Basin name, which must be globally unique.com.google.protobuf.ByteString
getBasinBytes()
Basin name, which must be globally unique.java.lang.String
getCell()
Explicit cell assignment, if it is owned by the account.com.google.protobuf.ByteString
getCellBytes()
Explicit cell assignment, if it is owned by the account.BasinConfig
getConfig()
Basin configuration.BasinConfig.Builder
getConfigBuilder()
Basin configuration.BasinConfigOrBuilder
getConfigOrBuilder()
Basin configuration.CreateBasinRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getScope()
Basin scope.com.google.protobuf.ByteString
getScopeBytes()
Basin scope.boolean
hasCell()
Explicit cell assignment, if it is owned by the account.boolean
hasConfig()
Basin configuration.boolean
hasScope()
Basin scope.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CreateBasinRequest.Builder
mergeConfig(BasinConfig value)
Basin configuration.CreateBasinRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CreateBasinRequest.Builder
mergeFrom(com.google.protobuf.Message other)
CreateBasinRequest.Builder
mergeFrom(CreateBasinRequest other)
CreateBasinRequest.Builder
setBasin(java.lang.String value)
Basin name, which must be globally unique.CreateBasinRequest.Builder
setBasinBytes(com.google.protobuf.ByteString value)
Basin name, which must be globally unique.CreateBasinRequest.Builder
setCell(java.lang.String value)
Explicit cell assignment, if it is owned by the account.CreateBasinRequest.Builder
setCellBytes(com.google.protobuf.ByteString value)
Explicit cell assignment, if it is owned by the account.CreateBasinRequest.Builder
setConfig(BasinConfig value)
Basin configuration.CreateBasinRequest.Builder
setConfig(BasinConfig.Builder builderForValue)
Basin configuration.CreateBasinRequest.Builder
setScope(java.lang.String value)
Basin scope.CreateBasinRequest.Builder
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
-
-
-
-
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<CreateBasinRequest.Builder>
-
clear
public 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
public CreateBasinRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateBasinRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateBasinRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public CreateBasinRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateBasinRequest.Builder>
-
mergeFrom
public CreateBasinRequest.Builder mergeFrom(CreateBasinRequest other)
-
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 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<CreateBasinRequest.Builder>
- Throws:
java.io.IOException
-
getAssignmentCase
public CreateBasinRequest.AssignmentCase getAssignmentCase()
- Specified by:
getAssignmentCase
in interfaceCreateBasinRequestOrBuilder
-
clearAssignment
public CreateBasinRequest.Builder clearAssignment()
-
getBasin
public java.lang.String 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
public CreateBasinRequest.Builder setBasin(java.lang.String value)
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
public CreateBasinRequest.Builder 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
public CreateBasinRequest.Builder setBasinBytes(com.google.protobuf.ByteString value)
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
public BasinConfig getConfig()
Basin configuration.
.s2.v1alpha.BasinConfig config = 2;
- Specified by:
getConfig
in interfaceCreateBasinRequestOrBuilder
- Returns:
- The config.
-
setConfig
public CreateBasinRequest.Builder setConfig(BasinConfig value)
Basin configuration.
.s2.v1alpha.BasinConfig config = 2;
-
setConfig
public CreateBasinRequest.Builder setConfig(BasinConfig.Builder builderForValue)
Basin configuration.
.s2.v1alpha.BasinConfig config = 2;
-
mergeConfig
public CreateBasinRequest.Builder mergeConfig(BasinConfig value)
Basin configuration.
.s2.v1alpha.BasinConfig config = 2;
-
clearConfig
public CreateBasinRequest.Builder clearConfig()
Basin configuration.
.s2.v1alpha.BasinConfig config = 2;
-
getConfigBuilder
public BasinConfig.Builder getConfigBuilder()
Basin configuration.
.s2.v1alpha.BasinConfig config = 2;
-
getConfigOrBuilder
public BasinConfigOrBuilder 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
public java.lang.String 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
public CreateBasinRequest.Builder setScope(java.lang.String value)
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
public CreateBasinRequest.Builder 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
public CreateBasinRequest.Builder setScopeBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public CreateBasinRequest.Builder setCell(java.lang.String value)
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
public CreateBasinRequest.Builder clearCell()
Explicit cell assignment, if it is owned by the account.
string cell = 4;
- Returns:
- This builder for chaining.
-
setCellBytes
public CreateBasinRequest.Builder setCellBytes(com.google.protobuf.ByteString value)
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.
-
-