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.v2alpha.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.v2alpha.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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder>
-
clear
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
getDefaultInstanceForType
public ListMigrationSubtasksRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListMigrationSubtasksRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListMigrationSubtasksRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
setField
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
clearField
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
clearOneof
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
setRepeatedField
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
addRepeatedField
public ListMigrationSubtasksRequest.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<ListMigrationSubtasksRequest.Builder>
-
mergeFrom
public ListMigrationSubtasksRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListMigrationSubtasksRequest.Builder>
-
mergeFrom
public ListMigrationSubtasksRequest.Builder mergeFrom(ListMigrationSubtasksRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getParent
in 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:
getParentBytes
in 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:
hasReadMask
in 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:
getReadMask
in 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:
getReadMaskOrBuilder
in 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:
getPageSize
in 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:
getPageToken
in 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:
getPageTokenBytes
in 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:
getFilter
in 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:
getFilterBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder>
-
mergeUnknownFields
public final ListMigrationSubtasksRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder>
-
-