public static final class AlloyDbSettings.Builder extends GeneratedMessageV3.Builder<AlloyDbSettings.Builder> implements AlloyDbSettingsOrBuilder
Settings for creating an AlloyDB cluster.
Protobuf type google.events.cloud.clouddms.v1.AlloyDbSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AlloyDbSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AlloyDbSettings build()
buildPartial()
public AlloyDbSettings buildPartial()
clear()
public AlloyDbSettings.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AlloyDbSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLabels()
public AlloyDbSettings.Builder clearLabels()
clearOneof(Descriptors.OneofDescriptor oneof)
public AlloyDbSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPrimaryInstanceSettings()
public AlloyDbSettings.Builder clearPrimaryInstanceSettings()
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
clearVpcNetwork()
public AlloyDbSettings.Builder clearVpcNetwork()
Required. The resource link for the VPC network in which cluster resources
are created and from which they are accessible via Private IP. The network
must belong to the same project as the cluster. It is specified in the
form: "projects/{project_number}/global/networks/{network_id}". This is
required to create a cluster.
string vpc_network = 2;
clone()
public AlloyDbSettings.Builder clone()
Overrides
containsLabels(String key)
public boolean containsLabels(String key)
Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.
map<string, string> labels = 3;
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public AlloyDbSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLabels()
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.
map<string, string> labels = 3;
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.
map<string, string> labels = 3;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.
map<string, string> labels = 3;
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.
map<string, string> labels = 3;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
getPrimaryInstanceSettings()
public AlloyDbSettings.PrimaryInstanceSettings getPrimaryInstanceSettings()
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
getPrimaryInstanceSettingsBuilder()
public AlloyDbSettings.PrimaryInstanceSettings.Builder getPrimaryInstanceSettingsBuilder()
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
getPrimaryInstanceSettingsOrBuilder()
public AlloyDbSettings.PrimaryInstanceSettingsOrBuilder getPrimaryInstanceSettingsOrBuilder()
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
getVpcNetwork()
public String getVpcNetwork()
Required. The resource link for the VPC network in which cluster resources
are created and from which they are accessible via Private IP. The network
must belong to the same project as the cluster. It is specified in the
form: "projects/{project_number}/global/networks/{network_id}". This is
required to create a cluster.
string vpc_network = 2;
Returns |
Type |
Description |
String |
The vpcNetwork.
|
getVpcNetworkBytes()
public ByteString getVpcNetworkBytes()
Required. The resource link for the VPC network in which cluster resources
are created and from which they are accessible via Private IP. The network
must belong to the same project as the cluster. It is specified in the
form: "projects/{project_number}/global/networks/{network_id}". This is
required to create a cluster.
string vpc_network = 2;
Returns |
Type |
Description |
ByteString |
The bytes for vpcNetwork.
|
hasPrimaryInstanceSettings()
public boolean hasPrimaryInstanceSettings()
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
Returns |
Type |
Description |
boolean |
Whether the primaryInstanceSettings field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AlloyDbSettings other)
public AlloyDbSettings.Builder mergeFrom(AlloyDbSettings other)
public AlloyDbSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AlloyDbSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
public AlloyDbSettings.Builder mergePrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlloyDbSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllLabels(Map<String,String> values)
public AlloyDbSettings.Builder putAllLabels(Map<String,String> values)
Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.
map<string, string> labels = 3;
putLabels(String key, String value)
public AlloyDbSettings.Builder putLabels(String key, String value)
Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.
map<string, string> labels = 3;
removeLabels(String key)
public AlloyDbSettings.Builder removeLabels(String key)
Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.
map<string, string> labels = 3;
Parameter |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public AlloyDbSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
public AlloyDbSettings.Builder setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings.Builder builderForValue)
public AlloyDbSettings.Builder setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings.Builder builderForValue)
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlloyDbSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AlloyDbSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVpcNetwork(String value)
public AlloyDbSettings.Builder setVpcNetwork(String value)
Required. The resource link for the VPC network in which cluster resources
are created and from which they are accessible via Private IP. The network
must belong to the same project as the cluster. It is specified in the
form: "projects/{project_number}/global/networks/{network_id}". This is
required to create a cluster.
string vpc_network = 2;
Parameter |
Name |
Description |
value |
String
The vpcNetwork to set.
|
setVpcNetworkBytes(ByteString value)
public AlloyDbSettings.Builder setVpcNetworkBytes(ByteString value)
Required. The resource link for the VPC network in which cluster resources
are created and from which they are accessible via Private IP. The network
must belong to the same project as the cluster. It is specified in the
form: "projects/{project_number}/global/networks/{network_id}". This is
required to create a cluster.
string vpc_network = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for vpcNetwork to set.
|