Class AssetList (0.17.0)

public final class AssetList extends GeneratedMessageV3 implements AssetListOrBuilder

Lists the asset IDs of all assets.

Protobuf type google.cloud.migrationcenter.v1.AssetList

Implements

AssetListOrBuilder

Static Fields

ASSET_IDS_FIELD_NUMBER

public static final int ASSET_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AssetList getDefaultInstance()
Returns
TypeDescription
AssetList

getDescriptor()

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

newBuilder()

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

newBuilder(AssetList prototype)

public static AssetList.Builder newBuilder(AssetList prototype)
Parameter
NameDescription
prototypeAssetList
Returns
TypeDescription
AssetList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAssetIds(int index)

public String getAssetIds(int index)

Required. A list of asset IDs

repeated string asset_ids = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The assetIds at the given index.

getAssetIdsBytes(int index)

public ByteString getAssetIdsBytes(int index)

Required. A list of asset IDs

repeated string asset_ids = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the assetIds at the given index.

getAssetIdsCount()

public int getAssetIdsCount()

Required. A list of asset IDs

repeated string asset_ids = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of assetIds.

getAssetIdsList()

public ProtocolStringList getAssetIdsList()

Required. A list of asset IDs

repeated string asset_ids = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the assetIds.

getDefaultInstanceForType()

public AssetList getDefaultInstanceForType()
Returns
TypeDescription
AssetList

getParserForType()

public Parser<AssetList> getParserForType()
Returns
TypeDescription
Parser<AssetList>
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 AssetList.Builder newBuilderForType()
Returns
TypeDescription
AssetList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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