Interface VRFOrBuilder (0.40.0)

public interface VRFOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

The name of the VRF.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the VRF.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getQosPolicy()

public abstract 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
TypeDescription
VRF.QosPolicy

The qosPolicy.

getQosPolicyOrBuilder()

public abstract 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
TypeDescription
VRF.QosPolicyOrBuilder

getState()

public abstract VRF.State getState()

The possible state of VRF.

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

Returns
TypeDescription
VRF.State

The state.

getStateValue()

public abstract int getStateValue()

The possible state of VRF.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getVlanAttachments(int index)

public abstract VRF.VlanAttachment getVlanAttachments(int index)

The list of VLAN attachments for the VRF.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VRF.VlanAttachment

getVlanAttachmentsCount()

public abstract int getVlanAttachmentsCount()

The list of VLAN attachments for the VRF.

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

Returns
TypeDescription
int

getVlanAttachmentsList()

public abstract List<VRF.VlanAttachment> getVlanAttachmentsList()

The list of VLAN attachments for the VRF.

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

Returns
TypeDescription
List<VlanAttachment>

getVlanAttachmentsOrBuilder(int index)

public abstract VRF.VlanAttachmentOrBuilder getVlanAttachmentsOrBuilder(int index)

The list of VLAN attachments for the VRF.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VRF.VlanAttachmentOrBuilder

getVlanAttachmentsOrBuilderList()

public abstract List<? extends VRF.VlanAttachmentOrBuilder> getVlanAttachmentsOrBuilderList()

The list of VLAN attachments for the VRF.

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

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

hasQosPolicy()

public abstract 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
TypeDescription
boolean

Whether the qosPolicy field is set.