Class Asset.ResourceStatus (1.1.1)

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

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_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 Asset.ResourceStatus getDefaultInstance()
Returns
TypeDescription
Asset.ResourceStatus

getDescriptor()

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

newBuilder()

public static Asset.ResourceStatus.Builder newBuilder()
Returns
TypeDescription
Asset.ResourceStatus.Builder

newBuilder(Asset.ResourceStatus prototype)

public static Asset.ResourceStatus.Builder newBuilder(Asset.ResourceStatus prototype)
Parameter
NameDescription
prototypeAsset.ResourceStatus
Returns
TypeDescription
Asset.ResourceStatus.Builder

parseDelimitedFrom(InputStream input)

public static Asset.ResourceStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Asset.ResourceStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Asset.ResourceStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Asset.ResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Asset.ResourceStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Asset.ResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Asset.ResourceStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Asset.ResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Asset.ResourceStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Asset.ResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Asset.ResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
Asset.ResourceStatus

getMessage()

public String getMessage()

Additional information about the current state.

string message = 2;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Additional information about the current state.

string message = 2;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

public Parser<Asset.ResourceStatus> getParserForType()
Returns
TypeDescription
Parser<ResourceStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

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 Asset.ResourceStatus.Builder newBuilderForType()
Returns
TypeDescription
Asset.ResourceStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Asset.ResourceStatus.Builder toBuilder()
Returns
TypeDescription
Asset.ResourceStatus.Builder

writeTo(CodedOutputStream output)

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