public static final class RouteAsPath.Builder extends GeneratedMessage.Builder<RouteAsPath.Builder> implements RouteAsPathOrBuilder Protobuf type google.cloud.compute.v1.RouteAsPath
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RouteAsPath.BuilderImplements
RouteAsPathOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAsLists(Iterable<? extends Integer> values)
public RouteAsPath.Builder addAllAsLists(Iterable<? extends Integer> values)[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends java.lang.Integer>The asLists to add. |
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
This builder for chaining. |
addAsLists(int value)
public RouteAsPath.Builder addAsLists(int value)[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe asLists to add. |
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
This builder for chaining. |
build()
public RouteAsPath build()| Returns | |
|---|---|
| Type | Description |
RouteAsPath |
|
buildPartial()
public RouteAsPath buildPartial()| Returns | |
|---|---|
| Type | Description |
RouteAsPath |
|
clear()
public RouteAsPath.Builder clear()| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
|
clearAsLists()
public RouteAsPath.Builder clearAsLists()[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
This builder for chaining. |
clearPathSegmentType()
public RouteAsPath.Builder clearPathSegmentType()[Output Only] The type of the AS Path, which can be one of the following values:
- 'AS_SET': unordered set of autonomous systems that the route in has traversed
- 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed
- 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed
- 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Check the PathSegmentType enum for the list of possible values.
optional string path_segment_type = 513464992;
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
This builder for chaining. |
getAsLists(int index)
public int getAsLists(int index)[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The asLists at the given index. |
getAsListsCount()
public int getAsListsCount()[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;
| Returns | |
|---|---|
| Type | Description |
int |
The count of asLists. |
getAsListsList()
public List<Integer> getAsListsList()[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the asLists. |
getDefaultInstanceForType()
public RouteAsPath getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RouteAsPath |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPathSegmentType()
public String getPathSegmentType()[Output Only] The type of the AS Path, which can be one of the following values:
- 'AS_SET': unordered set of autonomous systems that the route in has traversed
- 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed
- 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed
- 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Check the PathSegmentType enum for the list of possible values.
optional string path_segment_type = 513464992;
| Returns | |
|---|---|
| Type | Description |
String |
The pathSegmentType. |
getPathSegmentTypeBytes()
public ByteString getPathSegmentTypeBytes()[Output Only] The type of the AS Path, which can be one of the following values:
- 'AS_SET': unordered set of autonomous systems that the route in has traversed
- 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed
- 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed
- 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Check the PathSegmentType enum for the list of possible values.
optional string path_segment_type = 513464992;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pathSegmentType. |
hasPathSegmentType()
public boolean hasPathSegmentType()[Output Only] The type of the AS Path, which can be one of the following values:
- 'AS_SET': unordered set of autonomous systems that the route in has traversed
- 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed
- 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed
- 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Check the PathSegmentType enum for the list of possible values.
optional string path_segment_type = 513464992;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pathSegmentType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RouteAsPath other)
public RouteAsPath.Builder mergeFrom(RouteAsPath other)| Parameter | |
|---|---|
| Name | Description |
other |
RouteAsPath |
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RouteAsPath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RouteAsPath.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
|
setAsLists(int index, int value)
public RouteAsPath.Builder setAsLists(int index, int value)[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe asLists to set. |
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
This builder for chaining. |
setPathSegmentType(String value)
public RouteAsPath.Builder setPathSegmentType(String value)[Output Only] The type of the AS Path, which can be one of the following values:
- 'AS_SET': unordered set of autonomous systems that the route in has traversed
- 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed
- 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed
- 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Check the PathSegmentType enum for the list of possible values.
optional string path_segment_type = 513464992;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pathSegmentType to set. |
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
This builder for chaining. |
setPathSegmentTypeBytes(ByteString value)
public RouteAsPath.Builder setPathSegmentTypeBytes(ByteString value)[Output Only] The type of the AS Path, which can be one of the following values:
- 'AS_SET': unordered set of autonomous systems that the route in has traversed
- 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed
- 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed
- 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Check the PathSegmentType enum for the list of possible values.
optional string path_segment_type = 513464992;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pathSegmentType to set. |
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
This builder for chaining. |