Class Aspect (1.37.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
TypeDescription
int

ASPECT_TYPE_FIELD_NUMBER

public static final int ASPECT_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_FIELD_NUMBER

public static final int DATA_FIELD_NUMBER
Field Value
TypeDescription
int

PATH_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(Aspect prototype)

public static Aspect.Builder newBuilder(Aspect prototype)
Parameter
NameDescription
prototypeAspect
Returns
TypeDescription
Aspect.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAspectSource()

public AspectSource getAspectSource()

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

Returns
TypeDescription
AspectSource

The aspectSource.

getAspectSourceOrBuilder()

public AspectSourceOrBuilder getAspectSourceOrBuilder()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public Aspect getDefaultInstanceForType()
Returns
TypeDescription
Aspect

getParserForType()

public Parser<Aspect> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for path.

getSerializedSize()

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

hasAspectSource()

public boolean hasAspectSource()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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