public static final class SearchMigratableResourcesResponse.Builder extends GeneratedMessageV3.Builder<SearchMigratableResourcesResponse.Builder> implements SearchMigratableResourcesResponseOrBuilder
Response message for MigrationService.SearchMigratableResources.
Protobuf type google.cloud.aiplatform.v1.SearchMigratableResourcesResponse
Methods
public SearchMigratableResourcesResponse.Builder addAllMigratableResources(Iterable<? extends MigratableResource> values)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.MigratableResource>
|
Returns
public SearchMigratableResourcesResponse.Builder addMigratableResources(MigratableResource value)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameter
Returns
public SearchMigratableResourcesResponse.Builder addMigratableResources(MigratableResource.Builder builderForValue)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameter
Returns
public SearchMigratableResourcesResponse.Builder addMigratableResources(int index, MigratableResource value)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameters
Returns
public SearchMigratableResourcesResponse.Builder addMigratableResources(int index, MigratableResource.Builder builderForValue)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameters
Returns
public MigratableResource.Builder addMigratableResourcesBuilder()
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Returns
public MigratableResource.Builder addMigratableResourcesBuilder(int index)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameter
Returns
public SearchMigratableResourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SearchMigratableResourcesResponse build()
Returns
public SearchMigratableResourcesResponse buildPartial()
Returns
public SearchMigratableResourcesResponse.Builder clear()
Returns
Overrides
public SearchMigratableResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public SearchMigratableResourcesResponse.Builder clearMigratableResources()
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Returns
clearNextPageToken()
public SearchMigratableResourcesResponse.Builder clearNextPageToken()
The standard next-page token.
The migratable_resources may not fill page_size in
SearchMigratableResourcesRequest even when there are subsequent pages.
string next_page_token = 2;
Returns
public SearchMigratableResourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public SearchMigratableResourcesResponse.Builder clone()
Returns
Overrides
public SearchMigratableResourcesResponse getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public MigratableResource getMigratableResources(int index)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameter
Returns
public MigratableResource.Builder getMigratableResourcesBuilder(int index)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameter
Returns
public List<MigratableResource.Builder> getMigratableResourcesBuilderList()
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Returns
public int getMigratableResourcesCount()
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Returns
public List<MigratableResource> getMigratableResourcesList()
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Returns
public MigratableResourceOrBuilder getMigratableResourcesOrBuilder(int index)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameter
Returns
public List<? extends MigratableResourceOrBuilder> getMigratableResourcesOrBuilderList()
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.MigratableResourceOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
The standard next-page token.
The migratable_resources may not fill page_size in
SearchMigratableResourcesRequest even when there are subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The standard next-page token.
The migratable_resources may not fill page_size in
SearchMigratableResourcesRequest even when there are subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SearchMigratableResourcesResponse.Builder mergeFrom(SearchMigratableResourcesResponse other)
Parameter
Returns
public SearchMigratableResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public SearchMigratableResourcesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final SearchMigratableResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public SearchMigratableResourcesResponse.Builder removeMigratableResources(int index)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameter
Returns
public SearchMigratableResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SearchMigratableResourcesResponse.Builder setMigratableResources(int index, MigratableResource value)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameters
Returns
public SearchMigratableResourcesResponse.Builder setMigratableResources(int index, MigratableResource.Builder builderForValue)
All migratable resources that can be migrated to the
location specified in the request.
repeated .google.cloud.aiplatform.v1.MigratableResource migratable_resources = 1;
Parameters
Returns
setNextPageToken(String value)
public SearchMigratableResourcesResponse.Builder setNextPageToken(String value)
The standard next-page token.
The migratable_resources may not fill page_size in
SearchMigratableResourcesRequest even when there are subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public SearchMigratableResourcesResponse.Builder setNextPageTokenBytes(ByteString value)
The standard next-page token.
The migratable_resources may not fill page_size in
SearchMigratableResourcesRequest even when there are subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public SearchMigratableResourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final SearchMigratableResourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides