public static final class Instance.InstanceNetworkConfig.Builder extends GeneratedMessageV3.Builder<Instance.InstanceNetworkConfig.Builder> implements Instance.InstanceNetworkConfigOrBuilder
Metadata related to instance-level network configuration.
Protobuf type google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig
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
addAllAuthorizedExternalNetworks(Iterable<? extends Instance.InstanceNetworkConfig.AuthorizedNetwork> values)
public Instance.InstanceNetworkConfig.Builder addAllAuthorizedExternalNetworks(Iterable<? extends Instance.InstanceNetworkConfig.AuthorizedNetwork> values)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork>
|
addAuthorizedExternalNetworks(Instance.InstanceNetworkConfig.AuthorizedNetwork value)
public Instance.InstanceNetworkConfig.Builder addAuthorizedExternalNetworks(Instance.InstanceNetworkConfig.AuthorizedNetwork value)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
addAuthorizedExternalNetworks(Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder builderForValue)
public Instance.InstanceNetworkConfig.Builder addAuthorizedExternalNetworks(Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder builderForValue)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
addAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork value)
public Instance.InstanceNetworkConfig.Builder addAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork value)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
addAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder builderForValue)
public Instance.InstanceNetworkConfig.Builder addAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder builderForValue)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
addAuthorizedExternalNetworksBuilder()
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder addAuthorizedExternalNetworksBuilder()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
addAuthorizedExternalNetworksBuilder(int index)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder addAuthorizedExternalNetworksBuilder(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceNetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Instance.InstanceNetworkConfig build()
buildPartial()
public Instance.InstanceNetworkConfig buildPartial()
clear()
public Instance.InstanceNetworkConfig.Builder clear()
Overrides
clearAuthorizedExternalNetworks()
public Instance.InstanceNetworkConfig.Builder clearAuthorizedExternalNetworks()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
clearEnableOutboundPublicIp()
public Instance.InstanceNetworkConfig.Builder clearEnableOutboundPublicIp()
Optional. Enabling an outbound public IP address to support a database
server sending requests out into the internet.
bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL];
clearEnablePublicIp()
public Instance.InstanceNetworkConfig.Builder clearEnablePublicIp()
Optional. Enabling public ip for the instance.
bool enable_public_ip = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public Instance.InstanceNetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.InstanceNetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Instance.InstanceNetworkConfig.Builder clone()
Overrides
getAuthorizedExternalNetworks(int index)
public Instance.InstanceNetworkConfig.AuthorizedNetwork getAuthorizedExternalNetworks(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getAuthorizedExternalNetworksBuilder(int index)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder getAuthorizedExternalNetworksBuilder(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getAuthorizedExternalNetworksBuilderList()
public List<Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder> getAuthorizedExternalNetworksBuilderList()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
getAuthorizedExternalNetworksCount()
public int getAuthorizedExternalNetworksCount()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getAuthorizedExternalNetworksList()
public List<Instance.InstanceNetworkConfig.AuthorizedNetwork> getAuthorizedExternalNetworksList()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
getAuthorizedExternalNetworksOrBuilder(int index)
public Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder getAuthorizedExternalNetworksOrBuilder(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getAuthorizedExternalNetworksOrBuilderList()
public List<? extends Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder> getAuthorizedExternalNetworksOrBuilderList()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder> |
|
getDefaultInstanceForType()
public Instance.InstanceNetworkConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnableOutboundPublicIp()
public boolean getEnableOutboundPublicIp()
Optional. Enabling an outbound public IP address to support a database
server sending requests out into the internet.
bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The enableOutboundPublicIp.
|
getEnablePublicIp()
public boolean getEnablePublicIp()
Optional. Enabling public ip for the instance.
bool enable_public_ip = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The enablePublicIp.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Instance.InstanceNetworkConfig other)
public Instance.InstanceNetworkConfig.Builder mergeFrom(Instance.InstanceNetworkConfig other)
public Instance.InstanceNetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Instance.InstanceNetworkConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceNetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAuthorizedExternalNetworks(int index)
public Instance.InstanceNetworkConfig.Builder removeAuthorizedExternalNetworks(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork value)
public Instance.InstanceNetworkConfig.Builder setAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork value)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
setAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder builderForValue)
public Instance.InstanceNetworkConfig.Builder setAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder builderForValue)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
setEnableOutboundPublicIp(boolean value)
public Instance.InstanceNetworkConfig.Builder setEnableOutboundPublicIp(boolean value)
Optional. Enabling an outbound public IP address to support a database
server sending requests out into the internet.
bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
boolean
The enableOutboundPublicIp to set.
|
setEnablePublicIp(boolean value)
public Instance.InstanceNetworkConfig.Builder setEnablePublicIp(boolean value)
Optional. Enabling public ip for the instance.
bool enable_public_ip = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
boolean
The enablePublicIp to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceNetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.InstanceNetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceNetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides