Class Instance.InstanceNetworkConfig.AuthorizedNetwork (0.29.0)

public static final class Instance.InstanceNetworkConfig.AuthorizedNetwork extends GeneratedMessageV3 implements Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder

AuthorizedNetwork contains metadata for an authorized network.

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

Inheritance

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

Static Fields

CIDR_RANGE_FIELD_NUMBER

public static final int CIDR_RANGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Instance.InstanceNetworkConfig.AuthorizedNetwork getDefaultInstance()
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork

getDescriptor()

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

newBuilder()

public static Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder newBuilder()
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

newBuilder(Instance.InstanceNetworkConfig.AuthorizedNetwork prototype)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder newBuilder(Instance.InstanceNetworkConfig.AuthorizedNetwork prototype)
Parameter
Name Description
prototype Instance.InstanceNetworkConfig.AuthorizedNetwork
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

parseDelimitedFrom(InputStream input)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Instance.InstanceNetworkConfig.AuthorizedNetwork> parser()
Returns
Type Description
Parser<AuthorizedNetwork>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<Instance.InstanceNetworkConfig.AuthorizedNetwork> getParserForType()
Returns
Type Description
Parser<AuthorizedNetwork>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder newBuilderForType()
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder toBuilder()
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException