Class RoutersListRoutePolicies

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.RoutersListRoutePolicies
All Implemented Interfaces:
RoutersListRoutePoliciesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RoutersListRoutePolicies extends com.google.protobuf.GeneratedMessage implements RoutersListRoutePoliciesOrBuilder
 
Protobuf type google.cloud.compute.v1.RoutersListRoutePolicies
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasEtag

      public boolean hasEtag()
      optional string etag = 3123477;
      Specified by:
      hasEtag in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      Whether the etag field is set.
    • getEtag

      public String getEtag()
      optional string etag = 3123477;
      Specified by:
      getEtag in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
      optional string etag = 3123477;
      Specified by:
      getEtagBytes in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The bytes for etag.
    • hasId

      public boolean hasId()
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional string id = 3355;
      Specified by:
      hasId in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional string id = 3355;
      Specified by:
      getId in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional string id = 3355;
      Specified by:
      getIdBytes in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The bytes for id.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of resource. Alwayscompute#routersListRoutePolicies for lists of route policies.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of resource. Alwayscompute#routersListRoutePolicies for lists of route policies.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of resource. Alwayscompute#routersListRoutePolicies for lists of route policies.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The bytes for kind.
    • hasNextPageToken

      public boolean hasNextPageToken()
       [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Specified by:
      hasNextPageToken in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      Whether the nextPageToken field is set.
    • getNextPageToken

      public String getNextPageToken()
       [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Specified by:
      getNextPageToken in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       [Output Only] This token allows you to get the next page of results for
       list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
       the query parameter pageToken in the next list request.
       Subsequent list requests will have their own nextPageToken to
       continue paging through the results.
       
      optional string next_page_token = 79797525;
      Specified by:
      getNextPageTokenBytes in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The bytes for nextPageToken.
    • getResultList

      public List<RoutePolicy> getResultList()
       [Output Only] A list of route policies.
       
      repeated .google.cloud.compute.v1.RoutePolicy result = 139315229;
      Specified by:
      getResultList in interface RoutersListRoutePoliciesOrBuilder
    • getResultOrBuilderList

      public List<? extends RoutePolicyOrBuilder> getResultOrBuilderList()
       [Output Only] A list of route policies.
       
      repeated .google.cloud.compute.v1.RoutePolicy result = 139315229;
      Specified by:
      getResultOrBuilderList in interface RoutersListRoutePoliciesOrBuilder
    • getResultCount

      public int getResultCount()
       [Output Only] A list of route policies.
       
      repeated .google.cloud.compute.v1.RoutePolicy result = 139315229;
      Specified by:
      getResultCount in interface RoutersListRoutePoliciesOrBuilder
    • getResult

      public RoutePolicy getResult(int index)
       [Output Only] A list of route policies.
       
      repeated .google.cloud.compute.v1.RoutePolicy result = 139315229;
      Specified by:
      getResult in interface RoutersListRoutePoliciesOrBuilder
    • getResultOrBuilder

      public RoutePolicyOrBuilder getResultOrBuilder(int index)
       [Output Only] A list of route policies.
       
      repeated .google.cloud.compute.v1.RoutePolicy result = 139315229;
      Specified by:
      getResultOrBuilder in interface RoutersListRoutePoliciesOrBuilder
    • hasSelfLink

      public boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The bytes for selfLink.
    • getUnreachablesList

      public com.google.protobuf.ProtocolStringList getUnreachablesList()
       Output only. [Output Only] Unreachable resources.
       
      repeated string unreachables = 243372063;
      Specified by:
      getUnreachablesList in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      A list containing the unreachables.
    • getUnreachablesCount

      public int getUnreachablesCount()
       Output only. [Output Only] Unreachable resources.
       
      repeated string unreachables = 243372063;
      Specified by:
      getUnreachablesCount in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The count of unreachables.
    • getUnreachables

      public String getUnreachables(int index)
       Output only. [Output Only] Unreachable resources.
       
      repeated string unreachables = 243372063;
      Specified by:
      getUnreachables in interface RoutersListRoutePoliciesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachables at the given index.
    • getUnreachablesBytes

      public com.google.protobuf.ByteString getUnreachablesBytes(int index)
       Output only. [Output Only] Unreachable resources.
       
      repeated string unreachables = 243372063;
      Specified by:
      getUnreachablesBytes in interface RoutersListRoutePoliciesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachables at the given index.
    • hasWarning

      public boolean hasWarning()
       [Output Only] Informational warning message.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       [Output Only] Informational warning message.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface RoutersListRoutePoliciesOrBuilder
      Returns:
      The warning.
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       [Output Only] Informational warning message.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface RoutersListRoutePoliciesOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RoutersListRoutePolicies parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RoutersListRoutePolicies parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RoutersListRoutePolicies parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RoutersListRoutePolicies.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RoutersListRoutePolicies.Builder newBuilder()
    • newBuilder

      public static RoutersListRoutePolicies.Builder newBuilder(RoutersListRoutePolicies prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RoutersListRoutePolicies.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RoutersListRoutePolicies getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RoutersListRoutePolicies> parser()
    • getParserForType

      public com.google.protobuf.Parser<RoutersListRoutePolicies> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RoutersListRoutePolicies getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder