Class Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder (0.26.0)

public static final class Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder extends GeneratedMessageV3.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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides