Class NetworkConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
- com.google.cloud.baremetalsolution.v2.NetworkConfig.Builder
-
- All Implemented Interfaces:
NetworkConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkConfig
public static final class NetworkConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder> implements NetworkConfigOrBuilder
Configuration parameters for a new network.
Protobuf typegoogle.cloud.baremetalsolution.v2.NetworkConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkConfig.BuilderaddAllVlanAttachments(Iterable<? extends NetworkConfig.IntakeVlanAttachment> values)List of VLAN attachments.NetworkConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NetworkConfig.BuilderaddVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment value)List of VLAN attachments.NetworkConfig.BuilderaddVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment.Builder builderForValue)List of VLAN attachments.NetworkConfig.BuilderaddVlanAttachments(NetworkConfig.IntakeVlanAttachment value)List of VLAN attachments.NetworkConfig.BuilderaddVlanAttachments(NetworkConfig.IntakeVlanAttachment.Builder builderForValue)List of VLAN attachments.NetworkConfig.IntakeVlanAttachment.BuilderaddVlanAttachmentsBuilder()List of VLAN attachments.NetworkConfig.IntakeVlanAttachment.BuilderaddVlanAttachmentsBuilder(int index)List of VLAN attachments.NetworkConfigbuild()NetworkConfigbuildPartial()NetworkConfig.Builderclear()NetworkConfig.BuilderclearBandwidth()Interconnect bandwidth.NetworkConfig.BuilderclearCidr()CIDR range of the network.NetworkConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NetworkConfig.BuilderclearGcpService()The GCP service of the network.NetworkConfig.BuilderclearId()A transient unique identifier to identify a volume within an ProvisioningConfig request.NetworkConfig.BuilderclearJumboFramesEnabled()The JumboFramesEnabled option for customer to set.NetworkConfig.BuilderclearName()Output only.NetworkConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NetworkConfig.BuilderclearServiceCidr()Service CIDR, if any.NetworkConfig.BuilderclearType()The type of this network, either Client or Private.NetworkConfig.BuilderclearUserNote()User note field, it can be used by customers to add additional information for the BMS Ops team .NetworkConfig.BuilderclearVlanAttachments()List of VLAN attachments.NetworkConfig.BuilderclearVlanSameProject()Whether the VLAN attachment pair is located in the same project.NetworkConfig.Builderclone()NetworkConfig.BandwidthgetBandwidth()Interconnect bandwidth.intgetBandwidthValue()Interconnect bandwidth.StringgetCidr()CIDR range of the network.com.google.protobuf.ByteStringgetCidrBytes()CIDR range of the network.NetworkConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetGcpService()The GCP service of the network.com.google.protobuf.ByteStringgetGcpServiceBytes()The GCP service of the network.StringgetId()A transient unique identifier to identify a volume within an ProvisioningConfig request.com.google.protobuf.ByteStringgetIdBytes()A transient unique identifier to identify a volume within an ProvisioningConfig request.booleangetJumboFramesEnabled()The JumboFramesEnabled option for customer to set.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.NetworkConfig.ServiceCidrgetServiceCidr()Service CIDR, if any.intgetServiceCidrValue()Service CIDR, if any.NetworkConfig.TypegetType()The type of this network, either Client or Private.intgetTypeValue()The type of this network, either Client or Private.StringgetUserNote()User note field, it can be used by customers to add additional information for the BMS Ops team .com.google.protobuf.ByteStringgetUserNoteBytes()User note field, it can be used by customers to add additional information for the BMS Ops team .NetworkConfig.IntakeVlanAttachmentgetVlanAttachments(int index)List of VLAN attachments.NetworkConfig.IntakeVlanAttachment.BuildergetVlanAttachmentsBuilder(int index)List of VLAN attachments.List<NetworkConfig.IntakeVlanAttachment.Builder>getVlanAttachmentsBuilderList()List of VLAN attachments.intgetVlanAttachmentsCount()List of VLAN attachments.List<NetworkConfig.IntakeVlanAttachment>getVlanAttachmentsList()List of VLAN attachments.NetworkConfig.IntakeVlanAttachmentOrBuildergetVlanAttachmentsOrBuilder(int index)List of VLAN attachments.List<? extends NetworkConfig.IntakeVlanAttachmentOrBuilder>getVlanAttachmentsOrBuilderList()List of VLAN attachments.booleangetVlanSameProject()Whether the VLAN attachment pair is located in the same project.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NetworkConfig.BuildermergeFrom(NetworkConfig other)NetworkConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NetworkConfig.BuildermergeFrom(com.google.protobuf.Message other)NetworkConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NetworkConfig.BuilderremoveVlanAttachments(int index)List of VLAN attachments.NetworkConfig.BuildersetBandwidth(NetworkConfig.Bandwidth value)Interconnect bandwidth.NetworkConfig.BuildersetBandwidthValue(int value)Interconnect bandwidth.NetworkConfig.BuildersetCidr(String value)CIDR range of the network.NetworkConfig.BuildersetCidrBytes(com.google.protobuf.ByteString value)CIDR range of the network.NetworkConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NetworkConfig.BuildersetGcpService(String value)The GCP service of the network.NetworkConfig.BuildersetGcpServiceBytes(com.google.protobuf.ByteString value)The GCP service of the network.NetworkConfig.BuildersetId(String value)A transient unique identifier to identify a volume within an ProvisioningConfig request.NetworkConfig.BuildersetIdBytes(com.google.protobuf.ByteString value)A transient unique identifier to identify a volume within an ProvisioningConfig request.NetworkConfig.BuildersetJumboFramesEnabled(boolean value)The JumboFramesEnabled option for customer to set.NetworkConfig.BuildersetName(String value)Output only.NetworkConfig.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.NetworkConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NetworkConfig.BuildersetServiceCidr(NetworkConfig.ServiceCidr value)Service CIDR, if any.NetworkConfig.BuildersetServiceCidrValue(int value)Service CIDR, if any.NetworkConfig.BuildersetType(NetworkConfig.Type value)The type of this network, either Client or Private.NetworkConfig.BuildersetTypeValue(int value)The type of this network, either Client or Private.NetworkConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NetworkConfig.BuildersetUserNote(String value)User note field, it can be used by customers to add additional information for the BMS Ops team .NetworkConfig.BuildersetUserNoteBytes(com.google.protobuf.ByteString value)User note field, it can be used by customers to add additional information for the BMS Ops team .NetworkConfig.BuildersetVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment value)List of VLAN attachments.NetworkConfig.BuildersetVlanAttachments(int index, NetworkConfig.IntakeVlanAttachment.Builder builderForValue)List of VLAN attachments.NetworkConfig.BuildersetVlanSameProject(boolean value)Whether the VLAN attachment pair is located in the same project.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
clear
public NetworkConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.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.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
getDefaultInstanceForType
public NetworkConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NetworkConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NetworkConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NetworkConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
setField
public NetworkConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
clearField
public NetworkConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
clearOneof
public NetworkConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
setRepeatedField
public NetworkConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
addRepeatedField
public NetworkConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
mergeFrom
public NetworkConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkConfig.Builder>
-
mergeFrom
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
mergeFrom
public NetworkConfig.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<NetworkConfig.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceNetworkConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceNetworkConfigOrBuilder- Returns:
- The bytes for name.
-
setName
public NetworkConfig.Builder setName(String value)
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- 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:
- This builder for chaining.
-
setNameBytes
public NetworkConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getId
public String getId()
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;- Specified by:
getIdin interfaceNetworkConfigOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;- Specified by:
getIdBytesin interfaceNetworkConfigOrBuilder- Returns:
- The bytes for id.
-
setId
public NetworkConfig.Builder setId(String value)
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;- Parameters:
value- The id to set.- Returns:
- 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:
- This builder for chaining.
-
setIdBytes
public NetworkConfig.Builder setIdBytes(com.google.protobuf.ByteString value)
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;- Specified by:
getTypeValuein interfaceNetworkConfigOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public NetworkConfig.Builder setTypeValue(int value)
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public NetworkConfig.Type getType()
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;- Specified by:
getTypein interfaceNetworkConfigOrBuilder- Returns:
- The type.
-
setType
public NetworkConfig.Builder setType(NetworkConfig.Type value)
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;- Parameters:
value- The type to set.- Returns:
- 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:
- This builder for chaining.
-
getBandwidthValue
public int getBandwidthValue()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;- Specified by:
getBandwidthValuein interfaceNetworkConfigOrBuilder- Returns:
- The enum numeric value on the wire for bandwidth.
-
setBandwidthValue
public NetworkConfig.Builder setBandwidthValue(int value)
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;- Parameters:
value- The enum numeric value on the wire for bandwidth to set.- Returns:
- This builder for chaining.
-
getBandwidth
public NetworkConfig.Bandwidth getBandwidth()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;- Specified by:
getBandwidthin interfaceNetworkConfigOrBuilder- Returns:
- The bandwidth.
-
setBandwidth
public NetworkConfig.Builder setBandwidth(NetworkConfig.Bandwidth value)
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;- Parameters:
value- The bandwidth to set.- Returns:
- This builder for chaining.
-
clearBandwidth
public NetworkConfig.Builder clearBandwidth()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;- Returns:
- This builder for chaining.
-
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;- Specified by:
getVlanAttachmentsListin interfaceNetworkConfigOrBuilder
-
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;- Specified by:
getVlanAttachmentsCountin interfaceNetworkConfigOrBuilder
-
getVlanAttachments
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;- Specified by:
getVlanAttachmentsin interfaceNetworkConfigOrBuilder
-
setVlanAttachments
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;
-
setVlanAttachments
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;
-
addVlanAttachments
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;
-
addVlanAttachments
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;
-
addVlanAttachments
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;
-
addVlanAttachments
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;
-
addAllVlanAttachments
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;
-
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;
-
removeVlanAttachments
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;
-
getVlanAttachmentsBuilder
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;
-
getVlanAttachmentsOrBuilder
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;- Specified by:
getVlanAttachmentsOrBuilderin interfaceNetworkConfigOrBuilder
-
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;- Specified by:
getVlanAttachmentsOrBuilderListin interfaceNetworkConfigOrBuilder
-
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;
-
addVlanAttachmentsBuilder
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;
-
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;
-
getCidr
public String getCidr()
CIDR range of the network.
string cidr = 6;- Specified by:
getCidrin interfaceNetworkConfigOrBuilder- Returns:
- The cidr.
-
getCidrBytes
public com.google.protobuf.ByteString getCidrBytes()
CIDR range of the network.
string cidr = 6;- Specified by:
getCidrBytesin interfaceNetworkConfigOrBuilder- Returns:
- The bytes for cidr.
-
setCidr
public NetworkConfig.Builder setCidr(String value)
CIDR range of the network.
string cidr = 6;- Parameters:
value- The cidr to set.- Returns:
- This builder for chaining.
-
clearCidr
public NetworkConfig.Builder clearCidr()
CIDR range of the network.
string cidr = 6;- Returns:
- This builder for chaining.
-
setCidrBytes
public NetworkConfig.Builder setCidrBytes(com.google.protobuf.ByteString value)
CIDR range of the network.
string cidr = 6;- Parameters:
value- The bytes for cidr to set.- Returns:
- This builder for chaining.
-
getServiceCidrValue
public int getServiceCidrValue()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;- Specified by:
getServiceCidrValuein interfaceNetworkConfigOrBuilder- Returns:
- The enum numeric value on the wire for serviceCidr.
-
setServiceCidrValue
public NetworkConfig.Builder setServiceCidrValue(int value)
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;- Parameters:
value- The enum numeric value on the wire for serviceCidr to set.- Returns:
- This builder for chaining.
-
getServiceCidr
public NetworkConfig.ServiceCidr getServiceCidr()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;- Specified by:
getServiceCidrin interfaceNetworkConfigOrBuilder- Returns:
- The serviceCidr.
-
setServiceCidr
public NetworkConfig.Builder setServiceCidr(NetworkConfig.ServiceCidr value)
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;- Parameters:
value- The serviceCidr to set.- Returns:
- This builder for chaining.
-
clearServiceCidr
public NetworkConfig.Builder clearServiceCidr()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;- Returns:
- This builder for chaining.
-
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;- Specified by:
getUserNotein interfaceNetworkConfigOrBuilder- Returns:
- The userNote.
-
getUserNoteBytes
public com.google.protobuf.ByteString getUserNoteBytes()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;- Specified by:
getUserNoteBytesin interfaceNetworkConfigOrBuilder- Returns:
- The bytes for userNote.
-
setUserNote
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;- Parameters:
value- The userNote to set.- Returns:
- 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:
- This builder for chaining.
-
setUserNoteBytes
public NetworkConfig.Builder setUserNoteBytes(com.google.protobuf.ByteString value)
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;- Parameters:
value- The bytes for userNote to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getGcpServicein interfaceNetworkConfigOrBuilder- Returns:
- The gcpService.
-
getGcpServiceBytes
public com.google.protobuf.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;- Specified by:
getGcpServiceBytesin interfaceNetworkConfigOrBuilder- Returns:
- The bytes for gcpService.
-
setGcpService
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;- Parameters:
value- The gcpService to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setGcpServiceBytes
public NetworkConfig.Builder setGcpServiceBytes(com.google.protobuf.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;- Parameters:
value- The bytes for gcpService to set.- Returns:
- This builder for chaining.
-
getVlanSameProject
public boolean getVlanSameProject()
Whether the VLAN attachment pair is located in the same project.
bool vlan_same_project = 10;- Specified by:
getVlanSameProjectin interfaceNetworkConfigOrBuilder- Returns:
- The vlanSameProject.
-
setVlanSameProject
public NetworkConfig.Builder setVlanSameProject(boolean value)
Whether the VLAN attachment pair is located in the same project.
bool vlan_same_project = 10;- Parameters:
value- The vlanSameProject to set.- Returns:
- This builder for chaining.
-
clearVlanSameProject
public NetworkConfig.Builder clearVlanSameProject()
Whether the VLAN attachment pair is located in the same project.
bool vlan_same_project = 10;- Returns:
- This builder for chaining.
-
getJumboFramesEnabled
public boolean getJumboFramesEnabled()
The JumboFramesEnabled option for customer to set.
bool jumbo_frames_enabled = 11;- Specified by:
getJumboFramesEnabledin interfaceNetworkConfigOrBuilder- Returns:
- The jumboFramesEnabled.
-
setJumboFramesEnabled
public NetworkConfig.Builder setJumboFramesEnabled(boolean value)
The JumboFramesEnabled option for customer to set.
bool jumbo_frames_enabled = 11;- Parameters:
value- The jumboFramesEnabled to set.- Returns:
- This builder for chaining.
-
clearJumboFramesEnabled
public NetworkConfig.Builder clearJumboFramesEnabled()
The JumboFramesEnabled option for customer to set.
bool jumbo_frames_enabled = 11;- Returns:
- This builder for chaining.
-
setUnknownFields
public final NetworkConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
mergeUnknownFields
public final NetworkConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
-