- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TemporalAsset.BuilderImplements
TemporalAssetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TemporalAsset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
build()
public TemporalAsset build()
Returns | |
---|---|
Type | Description |
TemporalAsset |
buildPartial()
public TemporalAsset buildPartial()
Returns | |
---|---|
Type | Description |
TemporalAsset |
clear()
public TemporalAsset.Builder clear()
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
clearAsset()
public TemporalAsset.Builder clearAsset()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
clearDeleted()
public TemporalAsset.Builder clearDeleted()
Whether the asset has been deleted or not.
bool deleted = 2;
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TemporalAsset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TemporalAsset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
clearPriorAsset()
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;
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
clearPriorAssetState()
public TemporalAsset.Builder clearPriorAssetState()
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
This builder for chaining. |
clearWindow()
public TemporalAsset.Builder clearWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
clone()
public TemporalAsset.Builder clone()
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
getAsset()
public Asset getAsset()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
Returns | |
---|---|
Type | Description |
Asset |
The asset. |
getAssetBuilder()
public Asset.Builder getAssetBuilder()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
Returns | |
---|---|
Type | Description |
Asset.Builder |
getAssetOrBuilder()
public AssetOrBuilder getAssetOrBuilder()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
Returns | |
---|---|
Type | Description |
AssetOrBuilder |
getDefaultInstanceForType()
public TemporalAsset getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TemporalAsset |
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()
Returns | |
---|---|
Type | Description |
Descriptor |
getPriorAsset()
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;
Returns | |
---|---|
Type | Description |
Asset |
The priorAsset. |
getPriorAssetBuilder()
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;
Returns | |
---|---|
Type | Description |
Asset.Builder |
getPriorAssetOrBuilder()
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;
Returns | |
---|---|
Type | Description |
AssetOrBuilder |
getPriorAssetState()
public TemporalAsset.PriorAssetState getPriorAssetState()
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
Returns | |
---|---|
Type | Description |
TemporalAsset.PriorAssetState |
The priorAssetState. |
getPriorAssetStateValue()
public int getPriorAssetStateValue()
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for priorAssetState. |
getWindow()
public TimeWindow getWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
Returns | |
---|---|
Type | Description |
TimeWindow |
The window. |
getWindowBuilder()
public TimeWindow.Builder getWindowBuilder()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
Returns | |
---|---|
Type | Description |
TimeWindow.Builder |
getWindowOrBuilder()
public TimeWindowOrBuilder getWindowOrBuilder()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
Returns | |
---|---|
Type | Description |
TimeWindowOrBuilder |
hasAsset()
public boolean hasAsset()
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the asset field is set. |
hasPriorAsset()
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the priorAsset field is set. |
hasWindow()
public boolean hasWindow()
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the window field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAsset(Asset value)
public TemporalAsset.Builder mergeAsset(Asset value)
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
Parameter | |
---|---|
Name | Description |
value |
Asset |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
mergeFrom(TemporalAsset other)
public TemporalAsset.Builder mergeFrom(TemporalAsset other)
Parameter | |
---|---|
Name | Description |
other |
TemporalAsset |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TemporalAsset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TemporalAsset.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
mergePriorAsset(Asset value)
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;
Parameter | |
---|---|
Name | Description |
value |
Asset |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TemporalAsset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
mergeWindow(TimeWindow value)
public TemporalAsset.Builder mergeWindow(TimeWindow value)
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
Parameter | |
---|---|
Name | Description |
value |
TimeWindow |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
setAsset(Asset value)
public TemporalAsset.Builder setAsset(Asset value)
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
Parameter | |
---|---|
Name | Description |
value |
Asset |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
setAsset(Asset.Builder builderForValue)
public TemporalAsset.Builder setAsset(Asset.Builder builderForValue)
An asset in Google Cloud.
.google.cloud.asset.v1.Asset asset = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Asset.Builder |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
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. |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TemporalAsset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
setPriorAsset(Asset value)
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;
Parameter | |
---|---|
Name | Description |
value |
Asset |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
setPriorAsset(Asset.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Asset.Builder |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
setPriorAssetState(TemporalAsset.PriorAssetState value)
public TemporalAsset.Builder setPriorAssetState(TemporalAsset.PriorAssetState value)
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
Parameter | |
---|---|
Name | Description |
value |
TemporalAsset.PriorAssetState The priorAssetState to set. |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
This builder for chaining. |
setPriorAssetStateValue(int value)
public TemporalAsset.Builder setPriorAssetStateValue(int value)
State of prior_asset.
.google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for priorAssetState to set. |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TemporalAsset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TemporalAsset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
setWindow(TimeWindow value)
public TemporalAsset.Builder setWindow(TimeWindow value)
The time window when the asset data and state was observed.
.google.cloud.asset.v1.TimeWindow window = 1;
Parameter | |
---|---|
Name | Description |
value |
TimeWindow |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |
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.v1.TimeWindow window = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
TimeWindow.Builder |
Returns | |
---|---|
Type | Description |
TemporalAsset.Builder |