Class Aspect (1.45.0)

public final class Aspect extends GeneratedMessageV3 implements AspectOrBuilder

An aspect is a single piece of metadata describing an entry.

Protobuf type google.cloud.dataplex.v1.Aspect

Implements

AspectOrBuilder

Static Fields

ASPECT_SOURCE_FIELD_NUMBER

public static final int ASPECT_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

ASPECT_TYPE_FIELD_NUMBER

public static final int ASPECT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DATA_FIELD_NUMBER

public static final int DATA_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_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 Aspect getDefaultInstance()
Returns
Type Description
Aspect

getDescriptor()

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

newBuilder()

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

newBuilder(Aspect prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAspectSource()

public AspectSource getAspectSource()

.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AspectSource

The aspectSource.

getAspectSourceOrBuilder()

public AspectSourceOrBuilder getAspectSourceOrBuilder()

.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AspectSourceOrBuilder

getAspectType()

public String getAspectType()

Output only. The resource name of the type used to create this Aspect.

string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The aspectType.

getAspectTypeBytes()

public ByteString getAspectTypeBytes()

Output only. The resource name of the type used to create this Aspect.

string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for aspectType.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the Aspect was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the Aspect was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getData()

public Struct getData()

Required. The content of the aspect, according to its aspect type schema. This will replace content. The maximum size of the field is 120KB (encoded as UTF-8).

.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Struct

The data.

getDataOrBuilder()

public StructOrBuilder getDataOrBuilder()

Required. The content of the aspect, according to its aspect type schema. This will replace content. The maximum size of the field is 120KB (encoded as UTF-8).

.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public Aspect getDefaultInstanceForType()
Returns
Type Description
Aspect

getParserForType()

public Parser<Aspect> getParserForType()
Returns
Type Description
Parser<Aspect>
Overrides

getPath()

public String getPath()

Output only. The path in the entry under which the aspect is attached.

string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Output only. The path in the entry under which the aspect is attached.

string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time when the Aspect was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the Aspect was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasAspectSource()

public boolean hasAspectSource()

.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the aspectSource field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the Aspect was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasData()

public boolean hasData()

Required. The content of the aspect, according to its aspect type schema. This will replace content. The maximum size of the field is 120KB (encoded as UTF-8).

.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the data field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time when the Aspect was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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