Class MachineNetworkDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MachineNetworkDetails.Builder>
com.google.cloud.migrationcenter.v1.MachineNetworkDetails.Builder
- All Implemented Interfaces:
MachineNetworkDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MachineNetworkDetails
public static final class MachineNetworkDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MachineNetworkDetails.Builder>
implements MachineNetworkDetailsOrBuilder
Details of network adapters and settings.Protobuf type
google.cloud.migrationcenter.v1.MachineNetworkDetails-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()List of network adapters.The primary IP address of the machine.MAC address of the machine.The public IP address of the machine.List of network adapters.List of network adapters.List of network adapters.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe primary IP address of the machine.com.google.protobuf.ByteStringThe primary IP address of the machine.MAC address of the machine.com.google.protobuf.ByteStringMAC address of the machine.The public IP address of the machine.com.google.protobuf.ByteStringThe public IP address of the machine.booleanList of network adapters.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAdapters(NetworkAdapterList value) List of network adapters.mergeFrom(MachineNetworkDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAdapters(NetworkAdapterList value) List of network adapters.setAdapters(NetworkAdapterList.Builder builderForValue) List of network adapters.setPrimaryIpAddress(String value) The primary IP address of the machine.setPrimaryIpAddressBytes(com.google.protobuf.ByteString value) The primary IP address of the machine.setPrimaryMacAddress(String value) MAC address of the machine.setPrimaryMacAddressBytes(com.google.protobuf.ByteString value) MAC address of the machine.setPublicIpAddress(String value) The public IP address of the machine.setPublicIpAddressBytes(com.google.protobuf.ByteString value) The public IP address of the machine.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MachineNetworkDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MachineNetworkDetails.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.GeneratedMessage.Builder<MachineNetworkDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MachineNetworkDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MachineNetworkDetails.Builder>
-
mergeFrom
public MachineNetworkDetails.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<MachineNetworkDetails.Builder>- Throws:
IOException
-
getPrimaryIpAddress
The primary IP address of the machine.
string primary_ip_address = 1;- Specified by:
getPrimaryIpAddressin interfaceMachineNetworkDetailsOrBuilder- Returns:
- The primaryIpAddress.
-
getPrimaryIpAddressBytes
public com.google.protobuf.ByteString getPrimaryIpAddressBytes()The primary IP address of the machine.
string primary_ip_address = 1;- Specified by:
getPrimaryIpAddressBytesin interfaceMachineNetworkDetailsOrBuilder- Returns:
- The bytes for primaryIpAddress.
-
setPrimaryIpAddress
The primary IP address of the machine.
string primary_ip_address = 1;- Parameters:
value- The primaryIpAddress to set.- Returns:
- This builder for chaining.
-
clearPrimaryIpAddress
The primary IP address of the machine.
string primary_ip_address = 1;- Returns:
- This builder for chaining.
-
setPrimaryIpAddressBytes
The primary IP address of the machine.
string primary_ip_address = 1;- Parameters:
value- The bytes for primaryIpAddress to set.- Returns:
- This builder for chaining.
-
getPublicIpAddress
The public IP address of the machine.
string public_ip_address = 2;- Specified by:
getPublicIpAddressin interfaceMachineNetworkDetailsOrBuilder- Returns:
- The publicIpAddress.
-
getPublicIpAddressBytes
public com.google.protobuf.ByteString getPublicIpAddressBytes()The public IP address of the machine.
string public_ip_address = 2;- Specified by:
getPublicIpAddressBytesin interfaceMachineNetworkDetailsOrBuilder- Returns:
- The bytes for publicIpAddress.
-
setPublicIpAddress
The public IP address of the machine.
string public_ip_address = 2;- Parameters:
value- The publicIpAddress to set.- Returns:
- This builder for chaining.
-
clearPublicIpAddress
The public IP address of the machine.
string public_ip_address = 2;- Returns:
- This builder for chaining.
-
setPublicIpAddressBytes
The public IP address of the machine.
string public_ip_address = 2;- Parameters:
value- The bytes for publicIpAddress to set.- Returns:
- This builder for chaining.
-
getPrimaryMacAddress
MAC address of the machine. This property is used to uniqly identify the machine.
string primary_mac_address = 3;- Specified by:
getPrimaryMacAddressin interfaceMachineNetworkDetailsOrBuilder- Returns:
- The primaryMacAddress.
-
getPrimaryMacAddressBytes
public com.google.protobuf.ByteString getPrimaryMacAddressBytes()MAC address of the machine. This property is used to uniqly identify the machine.
string primary_mac_address = 3;- Specified by:
getPrimaryMacAddressBytesin interfaceMachineNetworkDetailsOrBuilder- Returns:
- The bytes for primaryMacAddress.
-
setPrimaryMacAddress
MAC address of the machine. This property is used to uniqly identify the machine.
string primary_mac_address = 3;- Parameters:
value- The primaryMacAddress to set.- Returns:
- This builder for chaining.
-
clearPrimaryMacAddress
MAC address of the machine. This property is used to uniqly identify the machine.
string primary_mac_address = 3;- Returns:
- This builder for chaining.
-
setPrimaryMacAddressBytes
public MachineNetworkDetails.Builder setPrimaryMacAddressBytes(com.google.protobuf.ByteString value) MAC address of the machine. This property is used to uniqly identify the machine.
string primary_mac_address = 3;- Parameters:
value- The bytes for primaryMacAddress to set.- Returns:
- This builder for chaining.
-
hasAdapters
public boolean hasAdapters()List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;- Specified by:
hasAdaptersin interfaceMachineNetworkDetailsOrBuilder- Returns:
- Whether the adapters field is set.
-
getAdapters
List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;- Specified by:
getAdaptersin interfaceMachineNetworkDetailsOrBuilder- Returns:
- The adapters.
-
setAdapters
List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4; -
setAdapters
List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4; -
mergeAdapters
List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4; -
clearAdapters
List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4; -
getAdaptersBuilder
List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4; -
getAdaptersOrBuilder
List of network adapters.
.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;- Specified by:
getAdaptersOrBuilderin interfaceMachineNetworkDetailsOrBuilder
-