Package com.google.cloud.compute.v1
Class ListBgpRoutesRoutersRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListBgpRoutesRoutersRequest.Builder>
com.google.cloud.compute.v1.ListBgpRoutesRoutersRequest.Builder
- All Implemented Interfaces:
ListBgpRoutesRoutersRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListBgpRoutesRoutersRequest
public static final class ListBgpRoutesRoutersRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListBgpRoutesRoutersRequest.Builder>
implements ListBgpRoutesRoutersRequestOrBuilder
A request message for Routers.ListBgpRoutes. See the method description for details.Protobuf type
google.cloud.compute.v1.ListBgpRoutesRoutersRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()(Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.Limit results to destinations that are subnets of this CIDR rangeA filter expression that filters resources listed in the response.The maximum number of results per page that should be returned.Sorts list results by a certain order.Specifies a page token to use.(Required) limit results to the BGP peer with the given name.When true, the method returns post-policy routes.Project ID for this request.Name of the region for this request.Opt-in for partial success behavior which provides partial results in case of failure.Name or id of the resource for this request.(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.(Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.com.google.protobuf.ByteString(Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorLimit results to destinations that are subnets of this CIDR rangecom.google.protobuf.ByteStringLimit results to destinations that are subnets of this CIDR rangeA filter expression that filters resources listed in the response.com.google.protobuf.ByteStringA filter expression that filters resources listed in the response.intThe maximum number of results per page that should be returned.Sorts list results by a certain order.com.google.protobuf.ByteStringSorts list results by a certain order.Specifies a page token to use.com.google.protobuf.ByteStringSpecifies a page token to use.getPeer()(Required) limit results to the BGP peer with the given name.com.google.protobuf.ByteString(Required) limit results to the BGP peer with the given name.booleanWhen true, the method returns post-policy routes.Project ID for this request.com.google.protobuf.ByteStringProject ID for this request.Name of the region for this request.com.google.protobuf.ByteStringName of the region for this request.booleanOpt-in for partial success behavior which provides partial results in case of failure.Name or id of the resource for this request.com.google.protobuf.ByteStringName or id of the resource for this request.(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.com.google.protobuf.ByteString(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.boolean(Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.booleanLimit results to destinations that are subnets of this CIDR rangebooleanA filter expression that filters resources listed in the response.booleanThe maximum number of results per page that should be returned.booleanSorts list results by a certain order.booleanSpecifies a page token to use.booleanhasPeer()(Required) limit results to the BGP peer with the given name.booleanWhen true, the method returns post-policy routes.booleanOpt-in for partial success behavior which provides partial results in case of failure.boolean(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAddressFamily(String value) (Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.setAddressFamilyBytes(com.google.protobuf.ByteString value) (Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.setDestinationPrefix(String value) Limit results to destinations that are subnets of this CIDR rangesetDestinationPrefixBytes(com.google.protobuf.ByteString value) Limit results to destinations that are subnets of this CIDR rangeA filter expression that filters resources listed in the response.setFilterBytes(com.google.protobuf.ByteString value) A filter expression that filters resources listed in the response.setMaxResults(int value) The maximum number of results per page that should be returned.setOrderBy(String value) Sorts list results by a certain order.setOrderByBytes(com.google.protobuf.ByteString value) Sorts list results by a certain order.setPageToken(String value) Specifies a page token to use.setPageTokenBytes(com.google.protobuf.ByteString value) Specifies a page token to use.(Required) limit results to the BGP peer with the given name.setPeerBytes(com.google.protobuf.ByteString value) (Required) limit results to the BGP peer with the given name.setPolicyApplied(boolean value) When true, the method returns post-policy routes.setProject(String value) Project ID for this request.setProjectBytes(com.google.protobuf.ByteString value) Project ID for this request.Name of the region for this request.setRegionBytes(com.google.protobuf.ByteString value) Name of the region for this request.setReturnPartialSuccess(boolean value) Opt-in for partial success behavior which provides partial results in case of failure.Name or id of the resource for this request.setRouterBytes(com.google.protobuf.ByteString value) Name or id of the resource for this request.setRouteType(String value) (Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.setRouteTypeBytes(com.google.protobuf.ByteString value) (Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListBgpRoutesRoutersRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListBgpRoutesRoutersRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListBgpRoutesRoutersRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBgpRoutesRoutersRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListBgpRoutesRoutersRequest.Builder>
-
mergeFrom
public ListBgpRoutesRoutersRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBgpRoutesRoutersRequest.Builder>- Throws:
IOException
-
hasAddressFamily
public boolean hasAddressFamily()(Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.
optional string address_family = 173744655;- Specified by:
hasAddressFamilyin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- Whether the addressFamily field is set.
-
getAddressFamily
(Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.
optional string address_family = 173744655;- Specified by:
getAddressFamilyin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The addressFamily.
-
getAddressFamilyBytes
public com.google.protobuf.ByteString getAddressFamilyBytes()(Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.
optional string address_family = 173744655;- Specified by:
getAddressFamilyBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for addressFamily.
-
setAddressFamily
(Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.
optional string address_family = 173744655;- Parameters:
value- The addressFamily to set.- Returns:
- This builder for chaining.
-
clearAddressFamily
(Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.
optional string address_family = 173744655;- Returns:
- This builder for chaining.
-
setAddressFamilyBytes
public ListBgpRoutesRoutersRequest.Builder setAddressFamilyBytes(com.google.protobuf.ByteString value) (Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.
optional string address_family = 173744655;- Parameters:
value- The bytes for addressFamily to set.- Returns:
- This builder for chaining.
-
hasDestinationPrefix
public boolean hasDestinationPrefix()Limit results to destinations that are subnets of this CIDR range
optional string destination_prefix = 263872483;- Specified by:
hasDestinationPrefixin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- Whether the destinationPrefix field is set.
-
getDestinationPrefix
Limit results to destinations that are subnets of this CIDR range
optional string destination_prefix = 263872483;- Specified by:
getDestinationPrefixin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The destinationPrefix.
-
getDestinationPrefixBytes
public com.google.protobuf.ByteString getDestinationPrefixBytes()Limit results to destinations that are subnets of this CIDR range
optional string destination_prefix = 263872483;- Specified by:
getDestinationPrefixBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for destinationPrefix.
-
setDestinationPrefix
Limit results to destinations that are subnets of this CIDR range
optional string destination_prefix = 263872483;- Parameters:
value- The destinationPrefix to set.- Returns:
- This builder for chaining.
-
clearDestinationPrefix
Limit results to destinations that are subnets of this CIDR range
optional string destination_prefix = 263872483;- Returns:
- This builder for chaining.
-
setDestinationPrefixBytes
public ListBgpRoutesRoutersRequest.Builder setDestinationPrefixBytes(com.google.protobuf.ByteString value) Limit results to destinations that are subnets of this CIDR range
optional string destination_prefix = 263872483;- Parameters:
value- The bytes for destinationPrefix to set.- Returns:
- This builder for chaining.
-
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:
hasFilterin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- Whether the filter field is set.
-
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:
getFilterin interfaceListBgpRoutesRoutersRequestOrBuilder- 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:
getFilterBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
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;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
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;- Returns:
- This builder for chaining.
-
setFilterBytes
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;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
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:
hasMaxResultsin interfaceListBgpRoutesRoutersRequestOrBuilder- 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:
getMaxResultsin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The maxResults.
-
setMaxResults
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;- Parameters:
value- The maxResults to set.- Returns:
- This builder for chaining.
-
clearMaxResults
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;- Returns:
- This builder for chaining.
-
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:
hasOrderByin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- Whether the orderBy field is set.
-
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:
getOrderByin interfaceListBgpRoutesRoutersRequestOrBuilder- 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:
getOrderByBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
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;- Parameters:
value- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
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;- Returns:
- This builder for chaining.
-
setOrderByBytes
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;- Parameters:
value- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
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:
hasPageTokenin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- Whether the pageToken field is set.
-
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:
getPageTokenin interfaceListBgpRoutesRoutersRequestOrBuilder- 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:
getPageTokenBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
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;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
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;- Returns:
- This builder for chaining.
-
setPageTokenBytes
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;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
hasPeer
public boolean hasPeer()(Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.
optional string peer = 3436898;- Specified by:
hasPeerin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- Whether the peer field is set.
-
getPeer
(Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.
optional string peer = 3436898;- Specified by:
getPeerin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The peer.
-
getPeerBytes
public com.google.protobuf.ByteString getPeerBytes()(Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.
optional string peer = 3436898;- Specified by:
getPeerBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for peer.
-
setPeer
(Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.
optional string peer = 3436898;- Parameters:
value- The peer to set.- Returns:
- This builder for chaining.
-
clearPeer
(Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.
optional string peer = 3436898;- Returns:
- This builder for chaining.
-
setPeerBytes
(Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.
optional string peer = 3436898;- Parameters:
value- The bytes for peer to set.- Returns:
- This builder for chaining.
-
hasPolicyApplied
public boolean hasPolicyApplied()When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes.
optional bool policy_applied = 379464304;- Specified by:
hasPolicyAppliedin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- Whether the policyApplied field is set.
-
getPolicyApplied
public boolean getPolicyApplied()When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes.
optional bool policy_applied = 379464304;- Specified by:
getPolicyAppliedin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The policyApplied.
-
setPolicyApplied
When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes.
optional bool policy_applied = 379464304;- Parameters:
value- The policyApplied to set.- Returns:
- This builder for chaining.
-
clearPolicyApplied
When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes.
optional bool policy_applied = 379464304;- Returns:
- This builder for chaining.
-
getProject
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectin interfaceListBgpRoutesRoutersRequestOrBuilder- 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:
getProjectBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for project.
-
setProject
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setProjectBytes
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getRegion
Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRegionin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRegionBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for region.
-
setRegion
Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setRegionBytes
Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
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:
hasReturnPartialSuccessin interfaceListBgpRoutesRoutersRequestOrBuilder- 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:
getReturnPartialSuccessin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The returnPartialSuccess.
-
setReturnPartialSuccess
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;- Parameters:
value- The returnPartialSuccess to set.- Returns:
- This builder for chaining.
-
clearReturnPartialSuccess
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;- Returns:
- This builder for chaining.
-
hasRouteType
public boolean hasRouteType()(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.
optional string route_type = 375888752;- Specified by:
hasRouteTypein interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- Whether the routeType field is set.
-
getRouteType
(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.
optional string route_type = 375888752;- Specified by:
getRouteTypein interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The routeType.
-
getRouteTypeBytes
public com.google.protobuf.ByteString getRouteTypeBytes()(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.
optional string route_type = 375888752;- Specified by:
getRouteTypeBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for routeType.
-
setRouteType
(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.
optional string route_type = 375888752;- Parameters:
value- The routeType to set.- Returns:
- This builder for chaining.
-
clearRouteType
(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.
optional string route_type = 375888752;- Returns:
- This builder for chaining.
-
setRouteTypeBytes
(Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.
optional string route_type = 375888752;- Parameters:
value- The bytes for routeType to set.- Returns:
- This builder for chaining.
-
getRouter
Name or id of the resource for this request. Name should conform to RFC1035.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRouterin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The router.
-
getRouterBytes
public com.google.protobuf.ByteString getRouterBytes()Name or id of the resource for this request. Name should conform to RFC1035.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRouterBytesin interfaceListBgpRoutesRoutersRequestOrBuilder- Returns:
- The bytes for router.
-
setRouter
Name or id of the resource for this request. Name should conform to RFC1035.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The router to set.- Returns:
- This builder for chaining.
-
clearRouter
Name or id of the resource for this request. Name should conform to RFC1035.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setRouterBytes
Name or id of the resource for this request. Name should conform to RFC1035.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for router to set.- Returns:
- This builder for chaining.
-