public final class VRF extends GeneratedMessageV3 implements VRFOrBuilder
A network VRF.
Protobuf type google.cloud.baremetalsolution.v2.VRF
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value
public static final int QOS_POLICY_FIELD_NUMBER
Field Value
public static final int STATE_FIELD_NUMBER
Field Value
public static final int VLAN_ATTACHMENTS_FIELD_NUMBER
Field Value
Static Methods
public static VRF getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static VRF.Builder newBuilder()
Returns
public static VRF.Builder newBuilder(VRF prototype)
Parameter
Name | Description |
prototype | VRF
|
Returns
public static VRF parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VRF parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VRF parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static VRF parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VRF parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static VRF parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VRF parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VRF parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VRF parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VRF parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VRF parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static VRF parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<VRF> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public VRF getDefaultInstanceForType()
Returns
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
public Parser<VRF> getParserForType()
Returns
Overrides
public VRF.QosPolicy getQosPolicy()
The QOS policy applied to this VRF.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
Returns
public VRF.QosPolicyOrBuilder getQosPolicyOrBuilder()
The QOS policy applied to this VRF.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
Returns
public int getSerializedSize()
Returns
Overrides
public VRF.State getState()
The possible state of VRF.
.google.cloud.baremetalsolution.v2.VRF.State state = 5;
Returns
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 final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Returns
public int getVlanAttachmentsCount()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
Returns
public List<VRF.VlanAttachment> getVlanAttachmentsList()
The list of VLAN attachments for the VRF.
repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
Returns
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
Returns
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.
.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
Returns
Type | Description |
boolean | Whether the qosPolicy field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public VRF.Builder newBuilderForType()
Returns
protected VRF.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public VRF.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions