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.Builder
addAllVlanAttachments(Iterable<? extends VRF.VlanAttachment> values)
The list of VLAN attachments for the VRF.VRF.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VRF.Builder
addVlanAttachments(int index, VRF.VlanAttachment value)
The list of VLAN attachments for the VRF.VRF.Builder
addVlanAttachments(int index, VRF.VlanAttachment.Builder builderForValue)
The list of VLAN attachments for the VRF.VRF.Builder
addVlanAttachments(VRF.VlanAttachment value)
The list of VLAN attachments for the VRF.VRF.Builder
addVlanAttachments(VRF.VlanAttachment.Builder builderForValue)
The list of VLAN attachments for the VRF.VRF.VlanAttachment.Builder
addVlanAttachmentsBuilder()
The list of VLAN attachments for the VRF.VRF.VlanAttachment.Builder
addVlanAttachmentsBuilder(int index)
The list of VLAN attachments for the VRF.VRF
build()
VRF
buildPartial()
VRF.Builder
clear()
VRF.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VRF.Builder
clearName()
The name of the VRF.VRF.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VRF.Builder
clearQosPolicy()
The QOS policy applied to this VRF.VRF.Builder
clearState()
The possible state of VRF.VRF.Builder
clearVlanAttachments()
The list of VLAN attachments for the VRF.VRF.Builder
clone()
VRF
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getName()
The name of the VRF.com.google.protobuf.ByteString
getNameBytes()
The name of the VRF.VRF.QosPolicy
getQosPolicy()
The QOS policy applied to this VRF.VRF.QosPolicy.Builder
getQosPolicyBuilder()
The QOS policy applied to this VRF.VRF.QosPolicyOrBuilder
getQosPolicyOrBuilder()
The QOS policy applied to this VRF.VRF.State
getState()
The possible state of VRF.int
getStateValue()
The possible state of VRF.VRF.VlanAttachment
getVlanAttachments(int index)
The list of VLAN attachments for the VRF.VRF.VlanAttachment.Builder
getVlanAttachmentsBuilder(int index)
The list of VLAN attachments for the VRF.List<VRF.VlanAttachment.Builder>
getVlanAttachmentsBuilderList()
The list of VLAN attachments for the VRF.int
getVlanAttachmentsCount()
The list of VLAN attachments for the VRF.List<VRF.VlanAttachment>
getVlanAttachmentsList()
The list of VLAN attachments for the VRF.VRF.VlanAttachmentOrBuilder
getVlanAttachmentsOrBuilder(int index)
The list of VLAN attachments for the VRF.List<? extends VRF.VlanAttachmentOrBuilder>
getVlanAttachmentsOrBuilderList()
The list of VLAN attachments for the VRF.boolean
hasQosPolicy()
The QOS policy applied to this VRF.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VRF.Builder
mergeFrom(VRF other)
VRF.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VRF.Builder
mergeFrom(com.google.protobuf.Message other)
VRF.Builder
mergeQosPolicy(VRF.QosPolicy value)
The QOS policy applied to this VRF.VRF.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VRF.Builder
removeVlanAttachments(int index)
The list of VLAN attachments for the VRF.VRF.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VRF.Builder
setName(String value)
The name of the VRF.VRF.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of the VRF.VRF.Builder
setQosPolicy(VRF.QosPolicy value)
The QOS policy applied to this VRF.VRF.Builder
setQosPolicy(VRF.QosPolicy.Builder builderForValue)
The QOS policy applied to this VRF.VRF.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VRF.Builder
setState(VRF.State value)
The possible state of VRF.VRF.Builder
setStateValue(int value)
The possible state of VRF.VRF.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VRF.Builder
setVlanAttachments(int index, VRF.VlanAttachment value)
The list of VLAN attachments for the VRF.VRF.Builder
setVlanAttachments(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
clear
public VRF.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
getDefaultInstanceForType
public VRF getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VRF build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VRF buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VRF.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
setField
public VRF.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
clearField
public VRF.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
clearOneof
public VRF.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
setRepeatedField
public VRF.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
addRepeatedField
public VRF.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
mergeFrom
public VRF.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VRF.Builder>
-
mergeFrom
public VRF.Builder mergeFrom(VRF other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VRF.Builder>
- Throws:
IOException
-
getName
public String getName()
The name of the VRF.
string name = 1;
- Specified by:
getName
in interfaceVRFOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the VRF.
string name = 1;
- Specified by:
getNameBytes
in 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:
getStateValue
in 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:
getState
in 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:
hasQosPolicy
in 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:
getQosPolicy
in 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:
getQosPolicyOrBuilder
in 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:
getVlanAttachmentsList
in 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:
getVlanAttachmentsCount
in 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:
getVlanAttachments
in 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:
getVlanAttachmentsOrBuilder
in 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:
getVlanAttachmentsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
mergeUnknownFields
public final VRF.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.Builder>
-
-