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.v1.TemporalAsset
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public TemporalAsset.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public TemporalAsset getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public TemporalAsset build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public TemporalAsset buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public TemporalAsset.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public TemporalAsset.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public TemporalAsset.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public TemporalAsset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public TemporalAsset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public TemporalAsset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public TemporalAsset.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<TemporalAsset.Builder>
public TemporalAsset.Builder mergeFrom(TemporalAsset other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public TemporalAsset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<TemporalAsset.Builder>
IOException
public boolean hasWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
hasWindow
in interface TemporalAssetOrBuilder
public TimeWindow getWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
getWindow
in interface TemporalAssetOrBuilder
public TemporalAsset.Builder setWindow(TimeWindow value)
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
public TemporalAsset.Builder setWindow(TimeWindow.Builder builderForValue)
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
public TemporalAsset.Builder mergeWindow(TimeWindow value)
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
public TemporalAsset.Builder clearWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
public TimeWindow.Builder getWindowBuilder()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
public TimeWindowOrBuilder getWindowOrBuilder()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
getWindowOrBuilder
in interface TemporalAssetOrBuilder
public boolean getDeleted()
Whether the asset has been deleted or not.
bool deleted = 2;
getDeleted
in interface TemporalAssetOrBuilder
public TemporalAsset.Builder setDeleted(boolean value)
Whether the asset has been deleted or not.
bool deleted = 2;
value
- The deleted to set.public TemporalAsset.Builder clearDeleted()
Whether the asset has been deleted or not.
bool deleted = 2;
public boolean hasAsset()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
hasAsset
in interface TemporalAssetOrBuilder
public Asset getAsset()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
getAsset
in interface TemporalAssetOrBuilder
public TemporalAsset.Builder setAsset(Asset value)
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
public TemporalAsset.Builder setAsset(Asset.Builder builderForValue)
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
public TemporalAsset.Builder mergeAsset(Asset value)
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
public TemporalAsset.Builder clearAsset()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
public Asset.Builder getAssetBuilder()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
public AssetOrBuilder getAssetOrBuilder()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
getAssetOrBuilder
in interface TemporalAssetOrBuilder
public int getPriorAssetStateValue()
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
getPriorAssetStateValue
in interface TemporalAssetOrBuilder
public TemporalAsset.Builder setPriorAssetStateValue(int value)
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
value
- The enum numeric value on the wire for priorAssetState to set.public TemporalAsset.PriorAssetState getPriorAssetState()
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
getPriorAssetState
in interface TemporalAssetOrBuilder
public TemporalAsset.Builder setPriorAssetState(TemporalAsset.PriorAssetState value)
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
value
- The priorAssetState to set.public TemporalAsset.Builder clearPriorAssetState()
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
public boolean hasPriorAsset()
Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed.
.google.cloud.asset.v1.Asset prior_asset = 5;
hasPriorAsset
in interface TemporalAssetOrBuilder
public Asset getPriorAsset()
Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed.
.google.cloud.asset.v1.Asset prior_asset = 5;
getPriorAsset
in interface TemporalAssetOrBuilder
public TemporalAsset.Builder setPriorAsset(Asset value)
Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed.
.google.cloud.asset.v1.Asset prior_asset = 5;
public TemporalAsset.Builder setPriorAsset(Asset.Builder builderForValue)
Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed.
.google.cloud.asset.v1.Asset prior_asset = 5;
public TemporalAsset.Builder mergePriorAsset(Asset value)
Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed.
.google.cloud.asset.v1.Asset prior_asset = 5;
public TemporalAsset.Builder clearPriorAsset()
Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed.
.google.cloud.asset.v1.Asset prior_asset = 5;
public Asset.Builder getPriorAssetBuilder()
Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed.
.google.cloud.asset.v1.Asset prior_asset = 5;
public AssetOrBuilder getPriorAssetOrBuilder()
Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed.
.google.cloud.asset.v1.Asset prior_asset = 5;
getPriorAssetOrBuilder
in interface TemporalAssetOrBuilder
public final TemporalAsset.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
public final TemporalAsset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<TemporalAsset.Builder>
Copyright © 2022 Google LLC. All rights reserved.