Class VRF (0.22.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
TypeDescription
int

QOS_POLICY_FIELD_NUMBER

public static final int QOS_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

VLAN_ATTACHMENTS_FIELD_NUMBER

public static final int VLAN_ATTACHMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VRF getDefaultInstance()
Returns
TypeDescription
VRF

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VRF.Builder newBuilder()
Returns
TypeDescription
VRF.Builder

newBuilder(VRF prototype)

public static VRF.Builder newBuilder(VRF prototype)
Parameter
NameDescription
prototypeVRF
Returns
TypeDescription
VRF.Builder

parseDelimitedFrom(InputStream input)

public static VRF parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VRF
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VRF parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VRF
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VRF parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VRF
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VRF parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VRF
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VRF parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VRF
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VRF parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VRF
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VRF parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VRF> parser()
Returns
TypeDescription
Parser<VRF>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VRF getDefaultInstanceForType()
Returns
TypeDescription
VRF

getName()

public String getName()

The name of the VRF.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the VRF.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<VRF> getParserForType()
Returns
TypeDescription
Parser<VRF>
Overrides

getQosPolicy()

public VRF.QosPolicy getQosPolicy()

The QOS policy applied to this VRF.

.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;

Returns
TypeDescription
VRF.QosPolicy

The qosPolicy.

getQosPolicyOrBuilder()

public VRF.QosPolicyOrBuilder getQosPolicyOrBuilder()

The QOS policy applied to this VRF.

.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;

Returns
TypeDescription
VRF.QosPolicyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public VRF.State getState()

The possible state of VRF.

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

Returns
TypeDescription
VRF.State

The state.

getStateValue()

public 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 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 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 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 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 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 boolean hasQosPolicy()

The QOS policy applied to this VRF.

.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;

Returns
TypeDescription
boolean

Whether the qosPolicy field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VRF.Builder newBuilderForType()
Returns
TypeDescription
VRF.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VRF.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VRF.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VRF.Builder toBuilder()
Returns
TypeDescription
VRF.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException