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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPrivateConnectionsRequest
build()
ListPrivateConnectionsRequest
buildPartial()
ListPrivateConnectionsRequest.Builder
clear()
ListPrivateConnectionsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListPrivateConnectionsRequest.Builder
clearFilter()
A filter expression that matches resources returned in the response.ListPrivateConnectionsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListPrivateConnectionsRequest.Builder
clearOrderBy()
Sorts list results by a certain order.ListPrivateConnectionsRequest.Builder
clearPageSize()
The maximum number of private connections to return in one page.ListPrivateConnectionsRequest.Builder
clearPageToken()
A page token, received from a previous `ListPrivateConnections` call.ListPrivateConnectionsRequest.Builder
clearParent()
Required.ListPrivateConnectionsRequest.Builder
clone()
ListPrivateConnectionsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFilter()
A filter expression that matches resources returned in the response.com.google.protobuf.ByteString
getFilterBytes()
A filter expression that matches resources returned in the response.String
getOrderBy()
Sorts list results by a certain order.com.google.protobuf.ByteString
getOrderByBytes()
Sorts list results by a certain order.int
getPageSize()
The maximum number of private connections to return in one page.String
getPageToken()
A page token, received from a previous `ListPrivateConnections` call.com.google.protobuf.ByteString
getPageTokenBytes()
A page token, received from a previous `ListPrivateConnections` call.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListPrivateConnectionsRequest.Builder
mergeFrom(ListPrivateConnectionsRequest other)
ListPrivateConnectionsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListPrivateConnectionsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListPrivateConnectionsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListPrivateConnectionsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPrivateConnectionsRequest.Builder
setFilter(String value)
A filter expression that matches resources returned in the response.ListPrivateConnectionsRequest.Builder
setFilterBytes(com.google.protobuf.ByteString value)
A filter expression that matches resources returned in the response.ListPrivateConnectionsRequest.Builder
setOrderBy(String value)
Sorts list results by a certain order.ListPrivateConnectionsRequest.Builder
setOrderByBytes(com.google.protobuf.ByteString value)
Sorts list results by a certain order.ListPrivateConnectionsRequest.Builder
setPageSize(int value)
The maximum number of private connections to return in one page.ListPrivateConnectionsRequest.Builder
setPageToken(String value)
A page token, received from a previous `ListPrivateConnections` call.ListPrivateConnectionsRequest.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
A page token, received from a previous `ListPrivateConnections` call.ListPrivateConnectionsRequest.Builder
setParent(String value)
Required.ListPrivateConnectionsRequest.Builder
setParentBytes(com.google.protobuf.ByteString value)
Required.ListPrivateConnectionsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListPrivateConnectionsRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
clear
public ListPrivateConnectionsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
getDefaultInstanceForType
public ListPrivateConnectionsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListPrivateConnectionsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListPrivateConnectionsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListPrivateConnectionsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
setField
public ListPrivateConnectionsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
clearField
public ListPrivateConnectionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
clearOneof
public ListPrivateConnectionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
setRepeatedField
public ListPrivateConnectionsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
addRepeatedField
public ListPrivateConnectionsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
mergeFrom
public ListPrivateConnectionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPrivateConnectionsRequest.Builder>
-
mergeFrom
public ListPrivateConnectionsRequest.Builder mergeFrom(ListPrivateConnectionsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getParent
in 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:
getParentBytes
in 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:
getPageSize
in 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:
getPageToken
in 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:
getPageTokenBytes
in 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:
getFilter
in 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:
getFilterBytes
in 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:
getOrderBy
in 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:
getOrderByBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
mergeUnknownFields
public final ListPrivateConnectionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsRequest.Builder>
-
-