Class Instance.InstanceNetworkConfig.AuthorizedNetwork (0.30.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.v1beta.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Instance.InstanceNetworkConfig.AuthorizedNetwork getDefaultInstance()
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder newBuilder()
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

newBuilder(Instance.InstanceNetworkConfig.AuthorizedNetwork prototype)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder newBuilder(Instance.InstanceNetworkConfig.AuthorizedNetwork prototype)
Parameter
NameDescription
prototypeInstance.InstanceNetworkConfig.AuthorizedNetwork
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

parseDelimitedFrom(InputStream input)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.InstanceNetworkConfig.AuthorizedNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCidrRange()

public String getCidrRange()

CIDR range for one authorzied network of the instance.

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

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for cidrRange.

getDefaultInstanceForType()

public Instance.InstanceNetworkConfig.AuthorizedNetwork getDefaultInstanceForType()
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder newBuilderForType()
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder toBuilder()
Returns
TypeDescription
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException