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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TemporalAsset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TemporalAsset build()
Returns
buildPartial()
public TemporalAsset buildPartial()
Returns
clear()
public TemporalAsset.Builder clear()
Returns
Overrides
clearAsset()
public TemporalAsset.Builder clearAsset()
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Returns
clearDeleted()
public TemporalAsset.Builder clearDeleted()
If the asset is deleted or not.
bool deleted = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public TemporalAsset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TemporalAsset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWindow()
public TemporalAsset.Builder clearWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
Returns
clone()
public TemporalAsset.Builder clone()
Returns
Overrides
getAsset()
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Returns
Type | Description |
Asset | The asset.
|
getAssetBuilder()
public Asset.Builder getAssetBuilder()
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Returns
getAssetOrBuilder()
public AssetOrBuilder getAssetOrBuilder()
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Returns
getDefaultInstanceForType()
public TemporalAsset getDefaultInstanceForType()
Returns
getDeleted()
public boolean getDeleted()
If the asset is deleted or not.
bool deleted = 2;
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getWindow()
public TimeWindow getWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
Returns
getWindowBuilder()
public TimeWindow.Builder getWindowBuilder()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
Returns
getWindowOrBuilder()
public TimeWindowOrBuilder getWindowOrBuilder()
The time window when the asset data and state was observed.
.google.cloud.asset.v1p2beta1.TimeWindow window = 1;
Returns
hasAsset()
public boolean hasAsset()
Asset.
.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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAsset(Asset value)
public TemporalAsset.Builder mergeAsset(Asset value)
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Parameter
Name | Description |
value | Asset
|
Returns
mergeFrom(TemporalAsset other)
public TemporalAsset.Builder mergeFrom(TemporalAsset other)
Parameter
Returns
public TemporalAsset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TemporalAsset.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TemporalAsset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
setAsset(Asset value)
public TemporalAsset.Builder setAsset(Asset value)
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Parameter
Name | Description |
value | Asset
|
Returns
setAsset(Asset.Builder builderForValue)
public TemporalAsset.Builder setAsset(Asset.Builder builderForValue)
Asset.
.google.cloud.asset.v1p2beta1.Asset asset = 3;
Parameter
Returns
setDeleted(boolean value)
public TemporalAsset.Builder setDeleted(boolean value)
If the asset is deleted or not.
bool deleted = 2;
Parameter
Name | Description |
value | boolean
The deleted to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TemporalAsset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TemporalAsset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TemporalAsset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns