Class SearchMigratableResourcesResponse.Builder (3.15.0)

public static final class SearchMigratableResourcesResponse.Builder extends GeneratedMessageV3.Builder<SearchMigratableResourcesResponse.Builder> implements SearchMigratableResourcesResponseOrBuilder

Response message for MigrationService.SearchMigratableResources.

Protobuf type google.cloud.aiplatform.v1beta1.SearchMigratableResourcesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.MigratableResource>
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameter
NameDescription
valueMigratableResource
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameter
NameDescription
builderForValueMigratableResource.Builder
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameters
NameDescription
indexint
valueMigratableResource
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameters
NameDescription
indexint
builderForValueMigratableResource.Builder
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
MigratableResource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchMigratableResourcesResponse build()
Returns
TypeDescription
SearchMigratableResourcesResponse

buildPartial()

public SearchMigratableResourcesResponse buildPartial()
Returns
TypeDescription
SearchMigratableResourcesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SearchMigratableResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SearchMigratableResourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchMigratableResourcesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Returns
TypeDescription
List<Builder>

getMigratableResourcesCount()

public int getMigratableResourcesCount()

All migratable resources that can be migrated to the location specified in the request.

repeated .google.cloud.aiplatform.v1beta1.MigratableResource migratable_resources = 1;

Returns
TypeDescription
int

getMigratableResourcesList()

public List<MigratableResource> getMigratableResourcesList()

All migratable resources that can be migrated to the location specified in the request.

repeated .google.cloud.aiplatform.v1beta1.MigratableResource migratable_resources = 1;

Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchMigratableResourcesResponse other)

public SearchMigratableResourcesResponse.Builder mergeFrom(SearchMigratableResourcesResponse other)
Parameter
NameDescription
otherSearchMigratableResourcesResponse
Returns
TypeDescription
SearchMigratableResourcesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchMigratableResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchMigratableResourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchMigratableResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameters
NameDescription
indexint
valueMigratableResource
Returns
TypeDescription
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.v1beta1.MigratableResource migratable_resources = 1;

Parameters
NameDescription
indexint
builderForValueMigratableResource.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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