Class BatchUpdateAssetsResponse (0.14.0)

public final class BatchUpdateAssetsResponse extends GeneratedMessageV3 implements BatchUpdateAssetsResponseOrBuilder

Response for updating a list of assets.

Protobuf type google.cloud.migrationcenter.v1.BatchUpdateAssetsResponse

Static Fields

ASSETS_FIELD_NUMBER

public static final int ASSETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchUpdateAssetsResponse getDefaultInstance()
Returns
TypeDescription
BatchUpdateAssetsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchUpdateAssetsResponse.Builder newBuilder()
Returns
TypeDescription
BatchUpdateAssetsResponse.Builder

newBuilder(BatchUpdateAssetsResponse prototype)

public static BatchUpdateAssetsResponse.Builder newBuilder(BatchUpdateAssetsResponse prototype)
Parameter
NameDescription
prototypeBatchUpdateAssetsResponse
Returns
TypeDescription
BatchUpdateAssetsResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchUpdateAssetsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchUpdateAssetsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchUpdateAssetsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchUpdateAssetsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchUpdateAssetsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchUpdateAssetsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchUpdateAssetsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchUpdateAssetsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchUpdateAssetsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchUpdateAssetsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchUpdateAssetsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchUpdateAssetsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchUpdateAssetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchUpdateAssetsResponse> parser()
Returns
TypeDescription
Parser<BatchUpdateAssetsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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

getParserForType()

public Parser<BatchUpdateAssetsResponse> getParserForType()
Returns
TypeDescription
Parser<BatchUpdateAssetsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchUpdateAssetsResponse.Builder newBuilderForType()
Returns
TypeDescription
BatchUpdateAssetsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchUpdateAssetsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchUpdateAssetsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchUpdateAssetsResponse.Builder toBuilder()
Returns
TypeDescription
BatchUpdateAssetsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException