Send feedback
Class TemporalAsset.Builder (3.60.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class TemporalAsset . Builder extends GeneratedMessageV3 . Builder<TemporalAsset . Builder > implements TemporalAssetOrBuilder
An asset in Google Cloud and its temporal metadata, including the time window
when it was observed and its status during that window.
Protobuf type google.cloud.asset.v1p2beta1.TemporalAsset
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TemporalAsset . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public TemporalAsset build ()
buildPartial()
public TemporalAsset buildPartial ()
clear()
public TemporalAsset . Builder clear ()
Overrides
clearAsset()
public TemporalAsset . Builder clearAsset ()
An asset in Google Cloud.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
clearDeleted()
public TemporalAsset . Builder clearDeleted ()
Whether the asset has been deleted or not.
bool deleted = 2;
clearField(Descriptors.FieldDescriptor field)
public TemporalAsset . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TemporalAsset . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearWindow()
public TemporalAsset . Builder clearWindow ()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
clone()
public TemporalAsset . Builder clone ()
Overrides
getAsset()
An asset in Google Cloud.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Returns
Type
Description
Asset
The asset.
getAssetBuilder()
public Asset . Builder getAssetBuilder ()
An asset in Google Cloud.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
getAssetOrBuilder()
public AssetOrBuilder getAssetOrBuilder ()
An asset in Google Cloud.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
getDefaultInstanceForType()
public TemporalAsset getDefaultInstanceForType ()
getDeleted()
public boolean getDeleted ()
Whether the asset has been deleted or not.
bool deleted = 2;
Returns
Type
Description
boolean
The deleted.
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getWindow()
public TimeWindow getWindow ()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
getWindowBuilder()
public TimeWindow . Builder getWindowBuilder ()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
getWindowOrBuilder()
public TimeWindowOrBuilder getWindowOrBuilder ()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
hasAsset()
public boolean hasAsset ()
An asset in Google Cloud.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Returns
Type
Description
boolean
Whether the asset field is set.
hasWindow()
public boolean hasWindow ()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
Returns
Type
Description
boolean
Whether the window field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeAsset(Asset value)
public TemporalAsset . Builder mergeAsset ( Asset value )
An asset in Google Cloud.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Parameter
Name
Description
value
Asset
mergeFrom(TemporalAsset other)
public TemporalAsset . Builder mergeFrom ( TemporalAsset other )
public TemporalAsset . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public TemporalAsset . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TemporalAsset . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
mergeWindow(TimeWindow value)
public TemporalAsset . Builder mergeWindow ( TimeWindow value )
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
setAsset(Asset value)
public TemporalAsset . Builder setAsset ( Asset value )
An asset in Google Cloud.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Parameter
Name
Description
value
Asset
setAsset(Asset.Builder builderForValue)
public TemporalAsset . Builder setAsset ( Asset . Builder builderForValue )
An asset in Google Cloud.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
setDeleted(boolean value)
public TemporalAsset . Builder setDeleted ( boolean value )
Whether the asset has been deleted or not.
bool deleted = 2;
Parameter
Name
Description
value
boolean
The deleted to set.
setField(Descriptors.FieldDescriptor field, Object value)
public TemporalAsset . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TemporalAsset . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TemporalAsset . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setWindow(TimeWindow value)
public TemporalAsset . Builder setWindow ( TimeWindow value )
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
setWindow(TimeWindow.Builder builderForValue)
public TemporalAsset . Builder setWindow ( TimeWindow . Builder builderForValue )
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]