Class PreservedStatePreservedNetworkIpIpAddress.Builder (1.43.0)

public static final class PreservedStatePreservedNetworkIpIpAddress.Builder extends GeneratedMessageV3.Builder<PreservedStatePreservedNetworkIpIpAddress.Builder> implements PreservedStatePreservedNetworkIpIpAddressOrBuilder

Protobuf type google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PreservedStatePreservedNetworkIpIpAddress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides

build()

public PreservedStatePreservedNetworkIpIpAddress build()
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress

buildPartial()

public PreservedStatePreservedNetworkIpIpAddress buildPartial()
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress

clear()

public PreservedStatePreservedNetworkIpIpAddress.Builder clear()
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides

clearAddress()

public PreservedStatePreservedNetworkIpIpAddress.Builder clearAddress()

The URL of the reservation for this IP address.

optional string address = 462920692;

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PreservedStatePreservedNetworkIpIpAddress.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides

clearLiteral()

public PreservedStatePreservedNetworkIpIpAddress.Builder clearLiteral()

An IPv4 internal network address to assign to the instance for this network interface.

optional string literal = 182460591;

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PreservedStatePreservedNetworkIpIpAddress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides

clone()

public PreservedStatePreservedNetworkIpIpAddress.Builder clone()
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides

getAddress()

public String getAddress()

The URL of the reservation for this IP address.

optional string address = 462920692;

Returns
TypeDescription
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

The URL of the reservation for this IP address.

optional string address = 462920692;

Returns
TypeDescription
ByteString

The bytes for address.

getDefaultInstanceForType()

public PreservedStatePreservedNetworkIpIpAddress getDefaultInstanceForType()
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLiteral()

public String getLiteral()

An IPv4 internal network address to assign to the instance for this network interface.

optional string literal = 182460591;

Returns
TypeDescription
String

The literal.

getLiteralBytes()

public ByteString getLiteralBytes()

An IPv4 internal network address to assign to the instance for this network interface.

optional string literal = 182460591;

Returns
TypeDescription
ByteString

The bytes for literal.

hasAddress()

public boolean hasAddress()

The URL of the reservation for this IP address.

optional string address = 462920692;

Returns
TypeDescription
boolean

Whether the address field is set.

hasLiteral()

public boolean hasLiteral()

An IPv4 internal network address to assign to the instance for this network interface.

optional string literal = 182460591;

Returns
TypeDescription
boolean

Whether the literal field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreservedStatePreservedNetworkIpIpAddress other)

public PreservedStatePreservedNetworkIpIpAddress.Builder mergeFrom(PreservedStatePreservedNetworkIpIpAddress other)
Parameter
NameDescription
otherPreservedStatePreservedNetworkIpIpAddress
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PreservedStatePreservedNetworkIpIpAddress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PreservedStatePreservedNetworkIpIpAddress.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreservedStatePreservedNetworkIpIpAddress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides

setAddress(String value)

public PreservedStatePreservedNetworkIpIpAddress.Builder setAddress(String value)

The URL of the reservation for this IP address.

optional string address = 462920692;

Parameter
NameDescription
valueString

The address to set.

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder

This builder for chaining.

setAddressBytes(ByteString value)

public PreservedStatePreservedNetworkIpIpAddress.Builder setAddressBytes(ByteString value)

The URL of the reservation for this IP address.

optional string address = 462920692;

Parameter
NameDescription
valueByteString

The bytes for address to set.

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PreservedStatePreservedNetworkIpIpAddress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides

setLiteral(String value)

public PreservedStatePreservedNetworkIpIpAddress.Builder setLiteral(String value)

An IPv4 internal network address to assign to the instance for this network interface.

optional string literal = 182460591;

Parameter
NameDescription
valueString

The literal to set.

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder

This builder for chaining.

setLiteralBytes(ByteString value)

public PreservedStatePreservedNetworkIpIpAddress.Builder setLiteralBytes(ByteString value)

An IPv4 internal network address to assign to the instance for this network interface.

optional string literal = 182460591;

Parameter
NameDescription
valueByteString

The bytes for literal to set.

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PreservedStatePreservedNetworkIpIpAddress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PreservedStatePreservedNetworkIpIpAddress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder
Overrides