public final class AccessConfig extends com.google.protobuf.GeneratedMessageV3 implements AccessConfigOrBuilder
An access configuration attached to an instance's network interface. Only one access config per instance is supported.Protobuf type
google.cloud.compute.v1.AccessConfig| Modifier and Type | Class and Description |
|---|---|
static class |
AccessConfig.Builder
An access configuration attached to an instance's network interface.
|
static class |
AccessConfig.NetworkTier
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.
|
static class |
AccessConfig.Type
The type of configuration.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EXTERNAL_IPV6_FIELD_NUMBER |
static int |
EXTERNAL_IPV6_PREFIX_LENGTH_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NAT_I_P_FIELD_NUMBER |
static int |
NETWORK_TIER_FIELD_NUMBER |
static int |
PUBLIC_PTR_DOMAIN_NAME_FIELD_NUMBER |
static int |
SET_PUBLIC_PTR_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AccessConfig |
getDefaultInstance() |
AccessConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getExternalIpv6()
The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig.
|
com.google.protobuf.ByteString |
getExternalIpv6Bytes()
The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig.
|
int |
getExternalIpv6PrefixLength()
The prefix length of the external IPv6 range.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
The name of this access configuration.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of this access configuration.
|
String |
getNatIP()
An external IP address associated with this instance.
|
com.google.protobuf.ByteString |
getNatIPBytes()
An external IP address associated with this instance.
|
String |
getNetworkTier()
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.
|
com.google.protobuf.ByteString |
getNetworkTierBytes()
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.
|
com.google.protobuf.Parser<AccessConfig> |
getParserForType() |
String |
getPublicPtrDomainName()
The DNS domain name for the public PTR record.
|
com.google.protobuf.ByteString |
getPublicPtrDomainNameBytes()
The DNS domain name for the public PTR record.
|
int |
getSerializedSize() |
boolean |
getSetPublicPtr()
Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.
|
String |
getType()
The type of configuration.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type of configuration.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasExternalIpv6()
The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig.
|
boolean |
hasExternalIpv6PrefixLength()
The prefix length of the external IPv6 range.
|
int |
hashCode() |
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
The name of this access configuration.
|
boolean |
hasNatIP()
An external IP address associated with this instance.
|
boolean |
hasNetworkTier()
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.
|
boolean |
hasPublicPtrDomainName()
The DNS domain name for the public PTR record.
|
boolean |
hasSetPublicPtr()
Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.
|
boolean |
hasType()
The type of configuration.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AccessConfig.Builder |
newBuilder() |
static AccessConfig.Builder |
newBuilder(AccessConfig prototype) |
AccessConfig.Builder |
newBuilderForType() |
protected AccessConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AccessConfig |
parseDelimitedFrom(InputStream input) |
static AccessConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AccessConfig |
parseFrom(byte[] data) |
static AccessConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AccessConfig |
parseFrom(ByteBuffer data) |
static AccessConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AccessConfig |
parseFrom(com.google.protobuf.ByteString data) |
static AccessConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AccessConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AccessConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AccessConfig |
parseFrom(InputStream input) |
static AccessConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AccessConfig> |
parser() |
AccessConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int EXTERNAL_IPV6_FIELD_NUMBER
public static final int EXTERNAL_IPV6_PREFIX_LENGTH_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int NAT_I_P_FIELD_NUMBER
public static final int NETWORK_TIER_FIELD_NUMBER
public static final int PUBLIC_PTR_DOMAIN_NAME_FIELD_NUMBER
public static final int SET_PUBLIC_PTR_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasExternalIpv6()
The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
optional string external_ipv6 = 532703707;hasExternalIpv6 in interface AccessConfigOrBuilderpublic String getExternalIpv6()
The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
optional string external_ipv6 = 532703707;getExternalIpv6 in interface AccessConfigOrBuilderpublic com.google.protobuf.ByteString getExternalIpv6Bytes()
The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
optional string external_ipv6 = 532703707;getExternalIpv6Bytes in interface AccessConfigOrBuilderpublic boolean hasExternalIpv6PrefixLength()
The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 425672143;hasExternalIpv6PrefixLength in interface AccessConfigOrBuilderpublic int getExternalIpv6PrefixLength()
The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 425672143;getExternalIpv6PrefixLength in interface AccessConfigOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;hasKind in interface AccessConfigOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;getKind in interface AccessConfigOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;getKindBytes in interface AccessConfigOrBuilderpublic boolean hasName()
The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.
optional string name = 3373707;hasName in interface AccessConfigOrBuilderpublic String getName()
The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.
optional string name = 3373707;getName in interface AccessConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.
optional string name = 3373707;getNameBytes in interface AccessConfigOrBuilderpublic boolean hasNatIP()
An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
optional string nat_i_p = 117634556;hasNatIP in interface AccessConfigOrBuilderpublic String getNatIP()
An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
optional string nat_i_p = 117634556;getNatIP in interface AccessConfigOrBuilderpublic com.google.protobuf.ByteString getNatIPBytes()
An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
optional string nat_i_p = 117634556;getNatIPBytes in interface AccessConfigOrBuilderpublic boolean hasNetworkTier()
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. Check the NetworkTier enum for the list of possible values.
optional string network_tier = 517397843;hasNetworkTier in interface AccessConfigOrBuilderpublic String getNetworkTier()
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. Check the NetworkTier enum for the list of possible values.
optional string network_tier = 517397843;getNetworkTier in interface AccessConfigOrBuilderpublic com.google.protobuf.ByteString getNetworkTierBytes()
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. Check the NetworkTier enum for the list of possible values.
optional string network_tier = 517397843;getNetworkTierBytes in interface AccessConfigOrBuilderpublic boolean hasPublicPtrDomainName()
The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.
optional string public_ptr_domain_name = 316599167;hasPublicPtrDomainName in interface AccessConfigOrBuilderpublic String getPublicPtrDomainName()
The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.
optional string public_ptr_domain_name = 316599167;getPublicPtrDomainName in interface AccessConfigOrBuilderpublic com.google.protobuf.ByteString getPublicPtrDomainNameBytes()
The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.
optional string public_ptr_domain_name = 316599167;getPublicPtrDomainNameBytes in interface AccessConfigOrBuilderpublic boolean hasSetPublicPtr()
Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.
optional bool set_public_ptr = 523870229;hasSetPublicPtr in interface AccessConfigOrBuilderpublic boolean getSetPublicPtr()
Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.
optional bool set_public_ptr = 523870229;getSetPublicPtr in interface AccessConfigOrBuilderpublic boolean hasType()
The type of configuration. The default and only option is ONE_TO_ONE_NAT. Check the Type enum for the list of possible values.
optional string type = 3575610;hasType in interface AccessConfigOrBuilderpublic String getType()
The type of configuration. The default and only option is ONE_TO_ONE_NAT. Check the Type enum for the list of possible values.
optional string type = 3575610;getType in interface AccessConfigOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The type of configuration. The default and only option is ONE_TO_ONE_NAT. Check the Type enum for the list of possible values.
optional string type = 3575610;getTypeBytes in interface AccessConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AccessConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AccessConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AccessConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AccessConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AccessConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AccessConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AccessConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static AccessConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AccessConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AccessConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AccessConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AccessConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AccessConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AccessConfig.Builder newBuilder()
public static AccessConfig.Builder newBuilder(AccessConfig prototype)
public AccessConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AccessConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AccessConfig getDefaultInstance()
public static com.google.protobuf.Parser<AccessConfig> parser()
public com.google.protobuf.Parser<AccessConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AccessConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.