Package com.google.cloud.gkebackup.v1
Class ListRestorePlansRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListRestorePlansRequest.Builder>
-
- com.google.cloud.gkebackup.v1.ListRestorePlansRequest.Builder
-
- All Implemented Interfaces:
ListRestorePlansRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListRestorePlansRequest
public static final class ListRestorePlansRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListRestorePlansRequest.Builder> implements ListRestorePlansRequestOrBuilder
Request message for ListRestorePlans.
Protobuf typegoogle.cloud.gkebackup.v1.ListRestorePlansRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRestorePlansRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListRestorePlansRequestbuild()ListRestorePlansRequestbuildPartial()ListRestorePlansRequest.Builderclear()ListRestorePlansRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListRestorePlansRequest.BuilderclearFilter()Field match expression used to filter the results.ListRestorePlansRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListRestorePlansRequest.BuilderclearOrderBy()Field by which to sort the results.ListRestorePlansRequest.BuilderclearPageSize()The target number of results to return in a single response.ListRestorePlansRequest.BuilderclearPageToken()The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call.ListRestorePlansRequest.BuilderclearParent()Required.ListRestorePlansRequest.Builderclone()ListRestorePlansRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFilter()Field match expression used to filter the results.com.google.protobuf.ByteStringgetFilterBytes()Field match expression used to filter the results.StringgetOrderBy()Field by which to sort the results.com.google.protobuf.ByteStringgetOrderByBytes()Field by which to sort the results.intgetPageSize()The target number of results to return in a single response.StringgetPageToken()The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call.com.google.protobuf.ByteStringgetPageTokenBytes()The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListRestorePlansRequest.BuildermergeFrom(ListRestorePlansRequest other)ListRestorePlansRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListRestorePlansRequest.BuildermergeFrom(com.google.protobuf.Message other)ListRestorePlansRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListRestorePlansRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListRestorePlansRequest.BuildersetFilter(String value)Field match expression used to filter the results.ListRestorePlansRequest.BuildersetFilterBytes(com.google.protobuf.ByteString value)Field match expression used to filter the results.ListRestorePlansRequest.BuildersetOrderBy(String value)Field by which to sort the results.ListRestorePlansRequest.BuildersetOrderByBytes(com.google.protobuf.ByteString value)Field by which to sort the results.ListRestorePlansRequest.BuildersetPageSize(int value)The target number of results to return in a single response.ListRestorePlansRequest.BuildersetPageToken(String value)The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call.ListRestorePlansRequest.BuildersetPageTokenBytes(com.google.protobuf.ByteString value)The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call.ListRestorePlansRequest.BuildersetParent(String value)Required.ListRestorePlansRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Required.ListRestorePlansRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListRestorePlansRequest.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<ListRestorePlansRequest.Builder>
-
clear
public ListRestorePlansRequest.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<ListRestorePlansRequest.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<ListRestorePlansRequest.Builder>
-
getDefaultInstanceForType
public ListRestorePlansRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListRestorePlansRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListRestorePlansRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListRestorePlansRequest.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<ListRestorePlansRequest.Builder>
-
setField
public ListRestorePlansRequest.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<ListRestorePlansRequest.Builder>
-
clearField
public ListRestorePlansRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRestorePlansRequest.Builder>
-
clearOneof
public ListRestorePlansRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRestorePlansRequest.Builder>
-
setRepeatedField
public ListRestorePlansRequest.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<ListRestorePlansRequest.Builder>
-
addRepeatedField
public ListRestorePlansRequest.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<ListRestorePlansRequest.Builder>
-
mergeFrom
public ListRestorePlansRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListRestorePlansRequest.Builder>
-
mergeFrom
public ListRestorePlansRequest.Builder mergeFrom(ListRestorePlansRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRestorePlansRequest.Builder>
-
mergeFrom
public ListRestorePlansRequest.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<ListRestorePlansRequest.Builder>- Throws:
IOException
-
getParent
public String getParent()
Required. The location that contains the RestorePlans to list. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceListRestorePlansRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The location that contains the RestorePlans to list. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceListRestorePlansRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public ListRestorePlansRequest.Builder setParent(String value)
Required. The location that contains the RestorePlans to list. Format: `projects/*/locations/*`
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 ListRestorePlansRequest.Builder clearParent()
Required. The location that contains the RestorePlans to list. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
public ListRestorePlansRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The location that contains the RestorePlans to list. Format: `projects/*/locations/*`
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 target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may inclue a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] to determine if there are more instances left to be queried.
int32 page_size = 2;- Specified by:
getPageSizein interfaceListRestorePlansRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
public ListRestorePlansRequest.Builder setPageSize(int value)
The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may inclue a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] to determine if there are more instances left to be queried.
int32 page_size = 2;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public ListRestorePlansRequest.Builder clearPageSize()
The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may inclue a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] to determine if there are more instances left to be queried.
int32 page_size = 2;- Returns:
- This builder for chaining.
-
getPageToken
public String getPageToken()
The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestorePlans` must match the call that provided the page token.
string page_token = 3;- Specified by:
getPageTokenin interfaceListRestorePlansRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestorePlans` must match the call that provided the page token.
string page_token = 3;- Specified by:
getPageTokenBytesin interfaceListRestorePlansRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
public ListRestorePlansRequest.Builder setPageToken(String value)
The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestorePlans` 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 ListRestorePlansRequest.Builder clearPageToken()
The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestorePlans` must match the call that provided the page token.
string page_token = 3;- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListRestorePlansRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestorePlans` 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()
Field match expression used to filter the results.
string filter = 4;- Specified by:
getFilterin interfaceListRestorePlansRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
Field match expression used to filter the results.
string filter = 4;- Specified by:
getFilterBytesin interfaceListRestorePlansRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
public ListRestorePlansRequest.Builder setFilter(String value)
Field match expression used to filter the results.
string filter = 4;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public ListRestorePlansRequest.Builder clearFilter()
Field match expression used to filter the results.
string filter = 4;- Returns:
- This builder for chaining.
-
setFilterBytes
public ListRestorePlansRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Field match expression used to filter the results.
string filter = 4;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getOrderBy
public String getOrderBy()
Field by which to sort the results.
string order_by = 5;- Specified by:
getOrderByin interfaceListRestorePlansRequestOrBuilder- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()
Field by which to sort the results.
string order_by = 5;- Specified by:
getOrderByBytesin interfaceListRestorePlansRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
public ListRestorePlansRequest.Builder setOrderBy(String value)
Field by which to sort the results.
string order_by = 5;- Parameters:
value- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
public ListRestorePlansRequest.Builder clearOrderBy()
Field by which to sort the results.
string order_by = 5;- Returns:
- This builder for chaining.
-
setOrderByBytes
public ListRestorePlansRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Field by which to sort the results.
string order_by = 5;- Parameters:
value- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListRestorePlansRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRestorePlansRequest.Builder>
-
mergeUnknownFields
public final ListRestorePlansRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRestorePlansRequest.Builder>
-
-