Interface RoutePolicyOrBuilder (1.69.0)

public interface RoutePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

An optional description of route policy.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional description of route policy.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getFingerprint()

public abstract 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;

Returns
Type Description
String

The fingerprint.

getFingerprintBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for fingerprint.

getName()

public abstract 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;

Returns
Type Description
String

The name.

getNameBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for name.

getTerms(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
RoutePolicyPolicyTerm

getTermsCount()

public abstract 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;

Returns
Type Description
int

getTermsList()

public abstract 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;

Returns
Type Description
List<RoutePolicyPolicyTerm>

getTermsOrBuilder(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
RoutePolicyPolicyTermOrBuilder

getTermsOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RoutePolicyPolicyTermOrBuilder>

getType()

public abstract String getType()

Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
ByteString

The bytes for type.

hasDescription()

public abstract boolean hasDescription()

An optional description of route policy.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasFingerprint()

public abstract 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;

Returns
Type Description
boolean

Whether the fingerprint field is set.

hasName()

public abstract 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;

Returns
Type Description
boolean

Whether the name field is set.

hasType()

public abstract boolean hasType()

Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
boolean

Whether the type field is set.