- 1.92.0 (latest)
- 1.91.0
- 1.90.0
- 1.88.0
- 1.86.0
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class BgpRouteAsPath.Builder extends GeneratedMessageV3.Builder<BgpRouteAsPath.Builder> implements BgpRouteAsPathOrBuilder Protobuf type google.cloud.compute.v1.BgpRouteAsPath
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BgpRouteAsPath.BuilderImplements
BgpRouteAsPathOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAsns(Iterable<? extends Integer> values)
public BgpRouteAsPath.Builder addAllAsns(Iterable<? extends Integer> values)Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
repeated int32 asns = 3003767;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends java.lang.Integer>The asns to add. |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
This builder for chaining. |
addAllAsns32(Iterable<? extends Integer> values)
public BgpRouteAsPath.Builder addAllAsns32(Iterable<? extends Integer> values)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 |
values |
Iterable<? extends java.lang.Integer>The asns32 to add. |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
This builder for chaining. |
addAsns(int value)
public BgpRouteAsPath.Builder addAsns(int value)Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
repeated int32 asns = 3003767;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe asns to add. |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
This builder for chaining. |
addAsns32(int value)
public BgpRouteAsPath.Builder addAsns32(int value)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 |
value |
intThe asns32 to add. |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BgpRouteAsPath.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
build()
public BgpRouteAsPath build()| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath |
|
buildPartial()
public BgpRouteAsPath buildPartial()| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath |
|
clear()
public BgpRouteAsPath.Builder clear()| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
clearAsns()
public BgpRouteAsPath.Builder clearAsns()Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
repeated int32 asns = 3003767;
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
This builder for chaining. |
clearAsns32()
public BgpRouteAsPath.Builder clearAsns32()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 |
BgpRouteAsPath.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BgpRouteAsPath.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public BgpRouteAsPath.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
clearType()
public BgpRouteAsPath.Builder clearType()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 |
BgpRouteAsPath.Builder |
This builder for chaining. |
clone()
public BgpRouteAsPath.Builder clone()| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
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 |
intThe 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 |
intThe 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()| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getType()
public String 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()
public boolean 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BgpRouteAsPath other)
public BgpRouteAsPath.Builder mergeFrom(BgpRouteAsPath other)| Parameter | |
|---|---|
| Name | Description |
other |
BgpRouteAsPath |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BgpRouteAsPath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BgpRouteAsPath.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BgpRouteAsPath.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
setAsns(int index, int value)
public BgpRouteAsPath.Builder setAsns(int index, int value)Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
repeated int32 asns = 3003767;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe asns to set. |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
This builder for chaining. |
setAsns32(int index, int value)
public BgpRouteAsPath.Builder setAsns32(int index, int value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe asns32 to set. |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BgpRouteAsPath.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BgpRouteAsPath.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|
setType(String value)
public BgpRouteAsPath.Builder setType(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public BgpRouteAsPath.Builder setTypeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BgpRouteAsPath.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BgpRouteAsPath.Builder |
|