Class Aspect.Builder (1.52.0)

public static final class Aspect.Builder extends GeneratedMessageV3.Builder<Aspect.Builder> implements AspectOrBuilder

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

Protobuf type google.cloud.dataplex.v1.Aspect

Implements

AspectOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Aspect.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Aspect.Builder
Overrides

build()

public Aspect build()
Returns
Type Description
Aspect

buildPartial()

public Aspect buildPartial()
Returns
Type Description
Aspect

clear()

public Aspect.Builder clear()
Returns
Type Description
Aspect.Builder
Overrides

clearAspectSource()

public Aspect.Builder clearAspectSource()

Optional. Information related to the source system of the aspect.

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

Returns
Type Description
Aspect.Builder

clearAspectType()

public Aspect.Builder clearAspectType()

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
Aspect.Builder

This builder for chaining.

clearCreateTime()

public Aspect.Builder clearCreateTime()

Output only. The time when the Aspect was created.

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

Returns
Type Description
Aspect.Builder

clearData()

public Aspect.Builder clearData()

Required. The content of the aspect, according to its aspect type schema. 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
Aspect.Builder

clearField(Descriptors.FieldDescriptor field)

public Aspect.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Aspect.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Aspect.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Aspect.Builder
Overrides

clearPath()

public Aspect.Builder clearPath()

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
Aspect.Builder

This builder for chaining.

clearUpdateTime()

public Aspect.Builder clearUpdateTime()

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
Aspect.Builder

clone()

public Aspect.Builder clone()
Returns
Type Description
Aspect.Builder
Overrides

getAspectSource()

public AspectSource getAspectSource()

Optional. Information related to the source system of the aspect.

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

Returns
Type Description
AspectSource

The aspectSource.

getAspectSourceBuilder()

public AspectSource.Builder getAspectSourceBuilder()

Optional. Information related to the source system of the aspect.

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

Returns
Type Description
AspectSource.Builder

getAspectSourceOrBuilder()

public AspectSourceOrBuilder getAspectSourceOrBuilder()

Optional. Information related to the source system of the aspect.

.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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the Aspect was created.

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

Returns
Type Description
Builder

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. 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.

getDataBuilder()

public Struct.Builder getDataBuilder()

Required. The content of the aspect, according to its aspect type schema. 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
Builder

getDataOrBuilder()

public StructOrBuilder getDataOrBuilder()

Required. The content of the aspect, according to its aspect type schema. 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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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
Builder

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()

Optional. Information related to the source system of the aspect.

.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. 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAspectSource(AspectSource value)

public Aspect.Builder mergeAspectSource(AspectSource value)

Optional. Information related to the source system of the aspect.

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

Parameter
Name Description
value AspectSource
Returns
Type Description
Aspect.Builder

mergeCreateTime(Timestamp value)

public Aspect.Builder mergeCreateTime(Timestamp value)

Output only. The time when the Aspect was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Aspect.Builder

mergeData(Struct value)

public Aspect.Builder mergeData(Struct value)

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

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

Parameter
Name Description
value Struct
Returns
Type Description
Aspect.Builder

mergeFrom(Aspect other)

public Aspect.Builder mergeFrom(Aspect other)
Parameter
Name Description
other Aspect
Returns
Type Description
Aspect.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Aspect.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Aspect.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Aspect.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Aspect.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Aspect.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Aspect.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Aspect.Builder mergeUpdateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Aspect.Builder

setAspectSource(AspectSource value)

public Aspect.Builder setAspectSource(AspectSource value)

Optional. Information related to the source system of the aspect.

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

Parameter
Name Description
value AspectSource
Returns
Type Description
Aspect.Builder

setAspectSource(AspectSource.Builder builderForValue)

public Aspect.Builder setAspectSource(AspectSource.Builder builderForValue)

Optional. Information related to the source system of the aspect.

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

Parameter
Name Description
builderForValue AspectSource.Builder
Returns
Type Description
Aspect.Builder

setAspectType(String value)

public Aspect.Builder setAspectType(String value)

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

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

Parameter
Name Description
value String

The aspectType to set.

Returns
Type Description
Aspect.Builder

This builder for chaining.

setAspectTypeBytes(ByteString value)

public Aspect.Builder setAspectTypeBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for aspectType to set.

Returns
Type Description
Aspect.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Aspect.Builder setCreateTime(Timestamp value)

Output only. The time when the Aspect was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Aspect.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Aspect.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the Aspect was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Aspect.Builder

setData(Struct value)

public Aspect.Builder setData(Struct value)

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

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

Parameter
Name Description
value Struct
Returns
Type Description
Aspect.Builder

setData(Struct.Builder builderForValue)

public Aspect.Builder setData(Struct.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Aspect.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Aspect.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Aspect.Builder
Overrides

setPath(String value)

public Aspect.Builder setPath(String value)

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

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

Parameter
Name Description
value String

The path to set.

Returns
Type Description
Aspect.Builder

This builder for chaining.

setPathBytes(ByteString value)

public Aspect.Builder setPathBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
Aspect.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Aspect.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Aspect.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Aspect.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Aspect.Builder
Overrides

setUpdateTime(Timestamp value)

public Aspect.Builder setUpdateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Aspect.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Aspect.Builder setUpdateTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Aspect.Builder