Class AssetStatus.Builder (1.49.0)

public static final class AssetStatus.Builder extends GeneratedMessageV3.Builder<AssetStatus.Builder> implements AssetStatusOrBuilder

Aggregated status of the underlying assets of a lake or zone.

Protobuf type google.cloud.dataplex.v1.AssetStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AssetStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssetStatus.Builder
Overrides

build()

public AssetStatus build()
Returns
Type Description
AssetStatus

buildPartial()

public AssetStatus buildPartial()
Returns
Type Description
AssetStatus

clear()

public AssetStatus.Builder clear()
Returns
Type Description
AssetStatus.Builder
Overrides

clearActiveAssets()

public AssetStatus.Builder clearActiveAssets()

Number of active assets.

int32 active_assets = 2;

Returns
Type Description
AssetStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AssetStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AssetStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AssetStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AssetStatus.Builder
Overrides

clearSecurityPolicyApplyingAssets()

public AssetStatus.Builder clearSecurityPolicyApplyingAssets()

Number of assets that are in process of updating the security policy on attached resources.

int32 security_policy_applying_assets = 3;

Returns
Type Description
AssetStatus.Builder

This builder for chaining.

clearUpdateTime()

public AssetStatus.Builder clearUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
AssetStatus.Builder

clone()

public AssetStatus.Builder clone()
Returns
Type Description
AssetStatus.Builder
Overrides

getActiveAssets()

public int getActiveAssets()

Number of active assets.

int32 active_assets = 2;

Returns
Type Description
int

The activeAssets.

getDefaultInstanceForType()

public AssetStatus getDefaultInstanceForType()
Returns
Type Description
AssetStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSecurityPolicyApplyingAssets()

public int getSecurityPolicyApplyingAssets()

Number of assets that are in process of updating the security policy on attached resources.

int32 security_policy_applying_assets = 3;

Returns
Type Description
int

The securityPolicyApplyingAssets.

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AssetStatus other)

public AssetStatus.Builder mergeFrom(AssetStatus other)
Parameter
Name Description
other AssetStatus
Returns
Type Description
AssetStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AssetStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssetStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AssetStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AssetStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssetStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssetStatus.Builder
Overrides

mergeUpdateTime(Timestamp value)

public AssetStatus.Builder mergeUpdateTime(Timestamp value)

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
AssetStatus.Builder

setActiveAssets(int value)

public AssetStatus.Builder setActiveAssets(int value)

Number of active assets.

int32 active_assets = 2;

Parameter
Name Description
value int

The activeAssets to set.

Returns
Type Description
AssetStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AssetStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssetStatus.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AssetStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AssetStatus.Builder
Overrides

setSecurityPolicyApplyingAssets(int value)

public AssetStatus.Builder setSecurityPolicyApplyingAssets(int value)

Number of assets that are in process of updating the security policy on attached resources.

int32 security_policy_applying_assets = 3;

Parameter
Name Description
value int

The securityPolicyApplyingAssets to set.

Returns
Type Description
AssetStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AssetStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssetStatus.Builder
Overrides

setUpdateTime(Timestamp value)

public AssetStatus.Builder setUpdateTime(Timestamp value)

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
AssetStatus.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AssetStatus.Builder setUpdateTime(Timestamp.Builder builderForValue)

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AssetStatus.Builder