public final class RouteInfo extends com.google.protobuf.GeneratedMessageV3 implements RouteInfoOrBuilder
For display only. Metadata associated with a Compute Engine route.Protobuf type
google.cloud.networkmanagement.v1beta1.RouteInfo| Modifier and Type | Class and Description |
|---|---|
static class |
RouteInfo.Builder
For display only.
|
static class |
RouteInfo.NextHopType
Type of next hop:
|
static class |
RouteInfo.RouteType
Type of route:
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DEST_IP_RANGE_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
INSTANCE_TAGS_FIELD_NUMBER |
static int |
NETWORK_URI_FIELD_NUMBER |
static int |
NEXT_HOP_FIELD_NUMBER |
static int |
NEXT_HOP_TYPE_FIELD_NUMBER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
ROUTE_TYPE_FIELD_NUMBER |
static int |
URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RouteInfo |
getDefaultInstance() |
RouteInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestIpRange()
Destination IP range of the route.
|
com.google.protobuf.ByteString |
getDestIpRangeBytes()
Destination IP range of the route.
|
String |
getDisplayName()
Name of a Compute Engine route.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Name of a Compute Engine route.
|
String |
getInstanceTags(int index)
Instance tags of the route.
|
com.google.protobuf.ByteString |
getInstanceTagsBytes(int index)
Instance tags of the route.
|
int |
getInstanceTagsCount()
Instance tags of the route.
|
com.google.protobuf.ProtocolStringList |
getInstanceTagsList()
Instance tags of the route.
|
String |
getNetworkUri()
URI of a Compute Engine network.
|
com.google.protobuf.ByteString |
getNetworkUriBytes()
URI of a Compute Engine network.
|
String |
getNextHop()
Next hop of the route.
|
com.google.protobuf.ByteString |
getNextHopBytes()
Next hop of the route.
|
RouteInfo.NextHopType |
getNextHopType()
Type of next hop.
|
int |
getNextHopTypeValue()
Type of next hop.
|
com.google.protobuf.Parser<RouteInfo> |
getParserForType() |
int |
getPriority()
Priority of the route.
|
RouteInfo.RouteType |
getRouteType()
Type of route.
|
int |
getRouteTypeValue()
Type of route.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUri()
URI of a Compute Engine route.
|
com.google.protobuf.ByteString |
getUriBytes()
URI of a Compute Engine route.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouteInfo.Builder |
newBuilder() |
static RouteInfo.Builder |
newBuilder(RouteInfo prototype) |
RouteInfo.Builder |
newBuilderForType() |
protected RouteInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouteInfo |
parseDelimitedFrom(InputStream input) |
static RouteInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteInfo |
parseFrom(byte[] data) |
static RouteInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteInfo |
parseFrom(ByteBuffer data) |
static RouteInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteInfo |
parseFrom(com.google.protobuf.ByteString data) |
static RouteInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteInfo |
parseFrom(InputStream input) |
static RouteInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteInfo> |
parser() |
RouteInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ROUTE_TYPE_FIELD_NUMBER
public static final int NEXT_HOP_TYPE_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
public static final int DEST_IP_RANGE_FIELD_NUMBER
public static final int NEXT_HOP_FIELD_NUMBER
public static final int NETWORK_URI_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
public static final int INSTANCE_TAGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getRouteTypeValue()
Type of route.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;getRouteTypeValue in interface RouteInfoOrBuilderpublic RouteInfo.RouteType getRouteType()
Type of route.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;getRouteType in interface RouteInfoOrBuilderpublic int getNextHopTypeValue()
Type of next hop.
.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;getNextHopTypeValue in interface RouteInfoOrBuilderpublic RouteInfo.NextHopType getNextHopType()
Type of next hop.
.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;getNextHopType in interface RouteInfoOrBuilderpublic String getDisplayName()
Name of a Compute Engine route.
string display_name = 1;getDisplayName in interface RouteInfoOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Name of a Compute Engine route.
string display_name = 1;getDisplayNameBytes in interface RouteInfoOrBuilderpublic String getUri()
URI of a Compute Engine route. Dynamic route from cloud router does not have a URI. Advertised route from Google Cloud VPC to on-premises network also does not have a URI.
string uri = 2;getUri in interface RouteInfoOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
URI of a Compute Engine route. Dynamic route from cloud router does not have a URI. Advertised route from Google Cloud VPC to on-premises network also does not have a URI.
string uri = 2;getUriBytes in interface RouteInfoOrBuilderpublic String getDestIpRange()
Destination IP range of the route.
string dest_ip_range = 3;getDestIpRange in interface RouteInfoOrBuilderpublic com.google.protobuf.ByteString getDestIpRangeBytes()
Destination IP range of the route.
string dest_ip_range = 3;getDestIpRangeBytes in interface RouteInfoOrBuilderpublic String getNextHop()
Next hop of the route.
string next_hop = 4;getNextHop in interface RouteInfoOrBuilderpublic com.google.protobuf.ByteString getNextHopBytes()
Next hop of the route.
string next_hop = 4;getNextHopBytes in interface RouteInfoOrBuilderpublic String getNetworkUri()
URI of a Compute Engine network.
string network_uri = 5;getNetworkUri in interface RouteInfoOrBuilderpublic com.google.protobuf.ByteString getNetworkUriBytes()
URI of a Compute Engine network.
string network_uri = 5;getNetworkUriBytes in interface RouteInfoOrBuilderpublic int getPriority()
Priority of the route.
int32 priority = 6;getPriority in interface RouteInfoOrBuilderpublic com.google.protobuf.ProtocolStringList getInstanceTagsList()
Instance tags of the route.
repeated string instance_tags = 7;getInstanceTagsList in interface RouteInfoOrBuilderpublic int getInstanceTagsCount()
Instance tags of the route.
repeated string instance_tags = 7;getInstanceTagsCount in interface RouteInfoOrBuilderpublic String getInstanceTags(int index)
Instance tags of the route.
repeated string instance_tags = 7;getInstanceTags in interface RouteInfoOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getInstanceTagsBytes(int index)
Instance tags of the route.
repeated string instance_tags = 7;getInstanceTagsBytes in interface RouteInfoOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouteInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteInfo.Builder newBuilder()
public static RouteInfo.Builder newBuilder(RouteInfo prototype)
public RouteInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteInfo getDefaultInstance()
public static com.google.protobuf.Parser<RouteInfo> parser()
public com.google.protobuf.Parser<RouteInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.