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
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
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
Returns
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
Returns
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
Returns
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
Returns
addAssetsBuilder()
public TemporalAsset.Builder addAssetsBuilder()
A list of assets with valid time windows.
repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchGetAssetsHistoryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BatchGetAssetsHistoryResponse build()
Returns
buildPartial()
public BatchGetAssetsHistoryResponse buildPartial()
Returns
clear()
public BatchGetAssetsHistoryResponse.Builder clear()
Returns
Overrides
clearAssets()
public BatchGetAssetsHistoryResponse.Builder clearAssets()
A list of assets with valid time windows.
repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public BatchGetAssetsHistoryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchGetAssetsHistoryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public BatchGetAssetsHistoryResponse.Builder clone()
Returns
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
Returns
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
Returns
getAssetsBuilderList()
public List<TemporalAsset.Builder> getAssetsBuilderList()
A list of assets with valid time windows.
repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
Returns
getAssetsCount()
public int getAssetsCount()
A list of assets with valid time windows.
repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
Returns
getAssetsList()
public List<TemporalAsset> getAssetsList()
A list of assets with valid time windows.
repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
Returns
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
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchGetAssetsHistoryResponse other)
public BatchGetAssetsHistoryResponse.Builder mergeFrom(BatchGetAssetsHistoryResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchGetAssetsHistoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchGetAssetsHistoryResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetAssetsHistoryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchGetAssetsHistoryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchGetAssetsHistoryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetAssetsHistoryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides