Class BatchGetAssetsHistoryResponse (3.45.0)

public final class BatchGetAssetsHistoryResponse extends GeneratedMessageV3 implements BatchGetAssetsHistoryResponseOrBuilder

Batch get assets history response.

Protobuf type google.cloud.asset.v1.BatchGetAssetsHistoryResponse

Static Fields

ASSETS_FIELD_NUMBER

public static final int ASSETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchGetAssetsHistoryResponse getDefaultInstance()
Returns
TypeDescription
BatchGetAssetsHistoryResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchGetAssetsHistoryResponse prototype)

public static BatchGetAssetsHistoryResponse.Builder newBuilder(BatchGetAssetsHistoryResponse prototype)
Parameter
NameDescription
prototypeBatchGetAssetsHistoryResponse
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAssets(int index)

public TemporalAsset getAssets(int index)

A list of assets with valid time windows.

repeated .google.cloud.asset.v1.TemporalAsset assets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TemporalAsset

getAssetsCount()

public int getAssetsCount()

A list of assets with valid time windows.

repeated .google.cloud.asset.v1.TemporalAsset assets = 1;

Returns
TypeDescription
int

getAssetsList()

public List<TemporalAsset> getAssetsList()

A list of assets with valid time windows.

repeated .google.cloud.asset.v1.TemporalAsset assets = 1;

Returns
TypeDescription
List<TemporalAsset>

getAssetsOrBuilder(int index)

public TemporalAssetOrBuilder getAssetsOrBuilder(int index)

A list of assets with valid time windows.

repeated .google.cloud.asset.v1.TemporalAsset assets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TemporalAssetOrBuilder

getAssetsOrBuilderList()

public List<? extends TemporalAssetOrBuilder> getAssetsOrBuilderList()

A list of assets with valid time windows.

repeated .google.cloud.asset.v1.TemporalAsset assets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1.TemporalAssetOrBuilder>

getDefaultInstanceForType()

public BatchGetAssetsHistoryResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchGetAssetsHistoryResponse

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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