public static final class NetworkAdapterDetails.Builder extends GeneratedMessageV3.Builder<NetworkAdapterDetails.Builder> implements NetworkAdapterDetailsOrBuilder
Details of network adapter.
Protobuf type google.cloud.migrationcenter.v1.NetworkAdapterDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkAdapterDetails.BuilderImplements
NetworkAdapterDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkAdapterDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
build()
public NetworkAdapterDetails build()
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails |
buildPartial()
public NetworkAdapterDetails buildPartial()
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails |
clear()
public NetworkAdapterDetails.Builder clear()
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
clearAdapterType()
public NetworkAdapterDetails.Builder clearAdapterType()
Network adapter type (e.g. VMXNET3).
string adapter_type = 1;
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
This builder for chaining. |
clearAddresses()
public NetworkAdapterDetails.Builder clearAddresses()
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public NetworkAdapterDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
clearMacAddress()
public NetworkAdapterDetails.Builder clearMacAddress()
MAC address.
string mac_address = 2;
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkAdapterDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
clone()
public NetworkAdapterDetails.Builder clone()
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
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;
Returns | |
---|---|
Type | Description |
NetworkAddressList |
The addresses. |
getAddressesBuilder()
public NetworkAddressList.Builder getAddressesBuilder()
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
Returns | |
---|---|
Type | Description |
NetworkAddressList.Builder |
getAddressesOrBuilder()
public NetworkAddressListOrBuilder getAddressesOrBuilder()
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
Returns | |
---|---|
Type | Description |
NetworkAddressListOrBuilder |
getDefaultInstanceForType()
public NetworkAdapterDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAddresses(NetworkAddressList value)
public NetworkAdapterDetails.Builder mergeAddresses(NetworkAddressList value)
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
Parameter | |
---|---|
Name | Description |
value |
NetworkAddressList |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
mergeFrom(NetworkAdapterDetails other)
public NetworkAdapterDetails.Builder mergeFrom(NetworkAdapterDetails other)
Parameter | |
---|---|
Name | Description |
other |
NetworkAdapterDetails |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkAdapterDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkAdapterDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAdapterDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
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. |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
This builder for chaining. |
setAddresses(NetworkAddressList value)
public NetworkAdapterDetails.Builder setAddresses(NetworkAddressList value)
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
Parameter | |
---|---|
Name | Description |
value |
NetworkAddressList |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
setAddresses(NetworkAddressList.Builder builderForValue)
public NetworkAdapterDetails.Builder setAddresses(NetworkAddressList.Builder builderForValue)
NetworkAddressList
.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
NetworkAddressList.Builder |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkAdapterDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
setMacAddress(String value)
public NetworkAdapterDetails.Builder setMacAddress(String value)
MAC address.
string mac_address = 2;
Parameter | |
---|---|
Name | Description |
value |
String The macAddress to set. |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkAdapterDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAdapterDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkAdapterDetails.Builder |