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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Aspect.Builder newBuilder()
newBuilder(Aspect prototype)
public static Aspect.Builder newBuilder(Aspect prototype)
Parameter |
---|
Name | Description |
prototype | Aspect
|
public static Aspect parseDelimitedFrom(InputStream input)
public static Aspect parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Aspect parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Aspect parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Aspect parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Aspect parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Aspect parseFrom(CodedInputStream input)
public static Aspect parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Aspect parseFrom(InputStream input)
public static Aspect parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Aspect parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Aspect parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Aspect> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAspectSource()
public AspectSource getAspectSource()
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
getAspectSourceOrBuilder()
public AspectSourceOrBuilder getAspectSourceOrBuilder()
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
getDefaultInstanceForType()
public Aspect getDefaultInstanceForType()
getParserForType()
public Parser<Aspect> getParserForType()
Overrides
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];
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()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Aspect.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Aspect.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Aspect.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides