Class AssetStatus (1.18.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
TypeDescription
int

SECURITY_POLICY_APPLYING_ASSETS_FIELD_NUMBER

public static final int SECURITY_POLICY_APPLYING_ASSETS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AssetStatus getDefaultInstance()
Returns
TypeDescription
AssetStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AssetStatus.Builder newBuilder()
Returns
TypeDescription
AssetStatus.Builder

newBuilder(AssetStatus prototype)

public static AssetStatus.Builder newBuilder(AssetStatus prototype)
Parameter
NameDescription
prototypeAssetStatus
Returns
TypeDescription
AssetStatus.Builder

parseDelimitedFrom(InputStream input)

public static AssetStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AssetStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AssetStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AssetStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AssetStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AssetStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AssetStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssetStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AssetStatus> parser()
Returns
TypeDescription
Parser<AssetStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<AssetStatus> getParserForType()
Returns
TypeDescription
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
TypeDescription
int

The securityPolicyApplyingAssets.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
Timestamp

The updateTime.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AssetStatus.Builder newBuilderForType()
Returns
TypeDescription
AssetStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AssetStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AssetStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AssetStatus.Builder toBuilder()
Returns
TypeDescription
AssetStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException