Class ListMigrationSubtasksRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder>
-
- com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.Builder
-
- All Implemented Interfaces:
ListMigrationSubtasksRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListMigrationSubtasksRequest
public static final class ListMigrationSubtasksRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder> implements ListMigrationSubtasksRequestOrBuilder
A request to list previously created migration subtasks.
Protobuf typegoogle.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest
-
-
Method Summary
-
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<ListMigrationSubtasksRequest.Builder>
-
clear
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
getDefaultInstanceForType
public ListMigrationSubtasksRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListMigrationSubtasksRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListMigrationSubtasksRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
setField
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
clearField
public ListMigrationSubtasksRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder>
-
clearOneof
public ListMigrationSubtasksRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder>
-
setRepeatedField
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
addRepeatedField
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
mergeFrom
public ListMigrationSubtasksRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListMigrationSubtasksRequest.Builder>
-
mergeFrom
public ListMigrationSubtasksRequest.Builder mergeFrom(ListMigrationSubtasksRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder>
-
mergeFrom
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>- Throws:
IOException
-
getParent
public String getParent()
Required. The migration task of the subtasks to list. Example: `projects/123/locations/us/workflows/1234`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceListMigrationSubtasksRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The migration task of the subtasks to list. Example: `projects/123/locations/us/workflows/1234`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceListMigrationSubtasksRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public ListMigrationSubtasksRequest.Builder setParent(String value)
Required. The migration task of the subtasks to list. Example: `projects/123/locations/us/workflows/1234`
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 ListMigrationSubtasksRequest.Builder clearParent()
Required. The migration task of the subtasks to list. Example: `projects/123/locations/us/workflows/1234`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
public ListMigrationSubtasksRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The migration task of the subtasks to list. Example: `projects/123/locations/us/workflows/1234`
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.
-
hasReadMask
public boolean hasReadMask()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasReadMaskin interfaceListMigrationSubtasksRequestOrBuilder- Returns:
- Whether the readMask field is set.
-
getReadMask
public com.google.protobuf.FieldMask getReadMask()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadMaskin interfaceListMigrationSubtasksRequestOrBuilder- Returns:
- The readMask.
-
setReadMask
public ListMigrationSubtasksRequest.Builder setReadMask(com.google.protobuf.FieldMask value)
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
setReadMask
public ListMigrationSubtasksRequest.Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
mergeReadMask
public ListMigrationSubtasksRequest.Builder mergeReadMask(com.google.protobuf.FieldMask value)
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
clearReadMask
public ListMigrationSubtasksRequest.Builder clearReadMask()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getReadMaskBuilder
public com.google.protobuf.FieldMask.Builder getReadMaskBuilder()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getReadMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadMaskOrBuilderin interfaceListMigrationSubtasksRequestOrBuilder
-
getPageSize
public int getPageSize()
Optional. The maximum number of migration tasks to return. The service may return fewer than this number.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageSizein interfaceListMigrationSubtasksRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
public ListMigrationSubtasksRequest.Builder setPageSize(int value)
Optional. The maximum number of migration tasks to return. The service may return fewer than this number.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public ListMigrationSubtasksRequest.Builder clearPageSize()
Optional. The maximum number of migration tasks to return. The service may return fewer than this number.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getPageToken
public String getPageToken()
Optional. A page token, received from previous `ListMigrationSubtasks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationSubtasks` must match the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageTokenin interfaceListMigrationSubtasksRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
Optional. A page token, received from previous `ListMigrationSubtasks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationSubtasks` must match the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageTokenBytesin interfaceListMigrationSubtasksRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
public ListMigrationSubtasksRequest.Builder setPageToken(String value)
Optional. A page token, received from previous `ListMigrationSubtasks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationSubtasks` must match the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
public ListMigrationSubtasksRequest.Builder clearPageToken()
Optional. A page token, received from previous `ListMigrationSubtasks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationSubtasks` must match the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListMigrationSubtasksRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. A page token, received from previous `ListMigrationSubtasks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationSubtasks` must match the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getFilter
public String getFilter()
Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the task ID (not the name in the named map).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilterin interfaceListMigrationSubtasksRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the task ID (not the name in the named map).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilterBytesin interfaceListMigrationSubtasksRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
public ListMigrationSubtasksRequest.Builder setFilter(String value)
Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the task ID (not the name in the named map).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public ListMigrationSubtasksRequest.Builder clearFilter()
Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the task ID (not the name in the named map).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setFilterBytes
public ListMigrationSubtasksRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the task ID (not the name in the named map).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListMigrationSubtasksRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder>
-
mergeUnknownFields
public final ListMigrationSubtasksRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder>
-
-