Class MachineNetworkDetails.Builder (0.12.0)

public static final class MachineNetworkDetails.Builder extends GeneratedMessageV3.Builder<MachineNetworkDetails.Builder> implements MachineNetworkDetailsOrBuilder

Details of network adapters and settings.

Protobuf type google.cloud.migrationcenter.v1.MachineNetworkDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MachineNetworkDetails build()
Returns
TypeDescription
MachineNetworkDetails

buildPartial()

public MachineNetworkDetails buildPartial()
Returns
TypeDescription
MachineNetworkDetails

clear()

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

clearAdapters()

public MachineNetworkDetails.Builder clearAdapters()

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Returns
TypeDescription
MachineNetworkDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrimaryIpAddress()

public MachineNetworkDetails.Builder clearPrimaryIpAddress()

The primary IP address of the machine.

string primary_ip_address = 1;

Returns
TypeDescription
MachineNetworkDetails.Builder

This builder for chaining.

clearPrimaryMacAddress()

public MachineNetworkDetails.Builder clearPrimaryMacAddress()

MAC address of the machine. This property is used to uniqly identify the machine.

string primary_mac_address = 3;

Returns
TypeDescription
MachineNetworkDetails.Builder

This builder for chaining.

clearPublicIpAddress()

public MachineNetworkDetails.Builder clearPublicIpAddress()

The public IP address of the machine.

string public_ip_address = 2;

Returns
TypeDescription
MachineNetworkDetails.Builder

This builder for chaining.

clone()

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

getAdapters()

public NetworkAdapterList getAdapters()

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Returns
TypeDescription
NetworkAdapterList

The adapters.

getAdaptersBuilder()

public NetworkAdapterList.Builder getAdaptersBuilder()

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Returns
TypeDescription
NetworkAdapterList.Builder

getAdaptersOrBuilder()

public NetworkAdapterListOrBuilder getAdaptersOrBuilder()

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Returns
TypeDescription
NetworkAdapterListOrBuilder

getDefaultInstanceForType()

public MachineNetworkDetails getDefaultInstanceForType()
Returns
TypeDescription
MachineNetworkDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPrimaryIpAddress()

public String getPrimaryIpAddress()

The primary IP address of the machine.

string primary_ip_address = 1;

Returns
TypeDescription
String

The primaryIpAddress.

getPrimaryIpAddressBytes()

public ByteString getPrimaryIpAddressBytes()

The primary IP address of the machine.

string primary_ip_address = 1;

Returns
TypeDescription
ByteString

The bytes for primaryIpAddress.

getPrimaryMacAddress()

public String getPrimaryMacAddress()

MAC address of the machine. This property is used to uniqly identify the machine.

string primary_mac_address = 3;

Returns
TypeDescription
String

The primaryMacAddress.

getPrimaryMacAddressBytes()

public ByteString getPrimaryMacAddressBytes()

MAC address of the machine. This property is used to uniqly identify the machine.

string primary_mac_address = 3;

Returns
TypeDescription
ByteString

The bytes for primaryMacAddress.

getPublicIpAddress()

public String getPublicIpAddress()

The public IP address of the machine.

string public_ip_address = 2;

Returns
TypeDescription
String

The publicIpAddress.

getPublicIpAddressBytes()

public ByteString getPublicIpAddressBytes()

The public IP address of the machine.

string public_ip_address = 2;

Returns
TypeDescription
ByteString

The bytes for publicIpAddress.

hasAdapters()

public boolean hasAdapters()

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Returns
TypeDescription
boolean

Whether the adapters field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAdapters(NetworkAdapterList value)

public MachineNetworkDetails.Builder mergeAdapters(NetworkAdapterList value)

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Parameter
NameDescription
valueNetworkAdapterList
Returns
TypeDescription
MachineNetworkDetails.Builder

mergeFrom(MachineNetworkDetails other)

public MachineNetworkDetails.Builder mergeFrom(MachineNetworkDetails other)
Parameter
NameDescription
otherMachineNetworkDetails
Returns
TypeDescription
MachineNetworkDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdapters(NetworkAdapterList value)

public MachineNetworkDetails.Builder setAdapters(NetworkAdapterList value)

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Parameter
NameDescription
valueNetworkAdapterList
Returns
TypeDescription
MachineNetworkDetails.Builder

setAdapters(NetworkAdapterList.Builder builderForValue)

public MachineNetworkDetails.Builder setAdapters(NetworkAdapterList.Builder builderForValue)

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Parameter
NameDescription
builderForValueNetworkAdapterList.Builder
Returns
TypeDescription
MachineNetworkDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPrimaryIpAddress(String value)

public MachineNetworkDetails.Builder setPrimaryIpAddress(String value)

The primary IP address of the machine.

string primary_ip_address = 1;

Parameter
NameDescription
valueString

The primaryIpAddress to set.

Returns
TypeDescription
MachineNetworkDetails.Builder

This builder for chaining.

setPrimaryIpAddressBytes(ByteString value)

public MachineNetworkDetails.Builder setPrimaryIpAddressBytes(ByteString value)

The primary IP address of the machine.

string primary_ip_address = 1;

Parameter
NameDescription
valueByteString

The bytes for primaryIpAddress to set.

Returns
TypeDescription
MachineNetworkDetails.Builder

This builder for chaining.

setPrimaryMacAddress(String value)

public MachineNetworkDetails.Builder setPrimaryMacAddress(String value)

MAC address of the machine. This property is used to uniqly identify the machine.

string primary_mac_address = 3;

Parameter
NameDescription
valueString

The primaryMacAddress to set.

Returns
TypeDescription
MachineNetworkDetails.Builder

This builder for chaining.

setPrimaryMacAddressBytes(ByteString value)

public MachineNetworkDetails.Builder setPrimaryMacAddressBytes(ByteString value)

MAC address of the machine. This property is used to uniqly identify the machine.

string primary_mac_address = 3;

Parameter
NameDescription
valueByteString

The bytes for primaryMacAddress to set.

Returns
TypeDescription
MachineNetworkDetails.Builder

This builder for chaining.

setPublicIpAddress(String value)

public MachineNetworkDetails.Builder setPublicIpAddress(String value)

The public IP address of the machine.

string public_ip_address = 2;

Parameter
NameDescription
valueString

The publicIpAddress to set.

Returns
TypeDescription
MachineNetworkDetails.Builder

This builder for chaining.

setPublicIpAddressBytes(ByteString value)

public MachineNetworkDetails.Builder setPublicIpAddressBytes(ByteString value)

The public IP address of the machine.

string public_ip_address = 2;

Parameter
NameDescription
valueByteString

The bytes for publicIpAddress to set.

Returns
TypeDescription
MachineNetworkDetails.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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