Class BatchUpdateAssetsResponse.Builder (0.24.0)

public static final class BatchUpdateAssetsResponse.Builder extends GeneratedMessageV3.Builder<BatchUpdateAssetsResponse.Builder> implements BatchUpdateAssetsResponseOrBuilder

Response for updating a list of assets.

Protobuf type google.cloud.migrationcenter.v1.BatchUpdateAssetsResponse

Static Methods

getDescriptor()

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

Methods

addAllAssets(Iterable<? extends Asset> values)

public BatchUpdateAssetsResponse.Builder addAllAssets(Iterable<? extends Asset> values)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.Asset>
Returns
Type Description
BatchUpdateAssetsResponse.Builder

addAssets(Asset value)

public BatchUpdateAssetsResponse.Builder addAssets(Asset value)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameter
Name Description
value Asset
Returns
Type Description
BatchUpdateAssetsResponse.Builder

addAssets(Asset.Builder builderForValue)

public BatchUpdateAssetsResponse.Builder addAssets(Asset.Builder builderForValue)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameter
Name Description
builderForValue Asset.Builder
Returns
Type Description
BatchUpdateAssetsResponse.Builder

addAssets(int index, Asset value)

public BatchUpdateAssetsResponse.Builder addAssets(int index, Asset value)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameters
Name Description
index int
value Asset
Returns
Type Description
BatchUpdateAssetsResponse.Builder

addAssets(int index, Asset.Builder builderForValue)

public BatchUpdateAssetsResponse.Builder addAssets(int index, Asset.Builder builderForValue)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameters
Name Description
index int
builderForValue Asset.Builder
Returns
Type Description
BatchUpdateAssetsResponse.Builder

addAssetsBuilder()

public Asset.Builder addAssetsBuilder()

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Returns
Type Description
Asset.Builder

addAssetsBuilder(int index)

public Asset.Builder addAssetsBuilder(int index)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameter
Name Description
index int
Returns
Type Description
Asset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateAssetsResponse build()
Returns
Type Description
BatchUpdateAssetsResponse

buildPartial()

public BatchUpdateAssetsResponse buildPartial()
Returns
Type Description
BatchUpdateAssetsResponse

clear()

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

clearAssets()

public BatchUpdateAssetsResponse.Builder clearAssets()

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Returns
Type Description
BatchUpdateAssetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAssets(int index)

public Asset getAssets(int index)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameter
Name Description
index int
Returns
Type Description
Asset

getAssetsBuilder(int index)

public Asset.Builder getAssetsBuilder(int index)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameter
Name Description
index int
Returns
Type Description
Asset.Builder

getAssetsBuilderList()

public List<Asset.Builder> getAssetsBuilderList()

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Returns
Type Description
List<Builder>

getAssetsCount()

public int getAssetsCount()

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Returns
Type Description
int

getAssetsList()

public List<Asset> getAssetsList()

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Returns
Type Description
List<Asset>

getAssetsOrBuilder(int index)

public AssetOrBuilder getAssetsOrBuilder(int index)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameter
Name Description
index int
Returns
Type Description
AssetOrBuilder

getAssetsOrBuilderList()

public List<? extends AssetOrBuilder> getAssetsOrBuilderList()

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.AssetOrBuilder>

getDefaultInstanceForType()

public BatchUpdateAssetsResponse getDefaultInstanceForType()
Returns
Type Description
BatchUpdateAssetsResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateAssetsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAssets(int index)

public BatchUpdateAssetsResponse.Builder removeAssets(int index)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateAssetsResponse.Builder

setAssets(int index, Asset value)

public BatchUpdateAssetsResponse.Builder setAssets(int index, Asset value)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameters
Name Description
index int
value Asset
Returns
Type Description
BatchUpdateAssetsResponse.Builder

setAssets(int index, Asset.Builder builderForValue)

public BatchUpdateAssetsResponse.Builder setAssets(int index, Asset.Builder builderForValue)

Update asset content. The content only includes values after field mask being applied.

repeated .google.cloud.migrationcenter.v1.Asset assets = 1;

Parameters
Name Description
index int
builderForValue Asset.Builder
Returns
Type Description
BatchUpdateAssetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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