Interface RoutePolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RoutePolicy, RoutePolicy.Builder

@Generated public interface RoutePolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    An optional description of route policy.
    com.google.protobuf.ByteString
    An optional description of route policy.
    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
    A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking.
    Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies.
    com.google.protobuf.ByteString
    Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies.
    getTerms(int index)
    List of terms (the order in the list is not important, they are evaluated in order of priority).
    int
    List of terms (the order in the list is not important, they are evaluated in order of priority).
    List of terms (the order in the list is not important, they are evaluated in order of priority).
    getTermsOrBuilder(int index)
    List of terms (the order in the list is not important, they are evaluated in order of priority).
    List of terms (the order in the list is not important, they are evaluated in order of priority).
    Check the Type enum for the list of possible values.
    com.google.protobuf.ByteString
    Check the Type enum for the list of possible values.
    boolean
    An optional description of route policy.
    boolean
    A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking.
    boolean
    Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies.
    boolean
    Check the Type enum for the list of possible values.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasDescription

      boolean hasDescription()
       An optional description of route policy.
       
      optional string description = 422937596;
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       An optional description of route policy.
       
      optional string description = 422937596;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of route policy.
       
      optional string description = 422937596;
      Returns:
      The bytes for description.
    • hasFingerprint

      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:
      Whether the fingerprint field is set.
    • getFingerprint

      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:
      The fingerprint.
    • getFingerprintBytes

      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;
      Returns:
      The bytes for fingerprint.
    • hasName

      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:
      Whether the name field is set.
    • getName

      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:
      The name.
    • getNameBytes

      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;
      Returns:
      The bytes for name.
    • getTermsList

      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;
    • getTerms

      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;
    • getTermsCount

      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;
    • getTermsOrBuilderList

      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;
    • getTermsOrBuilder

      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;
    • hasType

      boolean hasType()
      
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      Whether the type field is set.
    • getType

      String getType()
      
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
      
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      The bytes for type.