public static final class MachineNetworkDetails.Builder extends GeneratedMessage.Builder<MachineNetworkDetails.Builder> implements MachineNetworkDetailsOrBuilderDetails of network adapters and settings.
Protobuf type google.cloud.migrationcenter.v1.MachineNetworkDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MachineNetworkDetails.BuilderImplements
MachineNetworkDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MachineNetworkDetails build()| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails |
|
buildPartial()
public MachineNetworkDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails |
|
clear()
public MachineNetworkDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
|
clearAdapters()
public MachineNetworkDetails.Builder clearAdapters()List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
|
clearPrimaryIpAddress()
public MachineNetworkDetails.Builder clearPrimaryIpAddress()The primary IP address of the machine.
string primary_ip_address = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
This builder for chaining. |
clearPublicIpAddress()
public MachineNetworkDetails.Builder clearPublicIpAddress()The public IP address of the machine.
string public_ip_address = 2;
| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
This builder for chaining. |
getAdapters()
public NetworkAdapterList getAdapters()List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
| Returns | |
|---|---|
| Type | Description |
NetworkAdapterList |
The adapters. |
getAdaptersBuilder()
public NetworkAdapterList.Builder getAdaptersBuilder()List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
| Returns | |
|---|---|
| Type | Description |
NetworkAdapterList.Builder |
|
getAdaptersOrBuilder()
public NetworkAdapterListOrBuilder getAdaptersOrBuilder()List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
| Returns | |
|---|---|
| Type | Description |
NetworkAdapterListOrBuilder |
|
getDefaultInstanceForType()
public MachineNetworkDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPrimaryIpAddress()
public String getPrimaryIpAddress()The primary IP address of the machine.
string primary_ip_address = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The primaryIpAddress. |
getPrimaryIpAddressBytes()
public ByteString getPrimaryIpAddressBytes()The primary IP address of the machine.
string primary_ip_address = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for primaryMacAddress. |
getPublicIpAddress()
public String getPublicIpAddress()The public IP address of the machine.
string public_ip_address = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The publicIpAddress. |
getPublicIpAddressBytes()
public ByteString getPublicIpAddressBytes()The public IP address of the machine.
string public_ip_address = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for publicIpAddress. |
hasAdapters()
public boolean hasAdapters()List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adapters field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdapters(NetworkAdapterList value)
public MachineNetworkDetails.Builder mergeAdapters(NetworkAdapterList value)List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
NetworkAdapterList |
| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
|
mergeFrom(MachineNetworkDetails other)
public MachineNetworkDetails.Builder mergeFrom(MachineNetworkDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
MachineNetworkDetails |
| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MachineNetworkDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MachineNetworkDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
|
setAdapters(NetworkAdapterList value)
public MachineNetworkDetails.Builder setAdapters(NetworkAdapterList value)List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
NetworkAdapterList |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
NetworkAdapterList.Builder |
| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
|
setPrimaryIpAddress(String value)
public MachineNetworkDetails.Builder setPrimaryIpAddress(String value)The primary IP address of the machine.
string primary_ip_address = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe primaryIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for primaryIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe primaryMacAddress to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for primaryMacAddress to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe publicIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for publicIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
MachineNetworkDetails.Builder |
This builder for chaining. |