public final class BgpRouteAsPath extends GeneratedMessage implements BgpRouteAsPathOrBuilder
Protobuf type google.cloud.compute.v1.BgpRouteAsPath
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ASNS32_FIELD_NUMBER
public static final int ASNS32_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ASNS_FIELD_NUMBER
public static final int ASNS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BgpRouteAsPath getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BgpRouteAsPath.Builder newBuilder()
newBuilder(BgpRouteAsPath prototype)
public static BgpRouteAsPath.Builder newBuilder(BgpRouteAsPath prototype)
public static BgpRouteAsPath parseDelimitedFrom(InputStream input)
public static BgpRouteAsPath parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BgpRouteAsPath parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BgpRouteAsPath parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BgpRouteAsPath parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BgpRouteAsPath parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BgpRouteAsPath parseFrom(CodedInputStream input)
public static BgpRouteAsPath parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BgpRouteAsPath parseFrom(InputStream input)
public static BgpRouteAsPath parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BgpRouteAsPath parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BgpRouteAsPath parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BgpRouteAsPath> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAsns(int index)
public int getAsns(int index)
Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are
ordered.
repeated int32 asns = 3003767;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
int |
The asns at the given index.
|
getAsns32(int index)
public int getAsns32(int index)
Output only. [Output only] ASNs in the path segment. This field is for better
support of 32 bit ASNs as the other asns field suffers from overflow when
the ASN is larger. When type is SEQUENCE, these are ordered.
repeated uint32 asns32 = 202267158;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
int |
The asns32 at the given index.
|
getAsns32Count()
public int getAsns32Count()
Output only. [Output only] ASNs in the path segment. This field is for better
support of 32 bit ASNs as the other asns field suffers from overflow when
the ASN is larger. When type is SEQUENCE, these are ordered.
repeated uint32 asns32 = 202267158;
| Returns |
| Type |
Description |
int |
The count of asns32.
|
getAsns32List()
public List<Integer> getAsns32List()
Output only. [Output only] ASNs in the path segment. This field is for better
support of 32 bit ASNs as the other asns field suffers from overflow when
the ASN is larger. When type is SEQUENCE, these are ordered.
repeated uint32 asns32 = 202267158;
| Returns |
| Type |
Description |
List<Integer> |
A list containing the asns32.
|
getAsnsCount()
public int getAsnsCount()
Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are
ordered.
repeated int32 asns = 3003767;
| Returns |
| Type |
Description |
int |
The count of asns.
|
getAsnsList()
public List<Integer> getAsnsList()
Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are
ordered.
repeated int32 asns = 3003767;
| Returns |
| Type |
Description |
List<Integer> |
A list containing the asns.
|
getDefaultInstanceForType()
public BgpRouteAsPath getDefaultInstanceForType()
getParserForType()
public Parser<BgpRouteAsPath> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getType()
Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns |
| Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns |
| Type |
Description |
ByteString |
The bytes for type.
|
hasType()
Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns |
| Type |
Description |
boolean |
Whether the type field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BgpRouteAsPath.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BgpRouteAsPath.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public BgpRouteAsPath.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides