Package com.google.cloud.vmwareengine.v1
Class ListPrivateConnectionsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
- com.google.cloud.vmwareengine.v1.ListPrivateConnectionsRequest.Builder
-
- All Implemented Interfaces:
ListPrivateConnectionsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListPrivateConnectionsRequest
public static final class ListPrivateConnectionsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder> implements ListPrivateConnectionsRequestOrBuilder
Request message for [VmwareEngine.ListPrivateConnections][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnections]
Protobuf typegoogle.cloud.vmwareengine.v1.ListPrivateConnectionsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPrivateConnectionsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListPrivateConnectionsRequestbuild()ListPrivateConnectionsRequestbuildPartial()ListPrivateConnectionsRequest.Builderclear()ListPrivateConnectionsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListPrivateConnectionsRequest.BuilderclearFilter()A filter expression that matches resources returned in the response.ListPrivateConnectionsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListPrivateConnectionsRequest.BuilderclearOrderBy()Sorts list results by a certain order.ListPrivateConnectionsRequest.BuilderclearPageSize()The maximum number of private connections to return in one page.ListPrivateConnectionsRequest.BuilderclearPageToken()A page token, received from a previous `ListPrivateConnections` call.ListPrivateConnectionsRequest.BuilderclearParent()Required.ListPrivateConnectionsRequest.Builderclone()ListPrivateConnectionsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFilter()A filter expression that matches resources returned in the response.com.google.protobuf.ByteStringgetFilterBytes()A filter expression that matches resources returned in the response.StringgetOrderBy()Sorts list results by a certain order.com.google.protobuf.ByteStringgetOrderByBytes()Sorts list results by a certain order.intgetPageSize()The maximum number of private connections to return in one page.StringgetPageToken()A page token, received from a previous `ListPrivateConnections` call.com.google.protobuf.ByteStringgetPageTokenBytes()A page token, received from a previous `ListPrivateConnections` call.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListPrivateConnectionsRequest.BuildermergeFrom(ListPrivateConnectionsRequest other)ListPrivateConnectionsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListPrivateConnectionsRequest.BuildermergeFrom(com.google.protobuf.Message other)ListPrivateConnectionsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListPrivateConnectionsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListPrivateConnectionsRequest.BuildersetFilter(String value)A filter expression that matches resources returned in the response.ListPrivateConnectionsRequest.BuildersetFilterBytes(com.google.protobuf.ByteString value)A filter expression that matches resources returned in the response.ListPrivateConnectionsRequest.BuildersetOrderBy(String value)Sorts list results by a certain order.ListPrivateConnectionsRequest.BuildersetOrderByBytes(com.google.protobuf.ByteString value)Sorts list results by a certain order.ListPrivateConnectionsRequest.BuildersetPageSize(int value)The maximum number of private connections to return in one page.ListPrivateConnectionsRequest.BuildersetPageToken(String value)A page token, received from a previous `ListPrivateConnections` call.ListPrivateConnectionsRequest.BuildersetPageTokenBytes(com.google.protobuf.ByteString value)A page token, received from a previous `ListPrivateConnections` call.ListPrivateConnectionsRequest.BuildersetParent(String value)Required.ListPrivateConnectionsRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Required.ListPrivateConnectionsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListPrivateConnectionsRequest.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<ListPrivateConnectionsRequest.Builder>
-
clear
public ListPrivateConnectionsRequest.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<ListPrivateConnectionsRequest.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<ListPrivateConnectionsRequest.Builder>
-
getDefaultInstanceForType
public ListPrivateConnectionsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListPrivateConnectionsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListPrivateConnectionsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListPrivateConnectionsRequest.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<ListPrivateConnectionsRequest.Builder>
-
setField
public ListPrivateConnectionsRequest.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<ListPrivateConnectionsRequest.Builder>
-
clearField
public ListPrivateConnectionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
clearOneof
public ListPrivateConnectionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
setRepeatedField
public ListPrivateConnectionsRequest.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<ListPrivateConnectionsRequest.Builder>
-
addRepeatedField
public ListPrivateConnectionsRequest.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<ListPrivateConnectionsRequest.Builder>
-
mergeFrom
public ListPrivateConnectionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListPrivateConnectionsRequest.Builder>
-
mergeFrom
public ListPrivateConnectionsRequest.Builder mergeFrom(ListPrivateConnectionsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
mergeFrom
public ListPrivateConnectionsRequest.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<ListPrivateConnectionsRequest.Builder>- Throws:
IOException
-
getParent
public String getParent()
Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceListPrivateConnectionsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceListPrivateConnectionsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public ListPrivateConnectionsRequest.Builder setParent(String value)
Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public ListPrivateConnectionsRequest.Builder clearParent()
Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
public ListPrivateConnectionsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()
The maximum number of private connections to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.
int32 page_size = 2;- Specified by:
getPageSizein interfaceListPrivateConnectionsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
public ListPrivateConnectionsRequest.Builder setPageSize(int value)
The maximum number of private connections to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.
int32 page_size = 2;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public ListPrivateConnectionsRequest.Builder clearPageSize()
The maximum number of private connections to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.
int32 page_size = 2;- Returns:
- This builder for chaining.
-
getPageToken
public String getPageToken()
A page token, received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.
string page_token = 3;- Specified by:
getPageTokenin interfaceListPrivateConnectionsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
A page token, received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.
string page_token = 3;- Specified by:
getPageTokenBytesin interfaceListPrivateConnectionsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
public ListPrivateConnectionsRequest.Builder setPageToken(String value)
A page token, received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.
string page_token = 3;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
public ListPrivateConnectionsRequest.Builder clearPageToken()
A page token, received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.
string page_token = 3;- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListPrivateConnectionsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
A page token, received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.
string page_token = 3;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getFilter
public String getFilter()
A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of private connections, you can exclude the ones named `example-connection` by specifying `name != "example-connection"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "example-connection") (createTime > "2022-09-22T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "example-connection-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-connection-2") ```
string filter = 4;- Specified by:
getFilterin interfaceListPrivateConnectionsRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of private connections, you can exclude the ones named `example-connection` by specifying `name != "example-connection"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "example-connection") (createTime > "2022-09-22T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "example-connection-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-connection-2") ```
string filter = 4;- Specified by:
getFilterBytesin interfaceListPrivateConnectionsRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
public ListPrivateConnectionsRequest.Builder setFilter(String value)
A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of private connections, you can exclude the ones named `example-connection` by specifying `name != "example-connection"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "example-connection") (createTime > "2022-09-22T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "example-connection-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-connection-2") ```
string filter = 4;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public ListPrivateConnectionsRequest.Builder clearFilter()
A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of private connections, you can exclude the ones named `example-connection` by specifying `name != "example-connection"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "example-connection") (createTime > "2022-09-22T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "example-connection-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-connection-2") ```
string filter = 4;- Returns:
- This builder for chaining.
-
setFilterBytes
public ListPrivateConnectionsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of private connections, you can exclude the ones named `example-connection` by specifying `name != "example-connection"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "example-connection") (createTime > "2022-09-22T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "example-connection-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-connection-2") ```
string filter = 4;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getOrderBy
public String getOrderBy()
Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
string order_by = 5;- Specified by:
getOrderByin interfaceListPrivateConnectionsRequestOrBuilder- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()
Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
string order_by = 5;- Specified by:
getOrderByBytesin interfaceListPrivateConnectionsRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
public ListPrivateConnectionsRequest.Builder setOrderBy(String value)
Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
string order_by = 5;- Parameters:
value- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
public ListPrivateConnectionsRequest.Builder clearOrderBy()
Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
string order_by = 5;- Returns:
- This builder for chaining.
-
setOrderByBytes
public ListPrivateConnectionsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
string order_by = 5;- Parameters:
value- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListPrivateConnectionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
mergeUnknownFields
public final ListPrivateConnectionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
-