Class Asset.SecurityStatus (1.49.0)

public static final class Asset.SecurityStatus extends GeneratedMessageV3 implements Asset.SecurityStatusOrBuilder

Security policy status of the asset. Data security policy, i.e., readers, writers & owners, should be specified in the lake/zone/asset IAM policy.

Protobuf type google.cloud.dataplex.v1.Asset.SecurityStatus

Static Fields

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_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 Asset.SecurityStatus getDefaultInstance()
Returns
Type Description
Asset.SecurityStatus

getDescriptor()

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

newBuilder()

public static Asset.SecurityStatus.Builder newBuilder()
Returns
Type Description
Asset.SecurityStatus.Builder

newBuilder(Asset.SecurityStatus prototype)

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

parseDelimitedFrom(InputStream input)

public static Asset.SecurityStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Asset.SecurityStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Asset.SecurityStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Asset.SecurityStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Asset.SecurityStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Asset.SecurityStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Asset.SecurityStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Asset.SecurityStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Asset.SecurityStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Asset.SecurityStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Asset.SecurityStatus> parser()
Returns
Type Description
Parser<SecurityStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Asset.SecurityStatus getDefaultInstanceForType()
Returns
Type Description
Asset.SecurityStatus

getMessage()

public String getMessage()

Additional information about the current state.

string message = 2;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Additional information about the current state.

string message = 2;

Returns
Type Description
ByteString

The bytes for message.

getParserForType()

public Parser<Asset.SecurityStatus> getParserForType()
Returns
Type Description
Parser<SecurityStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public Asset.SecurityStatus.State getState()

The current state of the security policy applied to the attached resource.

.google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1;

Returns
Type Description
Asset.SecurityStatus.State

The state.

getStateValue()

public int getStateValue()

The current state of the security policy applied to the attached resource.

.google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

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 Asset.SecurityStatus.Builder newBuilderForType()
Returns
Type Description
Asset.SecurityStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Asset.SecurityStatus.Builder toBuilder()
Returns
Type Description
Asset.SecurityStatus.Builder

writeTo(CodedOutputStream output)

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