- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class NetworkConfig.Builder extends GeneratedMessageV3.Builder<NetworkConfig.Builder> implements NetworkConfigOrBuilder
Configuration parameters for a new network.
Protobuf type google.cloud.baremetalsolution.v2.NetworkConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkConfig.BuilderImplements
NetworkConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllVlanAttachments(Iterable<? extends NetworkConfig.IntakeVlanAttachment> values)
public NetworkConfig.Builder addAllVlanAttachments(Iterable<? extends NetworkConfig.IntakeVlanAttachment> values)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment> |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
addVlanAttachments(NetworkConfig.IntakeVlanAttachment value)
public NetworkConfig.Builder addVlanAttachments(NetworkConfig.IntakeVlanAttachment value)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter | |
---|---|
Name | Description |
value |
NetworkConfig.IntakeVlanAttachment |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
addVlanAttachments(NetworkConfig.IntakeVlanAttachment.Builder builderForValue)
public NetworkConfig.Builder addVlanAttachments(NetworkConfig.IntakeVlanAttachment.Builder builderForValue)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
NetworkConfig.IntakeVlanAttachment.Builder |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
addVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment value)
public NetworkConfig.Builder addVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment value)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
NetworkConfig.IntakeVlanAttachment |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
addVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment.Builder builderForValue)
public NetworkConfig.Builder addVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment.Builder builderForValue)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
NetworkConfig.IntakeVlanAttachment.Builder |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
addVlanAttachmentsBuilder()
public NetworkConfig.IntakeVlanAttachment.Builder addVlanAttachmentsBuilder()
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Returns | |
---|---|
Type | Description |
NetworkConfig.IntakeVlanAttachment.Builder |
addVlanAttachmentsBuilder(int index)
public NetworkConfig.IntakeVlanAttachment.Builder addVlanAttachmentsBuilder(int index)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkConfig.IntakeVlanAttachment.Builder |
build()
public NetworkConfig build()
Returns | |
---|---|
Type | Description |
NetworkConfig |
buildPartial()
public NetworkConfig buildPartial()
Returns | |
---|---|
Type | Description |
NetworkConfig |
clear()
public NetworkConfig.Builder clear()
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearBandwidth()
public NetworkConfig.Builder clearBandwidth()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clearCidr()
public NetworkConfig.Builder clearCidr()
CIDR range of the network.
string cidr = 6;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearGcpService()
public NetworkConfig.Builder clearGcpService()
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
string gcp_service = 9;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clearId()
public NetworkConfig.Builder clearId()
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clearJumboFramesEnabled()
public NetworkConfig.Builder clearJumboFramesEnabled()
The JumboFramesEnabled option for customer to set.
bool jumbo_frames_enabled = 11;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clearName()
public NetworkConfig.Builder clearName()
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearServiceCidr()
public NetworkConfig.Builder clearServiceCidr()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clearType()
public NetworkConfig.Builder clearType()
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clearUserNote()
public NetworkConfig.Builder clearUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clearVlanAttachments()
public NetworkConfig.Builder clearVlanAttachments()
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearVlanSameProject()
public NetworkConfig.Builder clearVlanSameProject()
Whether the VLAN attachment pair is located in the same project.
bool vlan_same_project = 10;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
clone()
public NetworkConfig.Builder clone()
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
getBandwidth()
public NetworkConfig.Bandwidth getBandwidth()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;
Returns | |
---|---|
Type | Description |
NetworkConfig.Bandwidth |
The bandwidth. |
getBandwidthValue()
public int getBandwidthValue()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for bandwidth. |
getCidr()
public String getCidr()
CIDR range of the network.
string cidr = 6;
Returns | |
---|---|
Type | Description |
String |
The cidr. |
getCidrBytes()
public ByteString getCidrBytes()
CIDR range of the network.
string cidr = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cidr. |
getDefaultInstanceForType()
public NetworkConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworkConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGcpService()
public String getGcpService()
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
string gcp_service = 9;
Returns | |
---|---|
Type | Description |
String |
The gcpService. |
getGcpServiceBytes()
public ByteString getGcpServiceBytes()
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
string gcp_service = 9;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gcpService. |
getId()
public String getId()
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getJumboFramesEnabled()
public boolean getJumboFramesEnabled()
The JumboFramesEnabled option for customer to set.
bool jumbo_frames_enabled = 11;
Returns | |
---|---|
Type | Description |
boolean |
The jumboFramesEnabled. |
getName()
public String getName()
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getServiceCidr()
public NetworkConfig.ServiceCidr getServiceCidr()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;
Returns | |
---|---|
Type | Description |
NetworkConfig.ServiceCidr |
The serviceCidr. |
getServiceCidrValue()
public int getServiceCidrValue()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for serviceCidr. |
getType()
public NetworkConfig.Type getType()
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;
Returns | |
---|---|
Type | Description |
NetworkConfig.Type |
The type. |
getTypeValue()
public int getTypeValue()
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |
getUserNote()
public String getUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;
Returns | |
---|---|
Type | Description |
String |
The userNote. |
getUserNoteBytes()
public ByteString getUserNoteBytes()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for userNote. |
getVlanAttachments(int index)
public NetworkConfig.IntakeVlanAttachment getVlanAttachments(int index)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkConfig.IntakeVlanAttachment |
getVlanAttachmentsBuilder(int index)
public NetworkConfig.IntakeVlanAttachment.Builder getVlanAttachmentsBuilder(int index)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkConfig.IntakeVlanAttachment.Builder |
getVlanAttachmentsBuilderList()
public List<NetworkConfig.IntakeVlanAttachment.Builder> getVlanAttachmentsBuilderList()
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Returns | |
---|---|
Type | Description |
List<Builder> |
getVlanAttachmentsCount()
public int getVlanAttachmentsCount()
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Returns | |
---|---|
Type | Description |
int |
getVlanAttachmentsList()
public List<NetworkConfig.IntakeVlanAttachment> getVlanAttachmentsList()
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Returns | |
---|---|
Type | Description |
List<IntakeVlanAttachment> |
getVlanAttachmentsOrBuilder(int index)
public NetworkConfig.IntakeVlanAttachmentOrBuilder getVlanAttachmentsOrBuilder(int index)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkConfig.IntakeVlanAttachmentOrBuilder |
getVlanAttachmentsOrBuilderList()
public List<? extends NetworkConfig.IntakeVlanAttachmentOrBuilder> getVlanAttachmentsOrBuilderList()
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachmentOrBuilder> |
getVlanSameProject()
public boolean getVlanSameProject()
Whether the VLAN attachment pair is located in the same project.
bool vlan_same_project = 10;
Returns | |
---|---|
Type | Description |
boolean |
The vlanSameProject. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NetworkConfig other)
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
Parameter | |
---|---|
Name | Description |
other |
NetworkConfig |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
removeVlanAttachments(int index)
public NetworkConfig.Builder removeVlanAttachments(int index)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setBandwidth(NetworkConfig.Bandwidth value)
public NetworkConfig.Builder setBandwidth(NetworkConfig.Bandwidth value)
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;
Parameter | |
---|---|
Name | Description |
value |
NetworkConfig.Bandwidth The bandwidth to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setBandwidthValue(int value)
public NetworkConfig.Builder setBandwidthValue(int value)
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for bandwidth to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setCidr(String value)
public NetworkConfig.Builder setCidr(String value)
CIDR range of the network.
string cidr = 6;
Parameter | |
---|---|
Name | Description |
value |
String The cidr to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setCidrBytes(ByteString value)
public NetworkConfig.Builder setCidrBytes(ByteString value)
CIDR range of the network.
string cidr = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cidr to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setGcpService(String value)
public NetworkConfig.Builder setGcpService(String value)
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
string gcp_service = 9;
Parameter | |
---|---|
Name | Description |
value |
String The gcpService to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setGcpServiceBytes(ByteString value)
public NetworkConfig.Builder setGcpServiceBytes(ByteString value)
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
string gcp_service = 9;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for gcpService to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setId(String value)
public NetworkConfig.Builder setId(String value)
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public NetworkConfig.Builder setIdBytes(ByteString value)
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setJumboFramesEnabled(boolean value)
public NetworkConfig.Builder setJumboFramesEnabled(boolean value)
The JumboFramesEnabled option for customer to set.
bool jumbo_frames_enabled = 11;
Parameter | |
---|---|
Name | Description |
value |
boolean The jumboFramesEnabled to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setName(String value)
public NetworkConfig.Builder setName(String value)
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public NetworkConfig.Builder setNameBytes(ByteString value)
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setServiceCidr(NetworkConfig.ServiceCidr value)
public NetworkConfig.Builder setServiceCidr(NetworkConfig.ServiceCidr value)
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;
Parameter | |
---|---|
Name | Description |
value |
NetworkConfig.ServiceCidr The serviceCidr to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setServiceCidrValue(int value)
public NetworkConfig.Builder setServiceCidrValue(int value)
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for serviceCidr to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setType(NetworkConfig.Type value)
public NetworkConfig.Builder setType(NetworkConfig.Type value)
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;
Parameter | |
---|---|
Name | Description |
value |
NetworkConfig.Type The type to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setTypeValue(int value)
public NetworkConfig.Builder setTypeValue(int value)
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setUserNote(String value)
public NetworkConfig.Builder setUserNote(String value)
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;
Parameter | |
---|---|
Name | Description |
value |
String The userNote to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setUserNoteBytes(ByteString value)
public NetworkConfig.Builder setUserNoteBytes(ByteString value)
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for userNote to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |
setVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment value)
public NetworkConfig.Builder setVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment value)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
NetworkConfig.IntakeVlanAttachment |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment.Builder builderForValue)
public NetworkConfig.Builder setVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment.Builder builderForValue)
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
NetworkConfig.IntakeVlanAttachment.Builder |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setVlanSameProject(boolean value)
public NetworkConfig.Builder setVlanSameProject(boolean value)
Whether the VLAN attachment pair is located in the same project.
bool vlan_same_project = 10;
Parameter | |
---|---|
Name | Description |
value |
boolean The vlanSameProject to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
This builder for chaining. |