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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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
|
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;
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
|
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchUpdateAssetsResponse build()
buildPartial()
public BatchUpdateAssetsResponse buildPartial()
clear()
public BatchUpdateAssetsResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BatchUpdateAssetsResponse.Builder clone()
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
|
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;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchUpdateAssetsResponse other)
public BatchUpdateAssetsResponse.Builder mergeFrom(BatchUpdateAssetsResponse other)
public BatchUpdateAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchUpdateAssetsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
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;
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides