Class BatchGetAssetsHistoryResponse.Builder (3.57.0)

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

Batch get assets history response.

Protobuf type google.cloud.asset.v1p2beta1.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.v1p2beta1.TemporalAsset assets = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.TemporalAsset assets = 1;

Parameter
Name Description
index int
Returns
Type Description
TemporalAsset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchGetAssetsHistoryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder
Overrides

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.v1p2beta1.TemporalAsset assets = 1;

Returns
Type Description
BatchGetAssetsHistoryResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public BatchGetAssetsHistoryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchGetAssetsHistoryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder
Overrides

clone()

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

getAssets(int index)

public TemporalAsset getAssets(int index)

A list of assets with valid time windows.

repeated .google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.TemporalAsset assets = 1;

Returns
Type Description
List<Builder>

getAssetsCount()

public int getAssetsCount()

A list of assets with valid time windows.

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

Returns
Type Description
int

getAssetsList()

public List<TemporalAsset> getAssetsList()

A list of assets with valid time windows.

repeated .google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.TemporalAsset assets = 1;

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

getDefaultInstanceForType()

public BatchGetAssetsHistoryResponse getDefaultInstanceForType()
Returns
Type Description
BatchGetAssetsHistoryResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetAssetsHistoryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.TemporalAsset assets = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

public BatchGetAssetsHistoryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchGetAssetsHistoryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetAssetsHistoryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchGetAssetsHistoryResponse.Builder
Overrides