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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addAssetsBuilder()
public TemporalAsset.Builder addAssetsBuilder()
A list of assets with valid time windows.
repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
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
|
build()
public BatchGetAssetsHistoryResponse build()
buildPartial()
public BatchGetAssetsHistoryResponse buildPartial()
clear()
public BatchGetAssetsHistoryResponse.Builder clear()
Overrides
clearAssets()
public BatchGetAssetsHistoryResponse.Builder clearAssets()
A list of assets with valid time windows.
repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
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
|
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
|
getAssetsBuilderList()
public List<TemporalAsset.Builder> getAssetsBuilderList()
A list of assets with valid time windows.
repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchGetAssetsHistoryResponse other)
public BatchGetAssetsHistoryResponse.Builder mergeFrom(BatchGetAssetsHistoryResponse other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchGetAssetsHistoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchGetAssetsHistoryResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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;
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;