Class BatchUpdateAssetsResponse.Builder (0.5.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.Asset>
Returns
TypeDescription
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
NameDescription
valueAsset
Returns
TypeDescription
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
NameDescription
builderForValueAsset.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAsset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAsset.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Asset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateAssetsResponse build()
Returns
TypeDescription
BatchUpdateAssetsResponse

buildPartial()

public BatchUpdateAssetsResponse buildPartial()
Returns
TypeDescription
BatchUpdateAssetsResponse

clear()

public BatchUpdateAssetsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
BatchUpdateAssetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public BatchUpdateAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchUpdateAssetsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BatchUpdateAssetsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.AssetOrBuilder>

getDefaultInstanceForType()

public BatchUpdateAssetsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateAssetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchUpdateAssetsResponse other)

public BatchUpdateAssetsResponse.Builder mergeFrom(BatchUpdateAssetsResponse other)
Parameter
NameDescription
otherBatchUpdateAssetsResponse
Returns
TypeDescription
BatchUpdateAssetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAsset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAsset.Builder
Returns
TypeDescription
BatchUpdateAssetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BatchUpdateAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchUpdateAssetsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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