Class Asset.ResourceStatus (1.40.0)

public static final class Asset.ResourceStatus extends GeneratedMessageV3 implements Asset.ResourceStatusOrBuilder

Status of the resource referenced by an asset.

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

Static Fields

MANAGED_ACCESS_IDENTITY_FIELD_NUMBER

public static final int MANAGED_ACCESS_IDENTITY_FIELD_NUMBER
Field Value
Type Description
int

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.ResourceStatus getDefaultInstance()
Returns
Type Description
Asset.ResourceStatus

getDescriptor()

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

newBuilder()

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

newBuilder(Asset.ResourceStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getManagedAccessIdentity()

public String getManagedAccessIdentity()

Output only. Service account associated with the BigQuery Connection.

string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The managedAccessIdentity.

getManagedAccessIdentityBytes()

public ByteString getManagedAccessIdentityBytes()

Output only. Service account associated with the BigQuery Connection.

string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for managedAccessIdentity.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public Asset.ResourceStatus.State getState()

The current state of the managed resource.

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

Returns
Type Description
Asset.ResourceStatus.State

The state.

getStateValue()

public int getStateValue()

The current state of the managed resource.

.google.cloud.dataplex.v1.Asset.ResourceStatus.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.ResourceStatus.Builder newBuilderForType()
Returns
Type Description
Asset.ResourceStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Asset.ResourceStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Asset.ResourceStatus.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.ResourceStatus.Builder toBuilder()
Returns
Type Description
Asset.ResourceStatus.Builder

writeTo(CodedOutputStream output)

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