public final class VRF extends GeneratedMessageV3 implements VRFOrBuilder
A network VRF.
Protobuf type google.cloud.baremetalsolution.v2.VRF
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int QOS_POLICY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VLAN_ATTACHMENTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static VRF getDefaultInstance()
Returns |
---|
Type | Description |
VRF | |
public static final Descriptors.Descriptor getDescriptor()
public static VRF.Builder newBuilder()
public static VRF.Builder newBuilder(VRF prototype)
Parameter |
---|
Name | Description |
prototype | VRF
|
public static VRF parseDelimitedFrom(InputStream input)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(ByteString data)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(CodedInputStream input)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(InputStream input)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(ByteBuffer data)
Returns |
---|
Type | Description |
VRF | |
public static VRF parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
VRF | |
public static Parser<VRF> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public VRF getDefaultInstanceForType()
Returns |
---|
Type | Description |
VRF | |
The name of the VRF.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
public ByteString getNameBytes()
The name of the VRF.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
public Parser<VRF> getParserForType()
Overrides
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;
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;
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public VRF.State getState()
The possible state of VRF.
.google.cloud.baremetalsolution.v2.VRF.State state = 5;
public int getStateValue()
The possible state of VRF.
.google.cloud.baremetalsolution.v2.VRF.State state = 5;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
public VRF.VlanAttachment getVlanAttachments(int index)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
Parameter |
---|
Name | Description |
index | int
|
public int getVlanAttachmentsCount()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
Returns |
---|
Type | Description |
int | |
public List<VRF.VlanAttachment> getVlanAttachmentsList()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
public VRF.VlanAttachmentOrBuilder getVlanAttachmentsOrBuilder(int index)
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends VRF.VlanAttachmentOrBuilder> getVlanAttachmentsOrBuilderList()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.baremetalsolution.v2.VRF.VlanAttachmentOrBuilder> | |
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;
Returns |
---|
Type | Description |
boolean | Whether the qosPolicy field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VRF.Builder newBuilderForType()
protected VRF.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public VRF.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides