Package com.google.cloud.compute.v1
Class RouteAsPath.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
- com.google.cloud.compute.v1.RouteAsPath.Builder
-
- All Implemented Interfaces:
RouteAsPathOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouteAsPath
public static final class RouteAsPath.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder> implements RouteAsPathOrBuilder
Protobuf typegoogle.cloud.compute.v1.RouteAsPath
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteAsPath.BuilderaddAllAsLists(Iterable<? extends Integer> values)[Output Only] The AS numbers of the AS Path.RouteAsPath.BuilderaddAsLists(int value)[Output Only] The AS numbers of the AS Path.RouteAsPath.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouteAsPathbuild()RouteAsPathbuildPartial()RouteAsPath.Builderclear()RouteAsPath.BuilderclearAsLists()[Output Only] The AS numbers of the AS Path.RouteAsPath.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RouteAsPath.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RouteAsPath.BuilderclearPathSegmentType()[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.RouteAsPath.Builderclone()intgetAsLists(int index)[Output Only] The AS numbers of the AS Path.intgetAsListsCount()[Output Only] The AS numbers of the AS Path.List<Integer>getAsListsList()[Output Only] The AS numbers of the AS Path.RouteAsPathgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPathSegmentType()[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.com.google.protobuf.ByteStringgetPathSegmentTypeBytes()[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.booleanhasPathSegmentType()[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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RouteAsPath.BuildermergeFrom(RouteAsPath other)RouteAsPath.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouteAsPath.BuildermergeFrom(com.google.protobuf.Message other)RouteAsPath.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouteAsPath.BuildersetAsLists(int index, int value)[Output Only] The AS numbers of the AS Path.RouteAsPath.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouteAsPath.BuildersetPathSegmentType(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.RouteAsPath.BuildersetPathSegmentTypeBytes(com.google.protobuf.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.RouteAsPath.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RouteAsPath.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
clear
public RouteAsPath.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
getDefaultInstanceForType
public RouteAsPath getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouteAsPath build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouteAsPath buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouteAsPath.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
setField
public RouteAsPath.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
clearField
public RouteAsPath.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
clearOneof
public RouteAsPath.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
setRepeatedField
public RouteAsPath.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
addRepeatedField
public RouteAsPath.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
mergeFrom
public RouteAsPath.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAsPath.Builder>
-
mergeFrom
public RouteAsPath.Builder mergeFrom(RouteAsPath other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
mergeFrom
public RouteAsPath.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAsPath.Builder>- Throws:
IOException
-
getAsListsList
public List<Integer> getAsListsList()
[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;- Specified by:
getAsListsListin interfaceRouteAsPathOrBuilder- Returns:
- A list containing the asLists.
-
getAsListsCount
public int getAsListsCount()
[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;- Specified by:
getAsListsCountin interfaceRouteAsPathOrBuilder- Returns:
- The count of asLists.
-
getAsLists
public int getAsLists(int index)
[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;- Specified by:
getAsListsin interfaceRouteAsPathOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The asLists at the given index.
-
setAsLists
public RouteAsPath.Builder setAsLists(int index, int value)
[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;- Parameters:
index- The index to set the value at.value- The asLists to set.- Returns:
- This builder for chaining.
-
addAsLists
public RouteAsPath.Builder addAsLists(int value)
[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;- Parameters:
value- The asLists to add.- Returns:
- This builder for chaining.
-
addAllAsLists
public RouteAsPath.Builder addAllAsLists(Iterable<? extends Integer> values)
[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;- Parameters:
values- The asLists to add.- Returns:
- This builder for chaining.
-
clearAsLists
public RouteAsPath.Builder clearAsLists()
[Output Only] The AS numbers of the AS Path.
repeated uint32 as_lists = 134112584;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasPathSegmentTypein interfaceRouteAsPathOrBuilder- Returns:
- Whether the pathSegmentType field is set.
-
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;- Specified by:
getPathSegmentTypein interfaceRouteAsPathOrBuilder- Returns:
- The pathSegmentType.
-
getPathSegmentTypeBytes
public com.google.protobuf.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;- Specified by:
getPathSegmentTypeBytesin interfaceRouteAsPathOrBuilder- Returns:
- The bytes for pathSegmentType.
-
setPathSegmentType
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;- Parameters:
value- The pathSegmentType to set.- Returns:
- 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:
- This builder for chaining.
-
setPathSegmentTypeBytes
public RouteAsPath.Builder setPathSegmentTypeBytes(com.google.protobuf.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;- Parameters:
value- The bytes for pathSegmentType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RouteAsPath.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
mergeUnknownFields
public final RouteAsPath.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAsPath.Builder>
-
-