Class Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder (0.72.0)

public static final class Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder extends GeneratedMessage.Builder<Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder> implements Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder

AuthorizedNetwork contains metadata for an authorized network.

Protobuf type google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetwork

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Instance.InstanceNetworkConfig.AuthorizedNetwork build()
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork

buildPartial()

public Instance.InstanceNetworkConfig.AuthorizedNetwork buildPartial()
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork

clear()

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clear()
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides

clearCidrRange()

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clearCidrRange()

CIDR range for one authorzied network of the instance.

string cidr_range = 1 [(.google.api.field_info) = { ... }

Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

This builder for chaining.

getCidrRange()

public String getCidrRange()

CIDR range for one authorzied network of the instance.

string cidr_range = 1 [(.google.api.field_info) = { ... }

Returns
Type Description
String

The cidrRange.

getCidrRangeBytes()

public ByteString getCidrRangeBytes()

CIDR range for one authorzied network of the instance.

string cidr_range = 1 [(.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for cidrRange.

getDefaultInstanceForType()

public Instance.InstanceNetworkConfig.AuthorizedNetwork getDefaultInstanceForType()
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Instance.InstanceNetworkConfig.AuthorizedNetwork other)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder mergeFrom(Instance.InstanceNetworkConfig.AuthorizedNetwork other)
Parameter
Name Description
other Instance.InstanceNetworkConfig.AuthorizedNetwork
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides

setCidrRange(String value)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setCidrRange(String value)

CIDR range for one authorzied network of the instance.

string cidr_range = 1 [(.google.api.field_info) = { ... }

Parameter
Name Description
value String

The cidrRange to set.

Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

This builder for chaining.

setCidrRangeBytes(ByteString value)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setCidrRangeBytes(ByteString value)

CIDR range for one authorzied network of the instance.

string cidr_range = 1 [(.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for cidrRange to set.

Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

This builder for chaining.