public static final class VRF.VlanAttachment.Builder extends GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder> implements VRF.VlanAttachmentOrBuilder
VLAN attachment details.
Protobuf type google.cloud.baremetalsolution.v2.VRF.VlanAttachment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public VRF.VlanAttachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public VRF.VlanAttachment build()
Returns
public VRF.VlanAttachment buildPartial()
Returns
public VRF.VlanAttachment.Builder clear()
Returns
Overrides
public VRF.VlanAttachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public VRF.VlanAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public VRF.VlanAttachment.Builder clearPeerIp()
The peer IP of the attachment.
string peer_ip = 2;
Returns
public VRF.VlanAttachment.Builder clearPeerVlanId()
The peer vlan ID of the attachment.
int64 peer_vlan_id = 1;
Returns
public VRF.VlanAttachment.Builder clearRouterIp()
The router IP of the attachment.
string router_ip = 3;
Returns
public VRF.VlanAttachment.Builder clone()
Returns
Overrides
public VRF.VlanAttachment getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getPeerIp()
The peer IP of the attachment.
string peer_ip = 2;
Returns
Type | Description |
String | The peerIp.
|
public ByteString getPeerIpBytes()
The peer IP of the attachment.
string peer_ip = 2;
Returns
public long getPeerVlanId()
The peer vlan ID of the attachment.
int64 peer_vlan_id = 1;
Returns
Type | Description |
long | The peerVlanId.
|
public String getRouterIp()
The router IP of the attachment.
string router_ip = 3;
Returns
Type | Description |
String | The routerIp.
|
public ByteString getRouterIpBytes()
The router IP of the attachment.
string router_ip = 3;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public VRF.VlanAttachment.Builder mergeFrom(VRF.VlanAttachment other)
Parameter
Returns
public VRF.VlanAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public VRF.VlanAttachment.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final VRF.VlanAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public VRF.VlanAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public VRF.VlanAttachment.Builder setPeerIp(String value)
The peer IP of the attachment.
string peer_ip = 2;
Parameter
Name | Description |
value | String
The peerIp to set.
|
Returns
public VRF.VlanAttachment.Builder setPeerIpBytes(ByteString value)
The peer IP of the attachment.
string peer_ip = 2;
Parameter
Name | Description |
value | ByteString
The bytes for peerIp to set.
|
Returns
public VRF.VlanAttachment.Builder setPeerVlanId(long value)
The peer vlan ID of the attachment.
int64 peer_vlan_id = 1;
Parameter
Name | Description |
value | long
The peerVlanId to set.
|
Returns
public VRF.VlanAttachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public VRF.VlanAttachment.Builder setRouterIp(String value)
The router IP of the attachment.
string router_ip = 3;
Parameter
Name | Description |
value | String
The routerIp to set.
|
Returns
public VRF.VlanAttachment.Builder setRouterIpBytes(ByteString value)
The router IP of the attachment.
string router_ip = 3;
Parameter
Name | Description |
value | ByteString
The bytes for routerIp to set.
|
Returns
public final VRF.VlanAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides