Class BatchGetAssetsHistoryResponse.Builder (3.87.0)

public static final class BatchGetAssetsHistoryResponse.Builder extends GeneratedMessage.Builder<BatchGetAssetsHistoryResponse.Builder> implements BatchGetAssetsHistoryResponseOrBuilder

Batch get assets history response.

Protobuf type google.cloud.asset.v1.BatchGetAssetsHistoryResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAssets(Iterable<? extends TemporalAsset> values)

public BatchGetAssetsHistoryResponse.Builder addAllAssets(Iterable<? extends TemporalAsset> values)

A list of assets with valid time windows.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.TemporalAsset>
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

addAssets(TemporalAsset value)

public BatchGetAssetsHistoryResponse.Builder addAssets(TemporalAsset value)

A list of assets with valid time windows.

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

Parameter
Name Description
value TemporalAsset
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

addAssets(TemporalAsset.Builder builderForValue)

public BatchGetAssetsHistoryResponse.Builder addAssets(TemporalAsset.Builder builderForValue)

A list of assets with valid time windows.

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

Parameter
Name Description
builderForValue TemporalAsset.Builder
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

addAssets(int index, TemporalAsset value)

public BatchGetAssetsHistoryResponse.Builder addAssets(int index, TemporalAsset value)

A list of assets with valid time windows.

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

Parameters
Name Description
index int
value TemporalAsset
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

addAssets(int index, TemporalAsset.Builder builderForValue)

public BatchGetAssetsHistoryResponse.Builder addAssets(int index, TemporalAsset.Builder builderForValue)

A list of assets with valid time windows.

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

Parameters
Name Description
index int
builderForValue TemporalAsset.Builder
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

addAssetsBuilder()

public TemporalAsset.Builder addAssetsBuilder()

A list of assets with valid time windows.

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

Returns
Type Description
TemporalAsset.Builder

addAssetsBuilder(int index)

public TemporalAsset.Builder addAssetsBuilder(int index)

A list of assets with valid time windows.

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

Parameter
Name Description
index int
Returns
Type Description
TemporalAsset.Builder

build()

public BatchGetAssetsHistoryResponse build()
Returns
Type Description
BatchGetAssetsHistoryResponse

buildPartial()

public BatchGetAssetsHistoryResponse buildPartial()
Returns
Type Description
BatchGetAssetsHistoryResponse

clear()

public BatchGetAssetsHistoryResponse.Builder clear()
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder
Overrides

clearAssets()

public BatchGetAssetsHistoryResponse.Builder clearAssets()

A list of assets with valid time windows.

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

Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

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
Name Description
index int
Returns
Type Description
TemporalAsset

getAssetsBuilder(int index)

public TemporalAsset.Builder getAssetsBuilder(int index)

A list of assets with valid time windows.

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

Parameter
Name Description
index int
Returns
Type Description
TemporalAsset.Builder

getAssetsBuilderList()

public List<TemporalAsset.Builder> getAssetsBuilderList()

A list of assets with valid time windows.

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

Returns
Type Description
List<Builder>

getAssetsCount()

public int getAssetsCount()

A list of assets with valid time windows.

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

Returns
Type Description
int

getAssetsList()

public List<TemporalAsset> getAssetsList()

A list of assets with valid time windows.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
TemporalAssetOrBuilder

getAssetsOrBuilderList()

public List<? extends TemporalAssetOrBuilder> getAssetsOrBuilderList()

A list of assets with valid time windows.

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

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

getDefaultInstanceForType()

public BatchGetAssetsHistoryResponse getDefaultInstanceForType()
Returns
Type Description
BatchGetAssetsHistoryResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchGetAssetsHistoryResponse other)

public BatchGetAssetsHistoryResponse.Builder mergeFrom(BatchGetAssetsHistoryResponse other)
Parameter
Name Description
other BatchGetAssetsHistoryResponse
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchGetAssetsHistoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchGetAssetsHistoryResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder
Overrides

removeAssets(int index)

public BatchGetAssetsHistoryResponse.Builder removeAssets(int index)

A list of assets with valid time windows.

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

Parameter
Name Description
index int
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

setAssets(int index, TemporalAsset value)

public BatchGetAssetsHistoryResponse.Builder setAssets(int index, TemporalAsset value)

A list of assets with valid time windows.

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

Parameters
Name Description
index int
value TemporalAsset
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

setAssets(int index, TemporalAsset.Builder builderForValue)

public BatchGetAssetsHistoryResponse.Builder setAssets(int index, TemporalAsset.Builder builderForValue)

A list of assets with valid time windows.

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

Parameters
Name Description
index int
builderForValue TemporalAsset.Builder
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder