public final class SearchMigratableResourcesRequest extends GeneratedMessageV3 implements SearchMigratableResourcesRequestOrBuilder
Request message for MigrationService.SearchMigratableResources.
Protobuf type google.cloud.aiplatform.v1beta1.SearchMigratableResourcesRequest
Static Fields
public static final int FILTER_FIELD_NUMBER
Field Value
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
public static SearchMigratableResourcesRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static SearchMigratableResourcesRequest.Builder newBuilder()
Returns
public static SearchMigratableResourcesRequest.Builder newBuilder(SearchMigratableResourcesRequest prototype)
Parameter
Returns
public static SearchMigratableResourcesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchMigratableResourcesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static SearchMigratableResourcesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<SearchMigratableResourcesRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public SearchMigratableResourcesRequest getDefaultInstanceForType()
Returns
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.
|
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
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
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.
|
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
public Parser<SearchMigratableResourcesRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SearchMigratableResourcesRequest.Builder newBuilderForType()
Returns
protected SearchMigratableResourcesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public SearchMigratableResourcesRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions