public final class RoutePolicy extends com.google.protobuf.GeneratedMessageV3 implements RoutePolicyOrBuilder
Protobuf type
google.cloud.compute.v1.RoutePolicy| Modifier and Type | Class and Description |
|---|---|
static class |
RoutePolicy.Builder
Protobuf type
google.cloud.compute.v1.RoutePolicy |
static class |
RoutePolicy.Type
Protobuf enum
google.cloud.compute.v1.RoutePolicy.Type |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FINGERPRINT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
TERMS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RoutePolicy |
getDefaultInstance() |
RoutePolicy |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of route policy.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of route policy.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFingerprint()
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking.
|
String |
getName()
Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies.
|
com.google.protobuf.ByteString |
getNameBytes()
Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies.
|
com.google.protobuf.Parser<RoutePolicy> |
getParserForType() |
int |
getSerializedSize() |
RoutePolicyPolicyTerm |
getTerms(int index)
List of terms (the order in the list is not important, they are evaluated in order of priority).
|
int |
getTermsCount()
List of terms (the order in the list is not important, they are evaluated in order of priority).
|
List<RoutePolicyPolicyTerm> |
getTermsList()
List of terms (the order in the list is not important, they are evaluated in order of priority).
|
RoutePolicyPolicyTermOrBuilder |
getTermsOrBuilder(int index)
List of terms (the order in the list is not important, they are evaluated in order of priority).
|
List<? extends RoutePolicyPolicyTermOrBuilder> |
getTermsOrBuilderList()
List of terms (the order in the list is not important, they are evaluated in order of priority).
|
String |
getType()
Check the Type enum for the list of possible values.
|
com.google.protobuf.ByteString |
getTypeBytes()
Check the Type enum for the list of possible values.
|
boolean |
hasDescription()
An optional description of route policy.
|
boolean |
hasFingerprint()
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking.
|
int |
hashCode() |
boolean |
hasName()
Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies.
|
boolean |
hasType()
Check the Type enum for the list of possible values.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RoutePolicy.Builder |
newBuilder() |
static RoutePolicy.Builder |
newBuilder(RoutePolicy prototype) |
RoutePolicy.Builder |
newBuilderForType() |
protected RoutePolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RoutePolicy |
parseDelimitedFrom(InputStream input) |
static RoutePolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutePolicy |
parseFrom(byte[] data) |
static RoutePolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutePolicy |
parseFrom(ByteBuffer data) |
static RoutePolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutePolicy |
parseFrom(com.google.protobuf.ByteString data) |
static RoutePolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutePolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RoutePolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutePolicy |
parseFrom(InputStream input) |
static RoutePolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RoutePolicy> |
parser() |
RoutePolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 DESCRIPTION_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int TERMS_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 boolean hasDescription()
An optional description of route policy.
optional string description = 422937596;hasDescription in interface RoutePolicyOrBuilderpublic String getDescription()
An optional description of route policy.
optional string description = 422937596;getDescription in interface RoutePolicyOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of route policy.
optional string description = 422937596;getDescriptionBytes in interface RoutePolicyOrBuilderpublic boolean hasFingerprint()
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
optional string fingerprint = 234678500;hasFingerprint in interface RoutePolicyOrBuilderpublic String getFingerprint()
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
optional string fingerprint = 234678500;getFingerprint in interface RoutePolicyOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
optional string fingerprint = 234678500;getFingerprintBytes in interface RoutePolicyOrBuilderpublic boolean hasName()
Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
optional string name = 3373707;hasName in interface RoutePolicyOrBuilderpublic String getName()
Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
optional string name = 3373707;getName in interface RoutePolicyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
optional string name = 3373707;getNameBytes in interface RoutePolicyOrBuilderpublic List<RoutePolicyPolicyTerm> getTermsList()
List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;getTermsList in interface RoutePolicyOrBuilderpublic List<? extends RoutePolicyPolicyTermOrBuilder> getTermsOrBuilderList()
List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;getTermsOrBuilderList in interface RoutePolicyOrBuilderpublic int getTermsCount()
List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;getTermsCount in interface RoutePolicyOrBuilderpublic RoutePolicyPolicyTerm getTerms(int index)
List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;getTerms in interface RoutePolicyOrBuilderpublic RoutePolicyPolicyTermOrBuilder getTermsOrBuilder(int index)
List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;getTermsOrBuilder in interface RoutePolicyOrBuilderpublic boolean hasType()
Check the Type enum for the list of possible values.
optional string type = 3575610;hasType in interface RoutePolicyOrBuilderpublic String getType()
Check the Type enum for the list of possible values.
optional string type = 3575610;getType in interface RoutePolicyOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Check the Type enum for the list of possible values.
optional string type = 3575610;getTypeBytes in interface RoutePolicyOrBuilderpublic 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 RoutePolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutePolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutePolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutePolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutePolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutePolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static RoutePolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RoutePolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RoutePolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RoutePolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RoutePolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RoutePolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RoutePolicy.Builder newBuilder()
public static RoutePolicy.Builder newBuilder(RoutePolicy prototype)
public RoutePolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RoutePolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RoutePolicy getDefaultInstance()
public static com.google.protobuf.Parser<RoutePolicy> parser()
public com.google.protobuf.Parser<RoutePolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RoutePolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.