Class AssetStatus (1.40.0)

public final class AssetStatus extends GeneratedMessageV3 implements AssetStatusOrBuilder

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

Protobuf type google.cloud.dataplex.v1.AssetStatus

Static Fields

ACTIVE_ASSETS_FIELD_NUMBER

public static final int ACTIVE_ASSETS_FIELD_NUMBER
Field Value
Type Description
int

SECURITY_POLICY_APPLYING_ASSETS_FIELD_NUMBER

public static final int SECURITY_POLICY_APPLYING_ASSETS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AssetStatus getDefaultInstance()
Returns
Type Description
AssetStatus

getDescriptor()

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

newBuilder()

public static AssetStatus.Builder newBuilder()
Returns
Type Description
AssetStatus.Builder

newBuilder(AssetStatus prototype)

public static AssetStatus.Builder newBuilder(AssetStatus prototype)
Parameter
Name Description
prototype AssetStatus
Returns
Type Description
AssetStatus.Builder

parseDelimitedFrom(InputStream input)

public static AssetStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AssetStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssetStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AssetStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AssetStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssetStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AssetStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AssetStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssetStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AssetStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AssetStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssetStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AssetStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AssetStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssetStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AssetStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AssetStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssetStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AssetStatus> parser()
Returns
Type Description
Parser<AssetStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<AssetStatus> getParserForType()
Returns
Type Description
Parser<AssetStatus>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
Timestamp

The updateTime.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AssetStatus.Builder newBuilderForType()
Returns
Type Description
AssetStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AssetStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AssetStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AssetStatus.Builder toBuilder()
Returns
Type Description
AssetStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException