public static final class InstanceConfig.NetworkAddress.Builder extends GeneratedMessage.Builder<InstanceConfig.NetworkAddress.Builder> implements InstanceConfig.NetworkAddressOrBuilderA network.
Protobuf type google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InstanceConfig.NetworkAddress.BuilderImplements
InstanceConfig.NetworkAddressOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InstanceConfig.NetworkAddress build()| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress |
|
buildPartial()
public InstanceConfig.NetworkAddress buildPartial()| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress |
|
clear()
public InstanceConfig.NetworkAddress.Builder clear()| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
|
clearAddress()
public InstanceConfig.NetworkAddress.Builder clearAddress()IPv4 address to be assigned to the server.
string address = 2;
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
This builder for chaining. |
clearExistingNetworkId()
public InstanceConfig.NetworkAddress.Builder clearExistingNetworkId()Name of the existing network to use.
string existing_network_id = 3;
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
This builder for chaining. |
clearNetworkId()
public InstanceConfig.NetworkAddress.Builder clearNetworkId()Id of the network to use, within the same ProvisioningConfig request.
string network_id = 1;
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
This builder for chaining. |
getAddress()
public String getAddress()IPv4 address to be assigned to the server.
string address = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The address. |
getAddressBytes()
public ByteString getAddressBytes()IPv4 address to be assigned to the server.
string address = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for address. |
getDefaultInstanceForType()
public InstanceConfig.NetworkAddress getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExistingNetworkId()
public String getExistingNetworkId()Name of the existing network to use.
string existing_network_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The existingNetworkId. |
getExistingNetworkIdBytes()
public ByteString getExistingNetworkIdBytes()Name of the existing network to use.
string existing_network_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for existingNetworkId. |
getNetworkId()
public String getNetworkId()Id of the network to use, within the same ProvisioningConfig request.
string network_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The networkId. |
getNetworkIdBytes()
public ByteString getNetworkIdBytes()Id of the network to use, within the same ProvisioningConfig request.
string network_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for networkId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InstanceConfig.NetworkAddress other)
public InstanceConfig.NetworkAddress.Builder mergeFrom(InstanceConfig.NetworkAddress other)| Parameter | |
|---|---|
| Name | Description |
other |
InstanceConfig.NetworkAddress |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceConfig.NetworkAddress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InstanceConfig.NetworkAddress.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
|
setAddress(String value)
public InstanceConfig.NetworkAddress.Builder setAddress(String value)IPv4 address to be assigned to the server.
string address = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe address to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
This builder for chaining. |
setAddressBytes(ByteString value)
public InstanceConfig.NetworkAddress.Builder setAddressBytes(ByteString value)IPv4 address to be assigned to the server.
string address = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for address to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
This builder for chaining. |
setExistingNetworkId(String value)
public InstanceConfig.NetworkAddress.Builder setExistingNetworkId(String value)Name of the existing network to use.
string existing_network_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe existingNetworkId to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
This builder for chaining. |
setExistingNetworkIdBytes(ByteString value)
public InstanceConfig.NetworkAddress.Builder setExistingNetworkIdBytes(ByteString value)Name of the existing network to use.
string existing_network_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for existingNetworkId to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
This builder for chaining. |
setNetworkId(String value)
public InstanceConfig.NetworkAddress.Builder setNetworkId(String value)Id of the network to use, within the same ProvisioningConfig request.
string network_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe networkId to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
This builder for chaining. |
setNetworkIdBytes(ByteString value)
public InstanceConfig.NetworkAddress.Builder setNetworkIdBytes(ByteString value)Id of the network to use, within the same ProvisioningConfig request.
string network_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for networkId to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.NetworkAddress.Builder |
This builder for chaining. |