Class VRF (0.46.0)

public final class VRF extends GeneratedMessageV3 implements VRFOrBuilder

A network VRF.

Protobuf type google.cloud.baremetalsolution.v2.VRF

Implements

VRFOrBuilder

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

QOS_POLICY_FIELD_NUMBER

public static final int QOS_POLICY_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

VLAN_ATTACHMENTS_FIELD_NUMBER

public static final int VLAN_ATTACHMENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VRF getDefaultInstance()
Returns
Type Description
VRF

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VRF.Builder newBuilder()
Returns
Type Description
VRF.Builder

newBuilder(VRF prototype)

public static VRF.Builder newBuilder(VRF prototype)
Parameter
Name Description
prototype VRF
Returns
Type Description
VRF.Builder

parseDelimitedFrom(InputStream input)

public static VRF parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VRF
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VRF parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VRF
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VRF parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VRF
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VRF parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VRF
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VRF parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VRF
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VRF parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VRF
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VRF> parser()
Returns
Type Description
Parser<VRF>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VRF getDefaultInstanceForType()
Returns
Type Description
VRF

getName()

public String getName()

The name of the VRF.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the VRF.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<VRF> getParserForType()
Returns
Type Description
Parser<VRF>
Overrides

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;

Returns
Type Description
VRF.QosPolicy

The qosPolicy.

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;

Returns
Type Description
VRF.QosPolicyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public VRF.State getState()

The possible state of VRF.

.google.cloud.baremetalsolution.v2.VRF.State state = 5;

Returns
Type Description
VRF.State

The state.

getStateValue()

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.

getVlanAttachments(int index)

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
Returns
Type Description
VRF.VlanAttachment

getVlanAttachmentsCount()

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

getVlanAttachmentsList()

public List<VRF.VlanAttachment> getVlanAttachmentsList()

The list of VLAN attachments for the VRF.

repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;

Returns
Type Description
List<VlanAttachment>

getVlanAttachmentsOrBuilder(int index)

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
Returns
Type Description
VRF.VlanAttachmentOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.baremetalsolution.v2.VRF.VlanAttachmentOrBuilder>

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;

Returns
Type Description
boolean

Whether the qosPolicy field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VRF.Builder newBuilderForType()
Returns
Type Description
VRF.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VRF.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VRF.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VRF.Builder toBuilder()
Returns
Type Description
VRF.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException