Class VRF.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
- com.google.cloud.baremetalsolution.v2.VRF.Builder
-
- All Implemented Interfaces:
VRFOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VRF
public static final class VRF.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder> implements VRFOrBuilder
A network VRF.
Protobuf typegoogle.cloud.baremetalsolution.v2.VRF
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VRF.BuilderaddAllVlanAttachments(Iterable<? extends VRF.VlanAttachment> values)The list of VLAN attachments for the VRF.VRF.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VRF.BuilderaddVlanAttachments(int index, VRF.VlanAttachment value)The list of VLAN attachments for the VRF.VRF.BuilderaddVlanAttachments(int index, VRF.VlanAttachment.Builder builderForValue)The list of VLAN attachments for the VRF.VRF.BuilderaddVlanAttachments(VRF.VlanAttachment value)The list of VLAN attachments for the VRF.VRF.BuilderaddVlanAttachments(VRF.VlanAttachment.Builder builderForValue)The list of VLAN attachments for the VRF.VRF.VlanAttachment.BuilderaddVlanAttachmentsBuilder()The list of VLAN attachments for the VRF.VRF.VlanAttachment.BuilderaddVlanAttachmentsBuilder(int index)The list of VLAN attachments for the VRF.VRFbuild()VRFbuildPartial()VRF.Builderclear()VRF.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VRF.BuilderclearName()The name of the VRF.VRF.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VRF.BuilderclearQosPolicy()The QOS policy applied to this VRF.VRF.BuilderclearState()The possible state of VRF.VRF.BuilderclearVlanAttachments()The list of VLAN attachments for the VRF.VRF.Builderclone()VRFgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()The name of the VRF.com.google.protobuf.ByteStringgetNameBytes()The name of the VRF.VRF.QosPolicygetQosPolicy()The QOS policy applied to this VRF.VRF.QosPolicy.BuildergetQosPolicyBuilder()The QOS policy applied to this VRF.VRF.QosPolicyOrBuildergetQosPolicyOrBuilder()The QOS policy applied to this VRF.VRF.StategetState()The possible state of VRF.intgetStateValue()The possible state of VRF.VRF.VlanAttachmentgetVlanAttachments(int index)The list of VLAN attachments for the VRF.VRF.VlanAttachment.BuildergetVlanAttachmentsBuilder(int index)The list of VLAN attachments for the VRF.List<VRF.VlanAttachment.Builder>getVlanAttachmentsBuilderList()The list of VLAN attachments for the VRF.intgetVlanAttachmentsCount()The list of VLAN attachments for the VRF.List<VRF.VlanAttachment>getVlanAttachmentsList()The list of VLAN attachments for the VRF.VRF.VlanAttachmentOrBuildergetVlanAttachmentsOrBuilder(int index)The list of VLAN attachments for the VRF.List<? extends VRF.VlanAttachmentOrBuilder>getVlanAttachmentsOrBuilderList()The list of VLAN attachments for the VRF.booleanhasQosPolicy()The QOS policy applied to this VRF.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VRF.BuildermergeFrom(VRF other)VRF.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VRF.BuildermergeFrom(com.google.protobuf.Message other)VRF.BuildermergeQosPolicy(VRF.QosPolicy value)The QOS policy applied to this VRF.VRF.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VRF.BuilderremoveVlanAttachments(int index)The list of VLAN attachments for the VRF.VRF.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VRF.BuildersetName(String value)The name of the VRF.VRF.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the VRF.VRF.BuildersetQosPolicy(VRF.QosPolicy value)The QOS policy applied to this VRF.VRF.BuildersetQosPolicy(VRF.QosPolicy.Builder builderForValue)The QOS policy applied to this VRF.VRF.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VRF.BuildersetState(VRF.State value)The possible state of VRF.VRF.BuildersetStateValue(int value)The possible state of VRF.VRF.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VRF.BuildersetVlanAttachments(int index, VRF.VlanAttachment value)The list of VLAN attachments for the VRF.VRF.BuildersetVlanAttachments(int index, VRF.VlanAttachment.Builder builderForValue)The list of VLAN attachments for the VRF.-
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<VRF.Builder>
-
clear
public VRF.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<VRF.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<VRF.Builder>
-
getDefaultInstanceForType
public VRF getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VRF build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VRF buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VRF.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<VRF.Builder>
-
setField
public VRF.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<VRF.Builder>
-
clearField
public VRF.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
clearOneof
public VRF.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
setRepeatedField
public VRF.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<VRF.Builder>
-
addRepeatedField
public VRF.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<VRF.Builder>
-
mergeFrom
public VRF.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VRF.Builder>
-
mergeFrom
public VRF.Builder mergeFrom(VRF other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
mergeFrom
public VRF.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<VRF.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the VRF.
string name = 1;- Specified by:
getNamein interfaceVRFOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the VRF.
string name = 1;- Specified by:
getNameBytesin interfaceVRFOrBuilder- Returns:
- The bytes for name.
-
setName
public VRF.Builder setName(String value)
The name of the VRF.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public VRF.Builder clearName()
The name of the VRF.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public VRF.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the VRF.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
The possible state of VRF.
.google.cloud.baremetalsolution.v2.VRF.State state = 5;- Specified by:
getStateValuein interfaceVRFOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public VRF.Builder setStateValue(int value)
The possible state of VRF.
.google.cloud.baremetalsolution.v2.VRF.State state = 5;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public VRF.State getState()
The possible state of VRF.
.google.cloud.baremetalsolution.v2.VRF.State state = 5;- Specified by:
getStatein interfaceVRFOrBuilder- Returns:
- The state.
-
setState
public VRF.Builder setState(VRF.State value)
The possible state of VRF.
.google.cloud.baremetalsolution.v2.VRF.State state = 5;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public VRF.Builder clearState()
The possible state of VRF.
.google.cloud.baremetalsolution.v2.VRF.State state = 5;- Returns:
- This builder for chaining.
-
hasQosPolicy
public boolean hasQosPolicy()
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;- Specified by:
hasQosPolicyin interfaceVRFOrBuilder- Returns:
- Whether the qosPolicy field is set.
-
getQosPolicy
public VRF.QosPolicy getQosPolicy()
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;- Specified by:
getQosPolicyin interfaceVRFOrBuilder- Returns:
- The qosPolicy.
-
setQosPolicy
public VRF.Builder setQosPolicy(VRF.QosPolicy value)
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
-
setQosPolicy
public VRF.Builder setQosPolicy(VRF.QosPolicy.Builder builderForValue)
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
-
mergeQosPolicy
public VRF.Builder mergeQosPolicy(VRF.QosPolicy value)
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
-
clearQosPolicy
public VRF.Builder clearQosPolicy()
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
-
getQosPolicyBuilder
public VRF.QosPolicy.Builder getQosPolicyBuilder()
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
-
getQosPolicyOrBuilder
public VRF.QosPolicyOrBuilder getQosPolicyOrBuilder()
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;- Specified by:
getQosPolicyOrBuilderin interfaceVRFOrBuilder
-
getVlanAttachmentsList
public List<VRF.VlanAttachment> getVlanAttachmentsList()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;- Specified by:
getVlanAttachmentsListin interfaceVRFOrBuilder
-
getVlanAttachmentsCount
public int getVlanAttachmentsCount()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;- Specified by:
getVlanAttachmentsCountin interfaceVRFOrBuilder
-
getVlanAttachments
public VRF.VlanAttachment getVlanAttachments(int index)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;- Specified by:
getVlanAttachmentsin interfaceVRFOrBuilder
-
setVlanAttachments
public VRF.Builder setVlanAttachments(int index, VRF.VlanAttachment value)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
setVlanAttachments
public VRF.Builder setVlanAttachments(int index, VRF.VlanAttachment.Builder builderForValue)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
addVlanAttachments
public VRF.Builder addVlanAttachments(VRF.VlanAttachment value)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
addVlanAttachments
public VRF.Builder addVlanAttachments(int index, VRF.VlanAttachment value)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
addVlanAttachments
public VRF.Builder addVlanAttachments(VRF.VlanAttachment.Builder builderForValue)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
addVlanAttachments
public VRF.Builder addVlanAttachments(int index, VRF.VlanAttachment.Builder builderForValue)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
addAllVlanAttachments
public VRF.Builder addAllVlanAttachments(Iterable<? extends VRF.VlanAttachment> values)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
clearVlanAttachments
public VRF.Builder clearVlanAttachments()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
removeVlanAttachments
public VRF.Builder removeVlanAttachments(int index)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
getVlanAttachmentsBuilder
public VRF.VlanAttachment.Builder getVlanAttachmentsBuilder(int index)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
getVlanAttachmentsOrBuilder
public VRF.VlanAttachmentOrBuilder getVlanAttachmentsOrBuilder(int index)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;- Specified by:
getVlanAttachmentsOrBuilderin interfaceVRFOrBuilder
-
getVlanAttachmentsOrBuilderList
public List<? extends VRF.VlanAttachmentOrBuilder> getVlanAttachmentsOrBuilderList()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;- Specified by:
getVlanAttachmentsOrBuilderListin interfaceVRFOrBuilder
-
addVlanAttachmentsBuilder
public VRF.VlanAttachment.Builder addVlanAttachmentsBuilder()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
addVlanAttachmentsBuilder
public VRF.VlanAttachment.Builder addVlanAttachmentsBuilder(int index)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
getVlanAttachmentsBuilderList
public List<VRF.VlanAttachment.Builder> getVlanAttachmentsBuilderList()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
-
setUnknownFields
public final VRF.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
mergeUnknownFields
public final VRF.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
-