Class BatchGetAssetsHistoryResponse.Builder (3.4.0)

public static final class BatchGetAssetsHistoryResponse.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1.TemporalAsset>
Returns
TypeDescription
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
NameDescription
valueTemporalAsset
Returns
TypeDescription
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
NameDescription
builderForValueTemporalAsset.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTemporalAsset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTemporalAsset.Builder
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder

addAssetsBuilder()

public TemporalAsset.Builder addAssetsBuilder()

A list of assets with valid time windows.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TemporalAsset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchGetAssetsHistoryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder
Overrides

build()

public BatchGetAssetsHistoryResponse build()
Returns
TypeDescription
BatchGetAssetsHistoryResponse

buildPartial()

public BatchGetAssetsHistoryResponse buildPartial()
Returns
TypeDescription
BatchGetAssetsHistoryResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchGetAssetsHistoryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchGetAssetsHistoryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder
Overrides

clone()

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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchGetAssetsHistoryResponse other)

public BatchGetAssetsHistoryResponse.Builder mergeFrom(BatchGetAssetsHistoryResponse other)
Parameter
NameDescription
otherBatchGetAssetsHistoryResponse
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchGetAssetsHistoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchGetAssetsHistoryResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetAssetsHistoryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueTemporalAsset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTemporalAsset.Builder
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchGetAssetsHistoryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder
Overrides

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

public BatchGetAssetsHistoryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetAssetsHistoryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchGetAssetsHistoryResponse.Builder
Overrides