Class SearchMigratableResourcesResponse.Builder (3.45.0)

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

Static Methods

getDescriptor()

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

Methods

addAllMigratableResources(Iterable<? extends MigratableResource> values)

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
Type Description
SearchMigratableResourcesResponse.Builder

addMigratableResources(MigratableResource value)

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
Name Description
value MigratableResource
Returns
Type Description
SearchMigratableResourcesResponse.Builder

addMigratableResources(MigratableResource.Builder builderForValue)

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
Name Description
builderForValue MigratableResource.Builder
Returns
Type Description
SearchMigratableResourcesResponse.Builder

addMigratableResources(int index, MigratableResource value)

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
Name Description
index int
value MigratableResource
Returns
Type Description
SearchMigratableResourcesResponse.Builder

addMigratableResources(int index, MigratableResource.Builder builderForValue)

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
Name Description
index int
builderForValue MigratableResource.Builder
Returns
Type Description
SearchMigratableResourcesResponse.Builder

addMigratableResourcesBuilder()

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
Type Description
MigratableResource.Builder

addMigratableResourcesBuilder(int index)

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
Name Description
index int
Returns
Type Description
MigratableResource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchMigratableResourcesResponse build()
Returns
Type Description
SearchMigratableResourcesResponse

buildPartial()

public SearchMigratableResourcesResponse buildPartial()
Returns
Type Description
SearchMigratableResourcesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMigratableResources()

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
Type Description
SearchMigratableResourcesResponse.Builder

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
Type Description
SearchMigratableResourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SearchMigratableResourcesResponse getDefaultInstanceForType()
Returns
Type Description
SearchMigratableResourcesResponse

getDescriptorForType()

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

getMigratableResources(int index)

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
Name Description
index int
Returns
Type Description
MigratableResource

getMigratableResourcesBuilder(int index)

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
Name Description
index int
Returns
Type Description
MigratableResource.Builder

getMigratableResourcesBuilderList()

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
Type Description
List<Builder>

getMigratableResourcesCount()

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
Type Description
int

getMigratableResourcesList()

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
Type Description
List<MigratableResource>

getMigratableResourcesOrBuilder(int index)

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
Name Description
index int
Returns
Type Description
MigratableResourceOrBuilder

getMigratableResourcesOrBuilderList()

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchMigratableResourcesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMigratableResources(int index)

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
Name Description
index int
Returns
Type Description
SearchMigratableResourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigratableResources(int index, MigratableResource value)

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
Name Description
index int
value MigratableResource
Returns
Type Description
SearchMigratableResourcesResponse.Builder

setMigratableResources(int index, MigratableResource.Builder builderForValue)

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
Name Description
index int
builderForValue MigratableResource.Builder
Returns
Type Description
SearchMigratableResourcesResponse.Builder

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
Type Description
SearchMigratableResourcesResponse.Builder

This builder for chaining.

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
Type Description
SearchMigratableResourcesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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