public final class AccessConfig extends 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.backupdr.v1.AccessConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXTERNAL_IPV6_FIELD_NUMBER
public static final int EXTERNAL_IPV6_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EXTERNAL_IPV6_PREFIX_LENGTH_FIELD_NUMBER
public static final int EXTERNAL_IPV6_PREFIX_LENGTH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EXTERNAL_IP_FIELD_NUMBER
public static final int EXTERNAL_IP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NETWORK_TIER_FIELD_NUMBER
public static final int NETWORK_TIER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PUBLIC_PTR_DOMAIN_NAME_FIELD_NUMBER
public static final int PUBLIC_PTR_DOMAIN_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SET_PUBLIC_PTR_FIELD_NUMBER
public static final int SET_PUBLIC_PTR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AccessConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AccessConfig.Builder newBuilder()
newBuilder(AccessConfig prototype)
public static AccessConfig.Builder newBuilder(AccessConfig prototype)
public static AccessConfig parseDelimitedFrom(InputStream input)
public static AccessConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AccessConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccessConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AccessConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccessConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccessConfig parseFrom(CodedInputStream input)
public static AccessConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AccessConfig parseFrom(InputStream input)
public static AccessConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AccessConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccessConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AccessConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AccessConfig getDefaultInstanceForType()
getExternalIp()
public String getExternalIp()
Optional. The external IP address of this access configuration.
optional string external_ip = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The externalIp.
|
getExternalIpBytes()
public ByteString getExternalIpBytes()
Optional. The external IP address of this access configuration.
optional string external_ip = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for externalIp.
|
getExternalIpv6()
public String getExternalIpv6()
Optional. The external IPv6 address of this access configuration.
optional string external_ipv6 = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The externalIpv6.
|
getExternalIpv6Bytes()
public ByteString getExternalIpv6Bytes()
Optional. The external IPv6 address of this access configuration.
optional string external_ipv6 = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for externalIpv6.
|
getExternalIpv6PrefixLength()
public int getExternalIpv6PrefixLength()
Optional. The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The externalIpv6PrefixLength.
|
getName()
Optional. The name of this access configuration.
optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Optional. The name of this access configuration.
optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getNetworkTier()
public AccessConfig.NetworkTier getNetworkTier()
Optional. This signifies the networking tier used for configuring this
access
optional .google.cloud.backupdr.v1.AccessConfig.NetworkTier network_tier = 8 [(.google.api.field_behavior) = OPTIONAL];
getNetworkTierValue()
public int getNetworkTierValue()
Optional. This signifies the networking tier used for configuring this
access
optional .google.cloud.backupdr.v1.AccessConfig.NetworkTier network_tier = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for networkTier.
|
getParserForType()
public Parser<AccessConfig> getParserForType()
Overrides
getPublicPtrDomainName()
public String getPublicPtrDomainName()
Optional. The DNS domain name for the public PTR record.
optional string public_ptr_domain_name = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The publicPtrDomainName.
|
getPublicPtrDomainNameBytes()
public ByteString getPublicPtrDomainNameBytes()
Optional. The DNS domain name for the public PTR record.
optional string public_ptr_domain_name = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for publicPtrDomainName.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSetPublicPtr()
public boolean getSetPublicPtr()
Optional. Specifies whether a public DNS 'PTR' record should be created to
map the external IP address of the instance to a DNS domain name.
optional bool set_public_ptr = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The setPublicPtr.
|
getType()
public AccessConfig.AccessType getType()
Optional. In accessConfigs (IPv4), the
default and only option is ONE_TO_ONE_NAT. In
ipv6AccessConfigs, the default and only option is
DIRECT_IPV6.
optional .google.cloud.backupdr.v1.AccessConfig.AccessType type = 1 [(.google.api.field_behavior) = OPTIONAL];
getTypeValue()
public int getTypeValue()
Optional. In accessConfigs (IPv4), the
default and only option is ONE_TO_ONE_NAT. In
ipv6AccessConfigs, the default and only option is
DIRECT_IPV6.
optional .google.cloud.backupdr.v1.AccessConfig.AccessType type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for type.
|
hasExternalIp()
public boolean hasExternalIp()
Optional. The external IP address of this access configuration.
optional string external_ip = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the externalIp field is set.
|
hasExternalIpv6()
public boolean hasExternalIpv6()
Optional. The external IPv6 address of this access configuration.
optional string external_ipv6 = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the externalIpv6 field is set.
|
hasExternalIpv6PrefixLength()
public boolean hasExternalIpv6PrefixLength()
Optional. The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the externalIpv6PrefixLength field is set.
|
hasName()
Optional. The name of this access configuration.
optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the name field is set.
|
hasNetworkTier()
public boolean hasNetworkTier()
Optional. This signifies the networking tier used for configuring this
access
optional .google.cloud.backupdr.v1.AccessConfig.NetworkTier network_tier = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the networkTier field is set.
|
hasPublicPtrDomainName()
public boolean hasPublicPtrDomainName()
Optional. The DNS domain name for the public PTR record.
optional string public_ptr_domain_name = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the publicPtrDomainName field is set.
|
hasSetPublicPtr()
public boolean hasSetPublicPtr()
Optional. Specifies whether a public DNS 'PTR' record should be created to
map the external IP address of the instance to a DNS domain name.
optional bool set_public_ptr = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the setPublicPtr field is set.
|
hasType()
Optional. In accessConfigs (IPv4), the
default and only option is ONE_TO_ONE_NAT. In
ipv6AccessConfigs, the default and only option is
DIRECT_IPV6.
optional .google.cloud.backupdr.v1.AccessConfig.AccessType type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the type field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AccessConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccessConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AccessConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides