Class ListPeeringRoutesNetworksRequest

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

@Generated public final class ListPeeringRoutesNetworksRequest extends com.google.protobuf.GeneratedMessage implements ListPeeringRoutesNetworksRequestOrBuilder
 A request message for Networks.ListPeeringRoutes. See the method description for details.
 
Protobuf type google.cloud.compute.v1.ListPeeringRoutesNetworksRequest
See Also:
  • Field Details

    • DIRECTION_FIELD_NUMBER

      public static final int DIRECTION_FIELD_NUMBER
      See Also:
    • FILTER_FIELD_NUMBER

      public static final int FILTER_FIELD_NUMBER
      See Also:
    • MAX_RESULTS_FIELD_NUMBER

      public static final int MAX_RESULTS_FIELD_NUMBER
      See Also:
    • NETWORK_FIELD_NUMBER

      public static final int NETWORK_FIELD_NUMBER
      See Also:
    • ORDER_BY_FIELD_NUMBER

      public static final int ORDER_BY_FIELD_NUMBER
      See Also:
    • PAGE_TOKEN_FIELD_NUMBER

      public static final int PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • PEERING_NAME_FIELD_NUMBER

      public static final int PEERING_NAME_FIELD_NUMBER
      See Also:
    • PROJECT_FIELD_NUMBER

      public static final int PROJECT_FIELD_NUMBER
      See Also:
    • REGION_FIELD_NUMBER

      public static final int REGION_FIELD_NUMBER
      See Also:
    • RETURN_PARTIAL_SUCCESS_FIELD_NUMBER

      public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER
      See Also:
  • 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
    • hasDirection

      public boolean hasDirection()
       The direction of the exchanged routes.
       Check the Direction enum for the list of possible values.
       
      optional string direction = 111150975;
      Specified by:
      hasDirection in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      Whether the direction field is set.
    • getDirection

      public String getDirection()
       The direction of the exchanged routes.
       Check the Direction enum for the list of possible values.
       
      optional string direction = 111150975;
      Specified by:
      getDirection in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The direction.
    • getDirectionBytes

      public com.google.protobuf.ByteString getDirectionBytes()
       The direction of the exchanged routes.
       Check the Direction enum for the list of possible values.
       
      optional string direction = 111150975;
      Specified by:
      getDirectionBytes in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The bytes for direction.
    • hasFilter

      public boolean hasFilter()
       A filter expression that filters resources listed in the response. Most
       Compute resources support two types of filter expressions:
       expressions that support regular expressions and expressions that follow
       API improvement proposal AIP-160.
       These two types of filter expressions cannot be mixed in one request.
      
       If you want to use AIP-160, your expression must specify the field name, an
       operator, and the value that you want to use for filtering. The value
       must be a string, a number, or a boolean. The operator
       must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
      
       For example, if you are filtering Compute Engine instances, you can
       exclude instances named `example-instance` by specifying
       `name != example-instance`.
      
       The `:*` comparison can be used to test whether a key has been defined.
       For example, to find all objects with `owner` label use:
       ```
       labels.owner:*
       ```
      
       You can also filter nested fields. For example, you could specify
       `scheduling.automaticRestart = false` to include instances only
       if they are not scheduled for automatic restarts. You can use filtering
       on nested fields to filter based onresource labels.
      
       To filter on multiple expressions, provide each separate expression within
       parentheses. For example:
       ```
       (scheduling.automaticRestart = true)
       (cpuPlatform = "Intel Skylake")
       ```
       By default, each expression is an `AND` expression. However, you
       can include `AND` and `OR` expressions explicitly.
       For example:
       ```
       (cpuPlatform = "Intel Skylake") OR
       (cpuPlatform = "Intel Broadwell") AND
       (scheduling.automaticRestart = true)
       ```
      
       If you want to use a regular expression, use the `eq` (equal) or `ne`
       (not equal) operator against a single un-parenthesized expression with or
       without quotes or against multiple parenthesized expressions. Examples:
      
       `fieldname eq unquoted literal`
       `fieldname eq 'single quoted literal'`
       `fieldname eq "double quoted literal"`
       `(fieldname1 eq literal) (fieldname2 ne "literal")`
      
       The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
       The literal value must match the entire field.
      
       For example, to filter for instances that do not end with name "instance",
       you would use `name ne .*instance`.
      
       You cannot combine constraints on multiple fields using regular
       expressions.
       
      optional string filter = 336120696;
      Specified by:
      hasFilter in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public String getFilter()
       A filter expression that filters resources listed in the response. Most
       Compute resources support two types of filter expressions:
       expressions that support regular expressions and expressions that follow
       API improvement proposal AIP-160.
       These two types of filter expressions cannot be mixed in one request.
      
       If you want to use AIP-160, your expression must specify the field name, an
       operator, and the value that you want to use for filtering. The value
       must be a string, a number, or a boolean. The operator
       must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
      
       For example, if you are filtering Compute Engine instances, you can
       exclude instances named `example-instance` by specifying
       `name != example-instance`.
      
       The `:*` comparison can be used to test whether a key has been defined.
       For example, to find all objects with `owner` label use:
       ```
       labels.owner:*
       ```
      
       You can also filter nested fields. For example, you could specify
       `scheduling.automaticRestart = false` to include instances only
       if they are not scheduled for automatic restarts. You can use filtering
       on nested fields to filter based onresource labels.
      
       To filter on multiple expressions, provide each separate expression within
       parentheses. For example:
       ```
       (scheduling.automaticRestart = true)
       (cpuPlatform = "Intel Skylake")
       ```
       By default, each expression is an `AND` expression. However, you
       can include `AND` and `OR` expressions explicitly.
       For example:
       ```
       (cpuPlatform = "Intel Skylake") OR
       (cpuPlatform = "Intel Broadwell") AND
       (scheduling.automaticRestart = true)
       ```
      
       If you want to use a regular expression, use the `eq` (equal) or `ne`
       (not equal) operator against a single un-parenthesized expression with or
       without quotes or against multiple parenthesized expressions. Examples:
      
       `fieldname eq unquoted literal`
       `fieldname eq 'single quoted literal'`
       `fieldname eq "double quoted literal"`
       `(fieldname1 eq literal) (fieldname2 ne "literal")`
      
       The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
       The literal value must match the entire field.
      
       For example, to filter for instances that do not end with name "instance",
       you would use `name ne .*instance`.
      
       You cannot combine constraints on multiple fields using regular
       expressions.
       
      optional string filter = 336120696;
      Specified by:
      getFilter in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       A filter expression that filters resources listed in the response. Most
       Compute resources support two types of filter expressions:
       expressions that support regular expressions and expressions that follow
       API improvement proposal AIP-160.
       These two types of filter expressions cannot be mixed in one request.
      
       If you want to use AIP-160, your expression must specify the field name, an
       operator, and the value that you want to use for filtering. The value
       must be a string, a number, or a boolean. The operator
       must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
      
       For example, if you are filtering Compute Engine instances, you can
       exclude instances named `example-instance` by specifying
       `name != example-instance`.
      
       The `:*` comparison can be used to test whether a key has been defined.
       For example, to find all objects with `owner` label use:
       ```
       labels.owner:*
       ```
      
       You can also filter nested fields. For example, you could specify
       `scheduling.automaticRestart = false` to include instances only
       if they are not scheduled for automatic restarts. You can use filtering
       on nested fields to filter based onresource labels.
      
       To filter on multiple expressions, provide each separate expression within
       parentheses. For example:
       ```
       (scheduling.automaticRestart = true)
       (cpuPlatform = "Intel Skylake")
       ```
       By default, each expression is an `AND` expression. However, you
       can include `AND` and `OR` expressions explicitly.
       For example:
       ```
       (cpuPlatform = "Intel Skylake") OR
       (cpuPlatform = "Intel Broadwell") AND
       (scheduling.automaticRestart = true)
       ```
      
       If you want to use a regular expression, use the `eq` (equal) or `ne`
       (not equal) operator against a single un-parenthesized expression with or
       without quotes or against multiple parenthesized expressions. Examples:
      
       `fieldname eq unquoted literal`
       `fieldname eq 'single quoted literal'`
       `fieldname eq "double quoted literal"`
       `(fieldname1 eq literal) (fieldname2 ne "literal")`
      
       The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
       The literal value must match the entire field.
      
       For example, to filter for instances that do not end with name "instance",
       you would use `name ne .*instance`.
      
       You cannot combine constraints on multiple fields using regular
       expressions.
       
      optional string filter = 336120696;
      Specified by:
      getFilterBytes in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The bytes for filter.
    • hasMaxResults

      public boolean hasMaxResults()
       The maximum number of results per page that should be returned.
       If the number of available results is larger than `maxResults`,
       Compute Engine returns a `nextPageToken` that can be used to get
       the next page of results in subsequent list requests. Acceptable values are
       `0` to `500`, inclusive. (Default: `500`)
       
      optional uint32 max_results = 54715419;
      Specified by:
      hasMaxResults in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      Whether the maxResults field is set.
    • getMaxResults

      public int getMaxResults()
       The maximum number of results per page that should be returned.
       If the number of available results is larger than `maxResults`,
       Compute Engine returns a `nextPageToken` that can be used to get
       the next page of results in subsequent list requests. Acceptable values are
       `0` to `500`, inclusive. (Default: `500`)
       
      optional uint32 max_results = 54715419;
      Specified by:
      getMaxResults in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The maxResults.
    • getNetwork

      public String getNetwork()
       Name of the network for this request.
       
      string network = 232872494 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetwork in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The network.
    • getNetworkBytes

      public com.google.protobuf.ByteString getNetworkBytes()
       Name of the network for this request.
       
      string network = 232872494 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworkBytes in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The bytes for network.
    • hasOrderBy

      public boolean hasOrderBy()
       Sorts list results by a certain order. By default, results
       are returned in alphanumerical order based on the resource name.
      
       You can also sort results in descending order based on the creation
       timestamp using `orderBy="creationTimestamp desc"`. This sorts
       results based on the `creationTimestamp` field in
       reverse chronological order (newest result first). Use this to sort
       resources like operations so that the newest operation is returned first.
      
       Currently, only sorting by `name` or
       `creationTimestamp desc` is supported.
       
      optional string order_by = 160562920;
      Specified by:
      hasOrderBy in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      Whether the orderBy field is set.
    • getOrderBy

      public String getOrderBy()
       Sorts list results by a certain order. By default, results
       are returned in alphanumerical order based on the resource name.
      
       You can also sort results in descending order based on the creation
       timestamp using `orderBy="creationTimestamp desc"`. This sorts
       results based on the `creationTimestamp` field in
       reverse chronological order (newest result first). Use this to sort
       resources like operations so that the newest operation is returned first.
      
       Currently, only sorting by `name` or
       `creationTimestamp desc` is supported.
       
      optional string order_by = 160562920;
      Specified by:
      getOrderBy in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Sorts list results by a certain order. By default, results
       are returned in alphanumerical order based on the resource name.
      
       You can also sort results in descending order based on the creation
       timestamp using `orderBy="creationTimestamp desc"`. This sorts
       results based on the `creationTimestamp` field in
       reverse chronological order (newest result first). Use this to sort
       resources like operations so that the newest operation is returned first.
      
       Currently, only sorting by `name` or
       `creationTimestamp desc` is supported.
       
      optional string order_by = 160562920;
      Specified by:
      getOrderByBytes in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • hasPageToken

      public boolean hasPageToken()
       Specifies a page token to use. Set `pageToken` to the
       `nextPageToken` returned by a previous list request to get
       the next page of results.
       
      optional string page_token = 19994697;
      Specified by:
      hasPageToken in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      Whether the pageToken field is set.
    • getPageToken

      public String getPageToken()
       Specifies a page token to use. Set `pageToken` to the
       `nextPageToken` returned by a previous list request to get
       the next page of results.
       
      optional string page_token = 19994697;
      Specified by:
      getPageToken in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Specifies a page token to use. Set `pageToken` to the
       `nextPageToken` returned by a previous list request to get
       the next page of results.
       
      optional string page_token = 19994697;
      Specified by:
      getPageTokenBytes in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • hasPeeringName

      public boolean hasPeeringName()
       The response will show routes exchanged over the given peering connection.
       
      optional string peering_name = 249571370;
      Specified by:
      hasPeeringName in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      Whether the peeringName field is set.
    • getPeeringName

      public String getPeeringName()
       The response will show routes exchanged over the given peering connection.
       
      optional string peering_name = 249571370;
      Specified by:
      getPeeringName in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The peeringName.
    • getPeeringNameBytes

      public com.google.protobuf.ByteString getPeeringNameBytes()
       The response will show routes exchanged over the given peering connection.
       
      optional string peering_name = 249571370;
      Specified by:
      getPeeringNameBytes in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The bytes for peeringName.
    • getProject

      public String getProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProject in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The project.
    • getProjectBytes

      public com.google.protobuf.ByteString getProjectBytes()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectBytes in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The bytes for project.
    • hasRegion

      public boolean hasRegion()
       The region of the request. The response will include all subnet routes,
       static routes and dynamic routes in the region.
       
      optional string region = 138946292;
      Specified by:
      hasRegion in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      Whether the region field is set.
    • getRegion

      public String getRegion()
       The region of the request. The response will include all subnet routes,
       static routes and dynamic routes in the region.
       
      optional string region = 138946292;
      Specified by:
      getRegion in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       The region of the request. The response will include all subnet routes,
       static routes and dynamic routes in the region.
       
      optional string region = 138946292;
      Specified by:
      getRegionBytes in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The bytes for region.
    • hasReturnPartialSuccess

      public boolean hasReturnPartialSuccess()
       Opt-in for partial success behavior which provides partial results in case
       of failure. The default value is false.
      
       For example, when partial success behavior is enabled, aggregatedList for a
       single zone scope either returns all resources in the zone or no resources,
       with an error code.
       
      optional bool return_partial_success = 517198390;
      Specified by:
      hasReturnPartialSuccess in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      Whether the returnPartialSuccess field is set.
    • getReturnPartialSuccess

      public boolean getReturnPartialSuccess()
       Opt-in for partial success behavior which provides partial results in case
       of failure. The default value is false.
      
       For example, when partial success behavior is enabled, aggregatedList for a
       single zone scope either returns all resources in the zone or no resources,
       with an error code.
       
      optional bool return_partial_success = 517198390;
      Specified by:
      getReturnPartialSuccess in interface ListPeeringRoutesNetworksRequestOrBuilder
      Returns:
      The returnPartialSuccess.
    • 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 ListPeeringRoutesNetworksRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ListPeeringRoutesNetworksRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static ListPeeringRoutesNetworksRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ListPeeringRoutesNetworksRequest> 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 ListPeeringRoutesNetworksRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder