- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class NatIpInfoNatIpInfoMapping.Builder extends GeneratedMessageV3.Builder<NatIpInfoNatIpInfoMapping.Builder> implements NatIpInfoNatIpInfoMappingOrBuilder
Contains information of a NAT IP.
Protobuf type google.cloud.compute.v1.NatIpInfoNatIpInfoMapping
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NatIpInfoNatIpInfoMapping.BuilderImplements
NatIpInfoNatIpInfoMappingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NatIpInfoNatIpInfoMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
build()
public NatIpInfoNatIpInfoMapping build()
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping |
buildPartial()
public NatIpInfoNatIpInfoMapping buildPartial()
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping |
clear()
public NatIpInfoNatIpInfoMapping.Builder clear()
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
clearField(Descriptors.FieldDescriptor field)
public NatIpInfoNatIpInfoMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
clearMode()
public NatIpInfoNatIpInfoMapping.Builder clearMode()
Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder | This builder for chaining. |
clearNatIp()
public NatIpInfoNatIpInfoMapping.Builder clearNatIp()
NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NatIpInfoNatIpInfoMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
clearUsage()
public NatIpInfoNatIpInfoMapping.Builder clearUsage()
Specifies whether NAT IP is currently serving at least one endpoint or not. Check the Usage enum for the list of possible values.
optional string usage = 111574433;
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder | This builder for chaining. |
clone()
public NatIpInfoNatIpInfoMapping.Builder clone()
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
getDefaultInstanceForType()
public NatIpInfoNatIpInfoMapping getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMode()
public String getMode()
Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns | |
---|---|
Type | Description |
String | The mode. |
getModeBytes()
public ByteString getModeBytes()
Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for mode. |
getNatIp()
public String getNatIp()
NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;
Returns | |
---|---|
Type | Description |
String | The natIp. |
getNatIpBytes()
public ByteString getNatIpBytes()
NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for natIp. |
getUsage()
public String getUsage()
Specifies whether NAT IP is currently serving at least one endpoint or not. Check the Usage enum for the list of possible values.
optional string usage = 111574433;
Returns | |
---|---|
Type | Description |
String | The usage. |
getUsageBytes()
public ByteString getUsageBytes()
Specifies whether NAT IP is currently serving at least one endpoint or not. Check the Usage enum for the list of possible values.
optional string usage = 111574433;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for usage. |
hasMode()
public boolean hasMode()
Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns | |
---|---|
Type | Description |
boolean | Whether the mode field is set. |
hasNatIp()
public boolean hasNatIp()
NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;
Returns | |
---|---|
Type | Description |
boolean | Whether the natIp field is set. |
hasUsage()
public boolean hasUsage()
Specifies whether NAT IP is currently serving at least one endpoint or not. Check the Usage enum for the list of possible values.
optional string usage = 111574433;
Returns | |
---|---|
Type | Description |
boolean | Whether the usage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NatIpInfoNatIpInfoMapping other)
public NatIpInfoNatIpInfoMapping.Builder mergeFrom(NatIpInfoNatIpInfoMapping other)
Parameter | |
---|---|
Name | Description |
other | NatIpInfoNatIpInfoMapping |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NatIpInfoNatIpInfoMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NatIpInfoNatIpInfoMapping.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NatIpInfoNatIpInfoMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NatIpInfoNatIpInfoMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
setMode(String value)
public NatIpInfoNatIpInfoMapping.Builder setMode(String value)
Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Parameter | |
---|---|
Name | Description |
value | String The mode to set. |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder | This builder for chaining. |
setModeBytes(ByteString value)
public NatIpInfoNatIpInfoMapping.Builder setModeBytes(ByteString value)
Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for mode to set. |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder | This builder for chaining. |
setNatIp(String value)
public NatIpInfoNatIpInfoMapping.Builder setNatIp(String value)
NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;
Parameter | |
---|---|
Name | Description |
value | String The natIp to set. |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder | This builder for chaining. |
setNatIpBytes(ByteString value)
public NatIpInfoNatIpInfoMapping.Builder setNatIpBytes(ByteString value)
NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for natIp to set. |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NatIpInfoNatIpInfoMapping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NatIpInfoNatIpInfoMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder |
setUsage(String value)
public NatIpInfoNatIpInfoMapping.Builder setUsage(String value)
Specifies whether NAT IP is currently serving at least one endpoint or not. Check the Usage enum for the list of possible values.
optional string usage = 111574433;
Parameter | |
---|---|
Name | Description |
value | String The usage to set. |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder | This builder for chaining. |
setUsageBytes(ByteString value)
public NatIpInfoNatIpInfoMapping.Builder setUsageBytes(ByteString value)
Specifies whether NAT IP is currently serving at least one endpoint or not. Check the Usage enum for the list of possible values.
optional string usage = 111574433;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for usage to set. |
Returns | |
---|---|
Type | Description |
NatIpInfoNatIpInfoMapping.Builder | This builder for chaining. |