Package com.google.cloud.compute.v1
Class AccessConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
- com.google.cloud.compute.v1.AccessConfig.Builder
-
- All Implemented Interfaces:
AccessConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AccessConfig
public static final class AccessConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder> implements AccessConfigOrBuilder
An access configuration attached to an instance's network interface. Only one access config per instance is supported.
Protobuf typegoogle.cloud.compute.v1.AccessConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AccessConfigbuild()AccessConfigbuildPartial()AccessConfig.Builderclear()AccessConfig.BuilderclearExternalIpv6()Applies to ipv6AccessConfigs only.AccessConfig.BuilderclearExternalIpv6PrefixLength()Applies to ipv6AccessConfigs only.AccessConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AccessConfig.BuilderclearKind()[Output Only] Type of the resource.AccessConfig.BuilderclearName()The name of this access configuration.AccessConfig.BuilderclearNatIP()Applies to accessConfigs (IPv4) only.AccessConfig.BuilderclearNetworkTier()This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.AccessConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AccessConfig.BuilderclearPublicPtrDomainName()The DNS domain name for the public PTR record.AccessConfig.BuilderclearSetPublicPtr()Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.AccessConfig.BuilderclearType()The type of configuration.AccessConfig.Builderclone()AccessConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetExternalIpv6()Applies to ipv6AccessConfigs only.com.google.protobuf.ByteStringgetExternalIpv6Bytes()Applies to ipv6AccessConfigs only.intgetExternalIpv6PrefixLength()Applies to ipv6AccessConfigs only.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()The name of this access configuration.com.google.protobuf.ByteStringgetNameBytes()The name of this access configuration.StringgetNatIP()Applies to accessConfigs (IPv4) only.com.google.protobuf.ByteStringgetNatIPBytes()Applies to accessConfigs (IPv4) only.StringgetNetworkTier()This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.com.google.protobuf.ByteStringgetNetworkTierBytes()This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.StringgetPublicPtrDomainName()The DNS domain name for the public PTR record.com.google.protobuf.ByteStringgetPublicPtrDomainNameBytes()The DNS domain name for the public PTR record.booleangetSetPublicPtr()Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.StringgetType()The type of configuration.com.google.protobuf.ByteStringgetTypeBytes()The type of configuration.booleanhasExternalIpv6()Applies to ipv6AccessConfigs only.booleanhasExternalIpv6PrefixLength()Applies to ipv6AccessConfigs only.booleanhasKind()[Output Only] Type of the resource.booleanhasName()The name of this access configuration.booleanhasNatIP()Applies to accessConfigs (IPv4) only.booleanhasNetworkTier()This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.booleanhasPublicPtrDomainName()The DNS domain name for the public PTR record.booleanhasSetPublicPtr()Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.booleanhasType()The type of configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AccessConfig.BuildermergeFrom(AccessConfig other)AccessConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AccessConfig.BuildermergeFrom(com.google.protobuf.Message other)AccessConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AccessConfig.BuildersetExternalIpv6(String value)Applies to ipv6AccessConfigs only.AccessConfig.BuildersetExternalIpv6Bytes(com.google.protobuf.ByteString value)Applies to ipv6AccessConfigs only.AccessConfig.BuildersetExternalIpv6PrefixLength(int value)Applies to ipv6AccessConfigs only.AccessConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AccessConfig.BuildersetKind(String value)[Output Only] Type of the resource.AccessConfig.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.AccessConfig.BuildersetName(String value)The name of this access configuration.AccessConfig.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of this access configuration.AccessConfig.BuildersetNatIP(String value)Applies to accessConfigs (IPv4) only.AccessConfig.BuildersetNatIPBytes(com.google.protobuf.ByteString value)Applies to accessConfigs (IPv4) only.AccessConfig.BuildersetNetworkTier(String value)This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.AccessConfig.BuildersetNetworkTierBytes(com.google.protobuf.ByteString value)This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.AccessConfig.BuildersetPublicPtrDomainName(String value)The DNS domain name for the public PTR record.AccessConfig.BuildersetPublicPtrDomainNameBytes(com.google.protobuf.ByteString value)The DNS domain name for the public PTR record.AccessConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AccessConfig.BuildersetSetPublicPtr(boolean value)Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.AccessConfig.BuildersetType(String value)The type of configuration.AccessConfig.BuildersetTypeBytes(com.google.protobuf.ByteString value)The type of configuration.AccessConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
clear
public AccessConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
getDefaultInstanceForType
public AccessConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AccessConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AccessConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AccessConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
setField
public AccessConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
clearField
public AccessConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
clearOneof
public AccessConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
setRepeatedField
public AccessConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
addRepeatedField
public AccessConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
mergeFrom
public AccessConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccessConfig.Builder>
-
mergeFrom
public AccessConfig.Builder mergeFrom(AccessConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
mergeFrom
public AccessConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccessConfig.Builder>- Throws:
IOException
-
hasExternalIpv6
public boolean hasExternalIpv6()
Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
optional string external_ipv6 = 532703707;- Specified by:
hasExternalIpv6in interfaceAccessConfigOrBuilder- Returns:
- Whether the externalIpv6 field is set.
-
getExternalIpv6
public String getExternalIpv6()
Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
optional string external_ipv6 = 532703707;- Specified by:
getExternalIpv6in interfaceAccessConfigOrBuilder- Returns:
- The externalIpv6.
-
getExternalIpv6Bytes
public com.google.protobuf.ByteString getExternalIpv6Bytes()
Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
optional string external_ipv6 = 532703707;- Specified by:
getExternalIpv6Bytesin interfaceAccessConfigOrBuilder- Returns:
- The bytes for externalIpv6.
-
setExternalIpv6
public AccessConfig.Builder setExternalIpv6(String value)
Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
optional string external_ipv6 = 532703707;- Parameters:
value- The externalIpv6 to set.- Returns:
- This builder for chaining.
-
clearExternalIpv6
public AccessConfig.Builder clearExternalIpv6()
Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
optional string external_ipv6 = 532703707;- Returns:
- This builder for chaining.
-
setExternalIpv6Bytes
public AccessConfig.Builder setExternalIpv6Bytes(com.google.protobuf.ByteString value)
Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
optional string external_ipv6 = 532703707;- Parameters:
value- The bytes for externalIpv6 to set.- Returns:
- This builder for chaining.
-
hasExternalIpv6PrefixLength
public boolean hasExternalIpv6PrefixLength()
Applies to ipv6AccessConfigs only. The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 425672143;- Specified by:
hasExternalIpv6PrefixLengthin interfaceAccessConfigOrBuilder- Returns:
- Whether the externalIpv6PrefixLength field is set.
-
getExternalIpv6PrefixLength
public int getExternalIpv6PrefixLength()
Applies to ipv6AccessConfigs only. The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 425672143;- Specified by:
getExternalIpv6PrefixLengthin interfaceAccessConfigOrBuilder- Returns:
- The externalIpv6PrefixLength.
-
setExternalIpv6PrefixLength
public AccessConfig.Builder setExternalIpv6PrefixLength(int value)
Applies to ipv6AccessConfigs only. The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 425672143;- Parameters:
value- The externalIpv6PrefixLength to set.- Returns:
- This builder for chaining.
-
clearExternalIpv6PrefixLength
public AccessConfig.Builder clearExternalIpv6PrefixLength()
Applies to ipv6AccessConfigs only. The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 425672143;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;- Specified by:
hasKindin interfaceAccessConfigOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;- Specified by:
getKindin interfaceAccessConfigOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceAccessConfigOrBuilder- Returns:
- The bytes for kind.
-
setKind
public AccessConfig.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public AccessConfig.Builder clearKind()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public AccessConfig.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.
optional string name = 3373707;- Specified by:
hasNamein interfaceAccessConfigOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.
optional string name = 3373707;- Specified by:
getNamein interfaceAccessConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceAccessConfigOrBuilder- Returns:
- The bytes for name.
-
setName
public AccessConfig.Builder setName(String value)
The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AccessConfig.Builder clearName()
The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public AccessConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNatIP
public boolean hasNatIP()
Applies to accessConfigs (IPv4) only. 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;- Specified by:
hasNatIPin interfaceAccessConfigOrBuilder- Returns:
- Whether the natIP field is set.
-
getNatIP
public String getNatIP()
Applies to accessConfigs (IPv4) only. 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;- Specified by:
getNatIPin interfaceAccessConfigOrBuilder- Returns:
- The natIP.
-
getNatIPBytes
public com.google.protobuf.ByteString getNatIPBytes()
Applies to accessConfigs (IPv4) only. 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;- Specified by:
getNatIPBytesin interfaceAccessConfigOrBuilder- Returns:
- The bytes for natIP.
-
setNatIP
public AccessConfig.Builder setNatIP(String value)
Applies to accessConfigs (IPv4) only. 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;- Parameters:
value- The natIP to set.- Returns:
- This builder for chaining.
-
clearNatIP
public AccessConfig.Builder clearNatIP()
Applies to accessConfigs (IPv4) only. 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;- Returns:
- This builder for chaining.
-
setNatIPBytes
public AccessConfig.Builder setNatIPBytes(com.google.protobuf.ByteString value)
Applies to accessConfigs (IPv4) only. 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;- Parameters:
value- The bytes for natIP to set.- Returns:
- This builder for chaining.
-
hasNetworkTier
public 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;- Specified by:
hasNetworkTierin interfaceAccessConfigOrBuilder- Returns:
- Whether the networkTier field is set.
-
getNetworkTier
public 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;- Specified by:
getNetworkTierin interfaceAccessConfigOrBuilder- Returns:
- The networkTier.
-
getNetworkTierBytes
public 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;- Specified by:
getNetworkTierBytesin interfaceAccessConfigOrBuilder- Returns:
- The bytes for networkTier.
-
setNetworkTier
public AccessConfig.Builder setNetworkTier(String value)
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;- Parameters:
value- The networkTier to set.- Returns:
- This builder for chaining.
-
clearNetworkTier
public AccessConfig.Builder clearNetworkTier()
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;- Returns:
- This builder for chaining.
-
setNetworkTierBytes
public AccessConfig.Builder setNetworkTierBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for networkTier to set.- Returns:
- This builder for chaining.
-
hasPublicPtrDomainName
public 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;- Specified by:
hasPublicPtrDomainNamein interfaceAccessConfigOrBuilder- Returns:
- Whether the publicPtrDomainName field is set.
-
getPublicPtrDomainName
public 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;- Specified by:
getPublicPtrDomainNamein interfaceAccessConfigOrBuilder- Returns:
- The publicPtrDomainName.
-
getPublicPtrDomainNameBytes
public 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;- Specified by:
getPublicPtrDomainNameBytesin interfaceAccessConfigOrBuilder- Returns:
- The bytes for publicPtrDomainName.
-
setPublicPtrDomainName
public AccessConfig.Builder setPublicPtrDomainName(String value)
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;- Parameters:
value- The publicPtrDomainName to set.- Returns:
- This builder for chaining.
-
clearPublicPtrDomainName
public AccessConfig.Builder clearPublicPtrDomainName()
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;- Returns:
- This builder for chaining.
-
setPublicPtrDomainNameBytes
public AccessConfig.Builder setPublicPtrDomainNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for publicPtrDomainName to set.- Returns:
- This builder for chaining.
-
hasSetPublicPtr
public 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;- Specified by:
hasSetPublicPtrin interfaceAccessConfigOrBuilder- Returns:
- Whether the setPublicPtr field is set.
-
getSetPublicPtr
public 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;- Specified by:
getSetPublicPtrin interfaceAccessConfigOrBuilder- Returns:
- The setPublicPtr.
-
setSetPublicPtr
public AccessConfig.Builder setSetPublicPtr(boolean value)
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;- Parameters:
value- The setPublicPtr to set.- Returns:
- This builder for chaining.
-
clearSetPublicPtr
public AccessConfig.Builder clearSetPublicPtr()
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;- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()
The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. Check the Type enum for the list of possible values.
optional string type = 3575610;- Specified by:
hasTypein interfaceAccessConfigOrBuilder- Returns:
- Whether the type field is set.
-
getType
public String getType()
The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. Check the Type enum for the list of possible values.
optional string type = 3575610;- Specified by:
getTypein interfaceAccessConfigOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. Check the Type enum for the list of possible values.
optional string type = 3575610;- Specified by:
getTypeBytesin interfaceAccessConfigOrBuilder- Returns:
- The bytes for type.
-
setType
public AccessConfig.Builder setType(String value)
The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. Check the Type enum for the list of possible values.
optional string type = 3575610;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public AccessConfig.Builder clearType()
The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- This builder for chaining.
-
setTypeBytes
public AccessConfig.Builder setTypeBytes(com.google.protobuf.ByteString value)
The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. Check the Type enum for the list of possible values.
optional string type = 3575610;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AccessConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
mergeUnknownFields
public final AccessConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessConfig.Builder>
-
-