Package com.google.cloud.compute.v1
Class ListPeeringRoutesNetworksRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
- com.google.cloud.compute.v1.ListPeeringRoutesNetworksRequest.Builder
-
- All Implemented Interfaces:
ListPeeringRoutesNetworksRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListPeeringRoutesNetworksRequest
public static final class ListPeeringRoutesNetworksRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder> implements ListPeeringRoutesNetworksRequestOrBuilder
A request message for Networks.ListPeeringRoutes. See the method description for details.
Protobuf typegoogle.cloud.compute.v1.ListPeeringRoutesNetworksRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPeeringRoutesNetworksRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListPeeringRoutesNetworksRequestbuild()ListPeeringRoutesNetworksRequestbuildPartial()ListPeeringRoutesNetworksRequest.Builderclear()ListPeeringRoutesNetworksRequest.BuilderclearDirection()The direction of the exchanged routes.ListPeeringRoutesNetworksRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListPeeringRoutesNetworksRequest.BuilderclearFilter()A filter expression that filters resources listed in the response.ListPeeringRoutesNetworksRequest.BuilderclearMaxResults()The maximum number of results per page that should be returned.ListPeeringRoutesNetworksRequest.BuilderclearNetwork()Name of the network for this request.ListPeeringRoutesNetworksRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListPeeringRoutesNetworksRequest.BuilderclearOrderBy()Sorts list results by a certain order.ListPeeringRoutesNetworksRequest.BuilderclearPageToken()Specifies a page token to use.ListPeeringRoutesNetworksRequest.BuilderclearPeeringName()The response will show routes exchanged over the given peering connection.ListPeeringRoutesNetworksRequest.BuilderclearProject()Project ID for this request.ListPeeringRoutesNetworksRequest.BuilderclearRegion()The region of the request.ListPeeringRoutesNetworksRequest.BuilderclearReturnPartialSuccess()Opt-in for partial success behavior which provides partial results in case of failure.ListPeeringRoutesNetworksRequest.Builderclone()ListPeeringRoutesNetworksRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDirection()The direction of the exchanged routes.com.google.protobuf.ByteStringgetDirectionBytes()The direction of the exchanged routes.StringgetFilter()A filter expression that filters resources listed in the response.com.google.protobuf.ByteStringgetFilterBytes()A filter expression that filters resources listed in the response.intgetMaxResults()The maximum number of results per page that should be returned.StringgetNetwork()Name of the network for this request.com.google.protobuf.ByteStringgetNetworkBytes()Name of the network for this request.StringgetOrderBy()Sorts list results by a certain order.com.google.protobuf.ByteStringgetOrderByBytes()Sorts list results by a certain order.StringgetPageToken()Specifies a page token to use.com.google.protobuf.ByteStringgetPageTokenBytes()Specifies a page token to use.StringgetPeeringName()The response will show routes exchanged over the given peering connection.com.google.protobuf.ByteStringgetPeeringNameBytes()The response will show routes exchanged over the given peering connection.StringgetProject()Project ID for this request.com.google.protobuf.ByteStringgetProjectBytes()Project ID for this request.StringgetRegion()The region of the request.com.google.protobuf.ByteStringgetRegionBytes()The region of the request.booleangetReturnPartialSuccess()Opt-in for partial success behavior which provides partial results in case of failure.booleanhasDirection()The direction of the exchanged routes.booleanhasFilter()A filter expression that filters resources listed in the response.booleanhasMaxResults()The maximum number of results per page that should be returned.booleanhasOrderBy()Sorts list results by a certain order.booleanhasPageToken()Specifies a page token to use.booleanhasPeeringName()The response will show routes exchanged over the given peering connection.booleanhasRegion()The region of the request.booleanhasReturnPartialSuccess()Opt-in for partial success behavior which provides partial results in case of failure.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListPeeringRoutesNetworksRequest.BuildermergeFrom(ListPeeringRoutesNetworksRequest other)ListPeeringRoutesNetworksRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListPeeringRoutesNetworksRequest.BuildermergeFrom(com.google.protobuf.Message other)ListPeeringRoutesNetworksRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListPeeringRoutesNetworksRequest.BuildersetDirection(String value)The direction of the exchanged routes.ListPeeringRoutesNetworksRequest.BuildersetDirectionBytes(com.google.protobuf.ByteString value)The direction of the exchanged routes.ListPeeringRoutesNetworksRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListPeeringRoutesNetworksRequest.BuildersetFilter(String value)A filter expression that filters resources listed in the response.ListPeeringRoutesNetworksRequest.BuildersetFilterBytes(com.google.protobuf.ByteString value)A filter expression that filters resources listed in the response.ListPeeringRoutesNetworksRequest.BuildersetMaxResults(int value)The maximum number of results per page that should be returned.ListPeeringRoutesNetworksRequest.BuildersetNetwork(String value)Name of the network for this request.ListPeeringRoutesNetworksRequest.BuildersetNetworkBytes(com.google.protobuf.ByteString value)Name of the network for this request.ListPeeringRoutesNetworksRequest.BuildersetOrderBy(String value)Sorts list results by a certain order.ListPeeringRoutesNetworksRequest.BuildersetOrderByBytes(com.google.protobuf.ByteString value)Sorts list results by a certain order.ListPeeringRoutesNetworksRequest.BuildersetPageToken(String value)Specifies a page token to use.ListPeeringRoutesNetworksRequest.BuildersetPageTokenBytes(com.google.protobuf.ByteString value)Specifies a page token to use.ListPeeringRoutesNetworksRequest.BuildersetPeeringName(String value)The response will show routes exchanged over the given peering connection.ListPeeringRoutesNetworksRequest.BuildersetPeeringNameBytes(com.google.protobuf.ByteString value)The response will show routes exchanged over the given peering connection.ListPeeringRoutesNetworksRequest.BuildersetProject(String value)Project ID for this request.ListPeeringRoutesNetworksRequest.BuildersetProjectBytes(com.google.protobuf.ByteString value)Project ID for this request.ListPeeringRoutesNetworksRequest.BuildersetRegion(String value)The region of the request.ListPeeringRoutesNetworksRequest.BuildersetRegionBytes(com.google.protobuf.ByteString value)The region of the request.ListPeeringRoutesNetworksRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListPeeringRoutesNetworksRequest.BuildersetReturnPartialSuccess(boolean value)Opt-in for partial success behavior which provides partial results in case of failure.ListPeeringRoutesNetworksRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
clear
public ListPeeringRoutesNetworksRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.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.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
getDefaultInstanceForType
public ListPeeringRoutesNetworksRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListPeeringRoutesNetworksRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListPeeringRoutesNetworksRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListPeeringRoutesNetworksRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
setField
public ListPeeringRoutesNetworksRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
clearField
public ListPeeringRoutesNetworksRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
clearOneof
public ListPeeringRoutesNetworksRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
setRepeatedField
public ListPeeringRoutesNetworksRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
addRepeatedField
public ListPeeringRoutesNetworksRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
mergeFrom
public ListPeeringRoutesNetworksRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
mergeFrom
public ListPeeringRoutesNetworksRequest.Builder mergeFrom(ListPeeringRoutesNetworksRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
mergeFrom
public ListPeeringRoutesNetworksRequest.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<ListPeeringRoutesNetworksRequest.Builder>- Throws:
IOException
-
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:
hasDirectionin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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:
getDirectionin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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:
getDirectionBytesin interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The bytes for direction.
-
setDirection
public ListPeeringRoutesNetworksRequest.Builder setDirection(String value)
The direction of the exchanged routes. Check the Direction enum for the list of possible values.
optional string direction = 111150975;- Parameters:
value- The direction to set.- Returns:
- This builder for chaining.
-
clearDirection
public ListPeeringRoutesNetworksRequest.Builder clearDirection()
The direction of the exchanged routes. Check the Direction enum for the list of possible values.
optional string direction = 111150975;- Returns:
- This builder for chaining.
-
setDirectionBytes
public ListPeeringRoutesNetworksRequest.Builder setDirectionBytes(com.google.protobuf.ByteString value)
The direction of the exchanged routes. Check the Direction enum for the list of possible values.
optional string direction = 111150975;- Parameters:
value- The bytes for direction 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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;- Specified by:
hasFilterin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;- Specified by:
getFilterin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;- Specified by:
getFilterBytesin interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
public ListPeeringRoutesNetworksRequest.Builder setFilter(String value)
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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public ListPeeringRoutesNetworksRequest.Builder 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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;- Returns:
- This builder for chaining.
-
setFilterBytes
public ListPeeringRoutesNetworksRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
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 interfaceListPeeringRoutesNetworksRequestOrBuilder- 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 interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The maxResults.
-
setMaxResults
public ListPeeringRoutesNetworksRequest.Builder setMaxResults(int value)
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
public ListPeeringRoutesNetworksRequest.Builder 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.
-
getNetwork
public String getNetwork()
Name of the network for this request.
string network = 232872494 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNetworkin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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:
getNetworkBytesin interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The bytes for network.
-
setNetwork
public ListPeeringRoutesNetworksRequest.Builder setNetwork(String value)
Name of the network for this request.
string network = 232872494 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public ListPeeringRoutesNetworksRequest.Builder clearNetwork()
Name of the network for this request.
string network = 232872494 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNetworkBytes
public ListPeeringRoutesNetworksRequest.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Name of the network for this request.
string network = 232872494 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for network to set.- 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 interfaceListPeeringRoutesNetworksRequestOrBuilder- 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:
getOrderByin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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 interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
public ListPeeringRoutesNetworksRequest.Builder setOrderBy(String value)
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
public ListPeeringRoutesNetworksRequest.Builder 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
public ListPeeringRoutesNetworksRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
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 interfaceListPeeringRoutesNetworksRequestOrBuilder- 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:
getPageTokenin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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 interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
public ListPeeringRoutesNetworksRequest.Builder setPageToken(String value)
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
public ListPeeringRoutesNetworksRequest.Builder 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
public ListPeeringRoutesNetworksRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
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.
-
hasPeeringName
public boolean hasPeeringName()
The response will show routes exchanged over the given peering connection.
optional string peering_name = 249571370;- Specified by:
hasPeeringNamein interfaceListPeeringRoutesNetworksRequestOrBuilder- 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:
getPeeringNamein interfaceListPeeringRoutesNetworksRequestOrBuilder- 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:
getPeeringNameBytesin interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The bytes for peeringName.
-
setPeeringName
public ListPeeringRoutesNetworksRequest.Builder setPeeringName(String value)
The response will show routes exchanged over the given peering connection.
optional string peering_name = 249571370;- Parameters:
value- The peeringName to set.- Returns:
- This builder for chaining.
-
clearPeeringName
public ListPeeringRoutesNetworksRequest.Builder clearPeeringName()
The response will show routes exchanged over the given peering connection.
optional string peering_name = 249571370;- Returns:
- This builder for chaining.
-
setPeeringNameBytes
public ListPeeringRoutesNetworksRequest.Builder setPeeringNameBytes(com.google.protobuf.ByteString value)
The response will show routes exchanged over the given peering connection.
optional string peering_name = 249571370;- Parameters:
value- The bytes for peeringName to set.- Returns:
- This builder for chaining.
-
getProject
public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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 interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The bytes for project.
-
setProject
public ListPeeringRoutesNetworksRequest.Builder setProject(String value)
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
public ListPeeringRoutesNetworksRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setProjectBytes
public ListPeeringRoutesNetworksRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
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.
-
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:
hasRegionin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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:
getRegionin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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:
getRegionBytesin interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The bytes for region.
-
setRegion
public ListPeeringRoutesNetworksRequest.Builder setRegion(String value)
The region of the request. The response will include all subnet routes, static routes and dynamic routes in the region.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public ListPeeringRoutesNetworksRequest.Builder clearRegion()
The region of the request. The response will include all subnet routes, static routes and dynamic routes in the region.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
public ListPeeringRoutesNetworksRequest.Builder setRegionBytes(com.google.protobuf.ByteString value)
The region of the request. The response will include all subnet routes, static routes and dynamic routes in the region.
optional string region = 138946292;- 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.
optional bool return_partial_success = 517198390;- Specified by:
hasReturnPartialSuccessin interfaceListPeeringRoutesNetworksRequestOrBuilder- 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.
optional bool return_partial_success = 517198390;- Specified by:
getReturnPartialSuccessin interfaceListPeeringRoutesNetworksRequestOrBuilder- Returns:
- The returnPartialSuccess.
-
setReturnPartialSuccess
public ListPeeringRoutesNetworksRequest.Builder setReturnPartialSuccess(boolean value)
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
optional bool return_partial_success = 517198390;- Parameters:
value- The returnPartialSuccess to set.- Returns:
- This builder for chaining.
-
clearReturnPartialSuccess
public ListPeeringRoutesNetworksRequest.Builder clearReturnPartialSuccess()
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
optional bool return_partial_success = 517198390;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListPeeringRoutesNetworksRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
mergeUnknownFields
public final ListPeeringRoutesNetworksRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPeeringRoutesNetworksRequest.Builder>
-
-