public static final class Instance.InstanceNetworkConfig extends GeneratedMessageV3 implements Instance.InstanceNetworkConfigOrBuilder
Metadata related to instance level network configuration.
Protobuf type google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Instance.InstanceNetworkConfigImplements
Instance.InstanceNetworkConfigOrBuilderStatic Fields
AUTHORIZED_EXTERNAL_NETWORKS_FIELD_NUMBER
public static final int AUTHORIZED_EXTERNAL_NETWORKS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENABLE_PUBLIC_IP_FIELD_NUMBER
public static final int ENABLE_PUBLIC_IP_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Instance.InstanceNetworkConfig getDefaultInstance()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Instance.InstanceNetworkConfig.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.Builder |
newBuilder(Instance.InstanceNetworkConfig prototype)
public static Instance.InstanceNetworkConfig.Builder newBuilder(Instance.InstanceNetworkConfig prototype)
Parameter | |
---|---|
Name | Description |
prototype |
Instance.InstanceNetworkConfig |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.Builder |
parseDelimitedFrom(InputStream input)
public static Instance.InstanceNetworkConfig parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Instance.InstanceNetworkConfig parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Instance.InstanceNetworkConfig parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Instance.InstanceNetworkConfig parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Instance.InstanceNetworkConfig parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Instance.InstanceNetworkConfig parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Instance.InstanceNetworkConfig> parser()
Returns | |
---|---|
Type | Description |
Parser<InstanceNetworkConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getAuthorizedExternalNetworks(int index)
public Instance.InstanceNetworkConfig.AuthorizedNetwork getAuthorizedExternalNetworks(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork |
getAuthorizedExternalNetworksCount()
public int getAuthorizedExternalNetworksCount()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getAuthorizedExternalNetworksList()
public List<Instance.InstanceNetworkConfig.AuthorizedNetwork> getAuthorizedExternalNetworksList()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<AuthorizedNetwork> |
getAuthorizedExternalNetworksOrBuilder(int index)
public Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder getAuthorizedExternalNetworksOrBuilder(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder |
getAuthorizedExternalNetworksOrBuilderList()
public List<? extends Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder> getAuthorizedExternalNetworksOrBuilderList()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder> |
getDefaultInstanceForType()
public Instance.InstanceNetworkConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig |
getEnablePublicIp()
public boolean getEnablePublicIp()
Optional. Enabling public ip for the instance.
bool enable_public_ip = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The enablePublicIp. |
getParserForType()
public Parser<Instance.InstanceNetworkConfig> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<InstanceNetworkConfig> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Instance.InstanceNetworkConfig.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.InstanceNetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Instance.InstanceNetworkConfig.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |