public static final class RouteAsPath.Builder extends GeneratedMessageV3.Builder<RouteAsPath.Builder> implements RouteAsPathOrBuilder
Protobuf type google.cloud.compute.v1.RouteAsPath
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
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 | int
The asLists to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouteAsPath.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RouteAsPath build()
Returns
buildPartial()
public RouteAsPath buildPartial()
Returns
clear()
public RouteAsPath.Builder clear()
Returns
Overrides
clearAsLists()
public RouteAsPath.Builder clearAsLists()
[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;
Returns
clearField(Descriptors.FieldDescriptor field)
public RouteAsPath.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RouteAsPath.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clone()
public RouteAsPath.Builder clone()
Returns
Overrides
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 | int
The 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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RouteAsPath other)
public RouteAsPath.Builder mergeFrom(RouteAsPath other)
Parameter
Returns
public RouteAsPath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RouteAsPath.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouteAsPath.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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 | int
The index to set the value at.
|
value | int
The asLists to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RouteAsPath.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The pathSegmentType to set.
|
Returns
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 | ByteString
The bytes for pathSegmentType to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouteAsPath.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RouteAsPath.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides