public static final class TemporalAsset.Builder extends GeneratedMessageV3.Builder<TemporalAsset.Builder> implements TemporalAssetOrBuilder
Temporal asset. In addition to the asset, the temporal asset includes the status of the asset and valid from and to time of it.Protobuf type
google.cloud.asset.v1p2beta1.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.v1p2beta1.TimeWindow window = 1;
hasWindow
in interface TemporalAssetOrBuilder
public TimeWindow getWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.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.v1p2beta1.TimeWindow window = 1;
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;
public TemporalAsset.Builder mergeWindow(TimeWindow value)
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
public TemporalAsset.Builder clearWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
public TimeWindow.Builder getWindowBuilder()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
public TimeWindowOrBuilder getWindowOrBuilder()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
getWindowOrBuilder
in interface TemporalAssetOrBuilder
public boolean getDeleted()
If the asset is deleted or not.
bool deleted = 2;
getDeleted
in interface TemporalAssetOrBuilder
public TemporalAsset.Builder setDeleted(boolean value)
If the asset is deleted or not.
bool deleted = 2;
value
- The deleted to set.public TemporalAsset.Builder clearDeleted()
If the asset is deleted or not.
bool deleted = 2;
public boolean hasAsset()
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
hasAsset
in interface TemporalAssetOrBuilder
public Asset getAsset()
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
getAsset
in interface TemporalAssetOrBuilder
public TemporalAsset.Builder setAsset(Asset value)
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
public TemporalAsset.Builder setAsset(Asset.Builder builderForValue)
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
public TemporalAsset.Builder mergeAsset(Asset value)
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
public TemporalAsset.Builder clearAsset()
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
public Asset.Builder getAssetBuilder()
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
public AssetOrBuilder getAssetOrBuilder()
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
getAssetOrBuilder
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.