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