Class SearchMigratableResourcesRequest.Builder (3.12.0)

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

Request message for MigrationService.SearchMigratableResources.

Protobuf type google.cloud.aiplatform.v1beta1.SearchMigratableResourcesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchMigratableResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder
Overrides

build()

public SearchMigratableResourcesRequest build()
Returns
TypeDescription
SearchMigratableResourcesRequest

buildPartial()

public SearchMigratableResourcesRequest buildPartial()
Returns
TypeDescription
SearchMigratableResourcesRequest

clear()

public SearchMigratableResourcesRequest.Builder clear()
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchMigratableResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SearchMigratableResourcesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchMigratableResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder
Overrides

clearPageSize()

public SearchMigratableResourcesRequest.Builder clearPageSize()

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

int32 page_size = 2;

Returns
TypeDescription
SearchMigratableResourcesRequest.Builder

This builder for chaining.

clearPageToken()

public SearchMigratableResourcesRequest.Builder clearPageToken()

The standard page token.

string page_token = 3;

Returns
TypeDescription
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
TypeDescription
SearchMigratableResourcesRequest.Builder

This builder for chaining.

clone()

public SearchMigratableResourcesRequest.Builder clone()
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder
Overrides

getDefaultInstanceForType()

public SearchMigratableResourcesRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchMigratableResourcesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

The standard page token.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The standard page token.

string page_token = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchMigratableResourcesRequest other)

public SearchMigratableResourcesRequest.Builder mergeFrom(SearchMigratableResourcesRequest other)
Parameter
NameDescription
otherSearchMigratableResourcesRequest
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchMigratableResourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchMigratableResourcesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchMigratableResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchMigratableResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
SearchMigratableResourcesRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchMigratableResourcesRequest.Builder setPageToken(String value)

The standard page token.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
SearchMigratableResourcesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchMigratableResourcesRequest.Builder setPageTokenBytes(ByteString value)

The standard page token.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchMigratableResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchMigratableResourcesRequest.Builder
Overrides