Class AssetStatus.Builder (1.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AssetStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AssetStatus.Builder
Overrides

build()

public AssetStatus build()
Returns
TypeDescription
AssetStatus

buildPartial()

public AssetStatus buildPartial()
Returns
TypeDescription
AssetStatus

clear()

public AssetStatus.Builder clear()
Returns
TypeDescription
AssetStatus.Builder
Overrides

clearActiveAssets()

public AssetStatus.Builder clearActiveAssets()

Number of active assets.

int32 active_assets = 2;

Returns
TypeDescription
AssetStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AssetStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AssetStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AssetStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AssetStatus.Builder

This builder for chaining.

clearUpdateTime()

public AssetStatus.Builder clearUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
AssetStatus.Builder

clone()

public AssetStatus.Builder clone()
Returns
TypeDescription
AssetStatus.Builder
Overrides

getActiveAssets()

public int getActiveAssets()

Number of active assets.

int32 active_assets = 2;

Returns
TypeDescription
int

The activeAssets.

getDefaultInstanceForType()

public AssetStatus getDefaultInstanceForType()
Returns
TypeDescription
AssetStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
int

The securityPolicyApplyingAssets.

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AssetStatus other)

public AssetStatus.Builder mergeFrom(AssetStatus other)
Parameter
NameDescription
otherAssetStatus
Returns
TypeDescription
AssetStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AssetStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssetStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AssetStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AssetStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssetStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
AssetStatus.Builder

setActiveAssets(int value)

public AssetStatus.Builder setActiveAssets(int value)

Number of active assets.

int32 active_assets = 2;

Parameter
NameDescription
valueint

The activeAssets to set.

Returns
TypeDescription
AssetStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AssetStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AssetStatus.Builder
Overrides

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

public AssetStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The securityPolicyApplyingAssets to set.

Returns
TypeDescription
AssetStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AssetStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
AssetStatus.Builder