Send feedback
Class NetworkAdapterDetails.Builder (0.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.21.0 keyboard_arrow_down
public static final class NetworkAdapterDetails . Builder extends GeneratedMessageV3 . Builder<NetworkAdapterDetails . Builder > implements NetworkAdapterDetailsOrBuilder
Details of network adapter.
Protobuf type google.cloud.migrationcenter.v1.NetworkAdapterDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkAdapterDetails . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public NetworkAdapterDetails build ()
buildPartial()
public NetworkAdapterDetails buildPartial ()
clear()
public NetworkAdapterDetails . Builder clear ()
Overrides
clearAdapterType()
public NetworkAdapterDetails . Builder clearAdapterType ()
Network adapter type (e.g. VMXNET3).
string adapter_type = 1;
clearAddresses()
public NetworkAdapterDetails . Builder clearAddresses ()
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
clearField(Descriptors.FieldDescriptor field)
public NetworkAdapterDetails . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearMacAddress()
public NetworkAdapterDetails . Builder clearMacAddress ()
MAC address.
string mac_address = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkAdapterDetails . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public NetworkAdapterDetails . Builder clone ()
Overrides
getAdapterType()
public String getAdapterType ()
Network adapter type (e.g. VMXNET3).
string adapter_type = 1;
Returns Type Description String
The adapterType.
getAdapterTypeBytes()
public ByteString getAdapterTypeBytes ()
Network adapter type (e.g. VMXNET3).
string adapter_type = 1;
Returns Type Description ByteString
The bytes for adapterType.
getAddresses()
public NetworkAddressList getAddresses ()
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
getAddressesBuilder()
public NetworkAddressList . Builder getAddressesBuilder ()
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
getAddressesOrBuilder()
public NetworkAddressListOrBuilder getAddressesOrBuilder ()
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
getDefaultInstanceForType()
public NetworkAdapterDetails getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getMacAddress()
public String getMacAddress ()
MAC address.
string mac_address = 2;
Returns Type Description String
The macAddress.
getMacAddressBytes()
public ByteString getMacAddressBytes ()
MAC address.
string mac_address = 2;
Returns Type Description ByteString
The bytes for macAddress.
hasAddresses()
public boolean hasAddresses ()
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
Returns Type Description boolean
Whether the addresses field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeAddresses(NetworkAddressList value)
public NetworkAdapterDetails . Builder mergeAddresses ( NetworkAddressList value )
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
mergeFrom(NetworkAdapterDetails other)
public NetworkAdapterDetails . Builder mergeFrom ( NetworkAdapterDetails other )
public NetworkAdapterDetails . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public NetworkAdapterDetails . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAdapterDetails . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setAdapterType(String value)
public NetworkAdapterDetails . Builder setAdapterType ( String value )
Network adapter type (e.g. VMXNET3).
string adapter_type = 1;
Parameter Name Description value
String
The adapterType to set.
setAdapterTypeBytes(ByteString value)
public NetworkAdapterDetails . Builder setAdapterTypeBytes ( ByteString value )
Network adapter type (e.g. VMXNET3).
string adapter_type = 1;
Parameter Name Description value
ByteString
The bytes for adapterType to set.
setAddresses(NetworkAddressList value)
public NetworkAdapterDetails . Builder setAddresses ( NetworkAddressList value )
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
setAddresses(NetworkAddressList.Builder builderForValue)
public NetworkAdapterDetails . Builder setAddresses ( NetworkAddressList . Builder builderForValue )
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkAdapterDetails . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setMacAddress(String value)
public NetworkAdapterDetails . Builder setMacAddress ( String value )
MAC address.
string mac_address = 2;
Parameter Name Description value
String
The macAddress to set.
setMacAddressBytes(ByteString value)
public NetworkAdapterDetails . Builder setMacAddressBytes ( ByteString value )
MAC address.
string mac_address = 2;
Parameter Name Description value
ByteString
The bytes for macAddress to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkAdapterDetails . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAdapterDetails . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]