Class Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder (0.42.0)

See more code actions.
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.v1.Instance.InstanceNetworkConfig.AuthorizedNetwork

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
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()
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
Overrides

build()

public Instance.InstanceNetworkConfig.AuthorizedNetwork build()

buildPartial()

public Instance.InstanceNetworkConfig.AuthorizedNetwork buildPartial()

clear()

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clear()
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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clone()
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()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setUnknownFields(UnknownFieldSet unknownFields)

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