Class SearchMigratableResourcesRequest.Builder (3.54.0)

public static final class SearchMigratableResourcesRequest.Builder extends GeneratedMessageV3.Builder<SearchMigratableResourcesRequest.Builder> implements SearchMigratableResourcesRequestOrBuilder

Request message for MigrationService.SearchMigratableResources.

Protobuf type google.cloud.aiplatform.v1.SearchMigratableResourcesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchMigratableResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides

build()

public SearchMigratableResourcesRequest build()
Returns
Type Description
SearchMigratableResourcesRequest

buildPartial()

public SearchMigratableResourcesRequest buildPartial()
Returns
Type Description
SearchMigratableResourcesRequest

clear()

public SearchMigratableResourcesRequest.Builder clear()
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchMigratableResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides

clearFilter()

public SearchMigratableResourcesRequest.Builder clearFilter()

A filter for your search. You can use the following types of filters:

  • Resource type filters. The following strings filter for a specific type of MigratableResource:
    • ml_engine_model_version:*
    • automl_model:*
    • automl_dataset:*
    • data_labeling_dataset:*
  • "Migrated or not" filters. The following strings filter for resources that either have or have not already been migrated:
    • last_migrate_time:* filters for migrated resources.
    • NOT last_migrate_time:* filters for not yet migrated resources.

string filter = 4;

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchMigratableResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides

clearPageSize()

public SearchMigratableResourcesRequest.Builder clearPageSize()

The standard page size. The default and maximum value is 100.

int32 page_size = 2;

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

clearPageToken()

public SearchMigratableResourcesRequest.Builder clearPageToken()

The standard page token.

string page_token = 3;

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

clearParent()

public SearchMigratableResourcesRequest.Builder clearParent()

Required. The location that the migratable resources should be searched from. It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

clone()

public SearchMigratableResourcesRequest.Builder clone()
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides

getDefaultInstanceForType()

public SearchMigratableResourcesRequest getDefaultInstanceForType()
Returns
Type Description
SearchMigratableResourcesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

A filter for your search. You can use the following types of filters:

  • Resource type filters. The following strings filter for a specific type of MigratableResource:
    • ml_engine_model_version:*
    • automl_model:*
    • automl_dataset:*
    • data_labeling_dataset:*
  • "Migrated or not" filters. The following strings filter for resources that either have or have not already been migrated:
    • last_migrate_time:* filters for migrated resources.
    • NOT last_migrate_time:* filters for not yet migrated resources.

string filter = 4;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter for your search. You can use the following types of filters:

  • Resource type filters. The following strings filter for a specific type of MigratableResource:
    • ml_engine_model_version:*
    • automl_model:*
    • automl_dataset:*
    • data_labeling_dataset:*
  • "Migrated or not" filters. The following strings filter for resources that either have or have not already been migrated:
    • last_migrate_time:* filters for migrated resources.
    • NOT last_migrate_time:* filters for not yet migrated resources.

string filter = 4;

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

The standard page size. The default and maximum value is 100.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The standard page token.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The standard page token.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The location that the migratable resources should be searched from. It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The location that the migratable resources should be searched from. It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchMigratableResourcesRequest other)

public SearchMigratableResourcesRequest.Builder mergeFrom(SearchMigratableResourcesRequest other)
Parameter
Name Description
other SearchMigratableResourcesRequest
Returns
Type Description
SearchMigratableResourcesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchMigratableResourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchMigratableResourcesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchMigratableResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchMigratableResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides

setFilter(String value)

public SearchMigratableResourcesRequest.Builder setFilter(String value)

A filter for your search. You can use the following types of filters:

  • Resource type filters. The following strings filter for a specific type of MigratableResource:
    • ml_engine_model_version:*
    • automl_model:*
    • automl_dataset:*
    • data_labeling_dataset:*
  • "Migrated or not" filters. The following strings filter for resources that either have or have not already been migrated:
    • last_migrate_time:* filters for migrated resources.
    • NOT last_migrate_time:* filters for not yet migrated resources.

string filter = 4;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public SearchMigratableResourcesRequest.Builder setFilterBytes(ByteString value)

A filter for your search. You can use the following types of filters:

  • Resource type filters. The following strings filter for a specific type of MigratableResource:
    • ml_engine_model_version:*
    • automl_model:*
    • automl_dataset:*
    • data_labeling_dataset:*
  • "Migrated or not" filters. The following strings filter for resources that either have or have not already been migrated:
    • last_migrate_time:* filters for migrated resources.
    • NOT last_migrate_time:* filters for not yet migrated resources.

string filter = 4;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

setPageSize(int value)

public SearchMigratableResourcesRequest.Builder setPageSize(int value)

The standard page size. The default and maximum value is 100.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchMigratableResourcesRequest.Builder setPageToken(String value)

The standard page token.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchMigratableResourcesRequest.Builder setPageTokenBytes(ByteString value)

The standard page token.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

setParent(String value)

public SearchMigratableResourcesRequest.Builder setParent(String value)

Required. The location that the migratable resources should be searched from. It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public SearchMigratableResourcesRequest.Builder setParentBytes(ByteString value)

Required. The location that the migratable resources should be searched from. It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
SearchMigratableResourcesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchMigratableResourcesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchMigratableResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchMigratableResourcesRequest.Builder
Overrides