Class AspectSource.Builder (1.53.0)

public static final class AspectSource.Builder extends GeneratedMessageV3.Builder<AspectSource.Builder> implements AspectSourceOrBuilder

Information related to the source system of the aspect.

Protobuf type google.cloud.dataplex.v1.AspectSource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AspectSource build()
Returns
Type Description
AspectSource

buildPartial()

public AspectSource buildPartial()
Returns
Type Description
AspectSource

clear()

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

clearCreateTime()

public AspectSource.Builder clearCreateTime()

The time the aspect was created in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
AspectSource.Builder

clearDataVersion()

public AspectSource.Builder clearDataVersion()

The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc).

string data_version = 12;

Returns
Type Description
AspectSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateTime()

public AspectSource.Builder clearUpdateTime()

The time the aspect was last updated in the source system.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
AspectSource.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

The time the aspect was created in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time the aspect was created in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time the aspect was created in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
TimestampOrBuilder

getDataVersion()

public String getDataVersion()

The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc).

string data_version = 12;

Returns
Type Description
String

The dataVersion.

getDataVersionBytes()

public ByteString getDataVersionBytes()

The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc).

string data_version = 12;

Returns
Type Description
ByteString

The bytes for dataVersion.

getDefaultInstanceForType()

public AspectSource getDefaultInstanceForType()
Returns
Type Description
AspectSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

The time the aspect was last updated in the source system.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The time the aspect was last updated in the source system.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time the aspect was last updated in the source system.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

The time the aspect was created in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

The time the aspect was last updated in the source system.

.google.protobuf.Timestamp update_time = 11;

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

mergeCreateTime(Timestamp value)

public AspectSource.Builder mergeCreateTime(Timestamp value)

The time the aspect was created in the source system.

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
AspectSource.Builder

mergeFrom(AspectSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public AspectSource.Builder mergeUpdateTime(Timestamp value)

The time the aspect was last updated in the source system.

.google.protobuf.Timestamp update_time = 11;

Parameter
Name Description
value Timestamp
Returns
Type Description
AspectSource.Builder

setCreateTime(Timestamp value)

public AspectSource.Builder setCreateTime(Timestamp value)

The time the aspect was created in the source system.

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
AspectSource.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AspectSource.Builder setCreateTime(Timestamp.Builder builderForValue)

The time the aspect was created in the source system.

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AspectSource.Builder

setDataVersion(String value)

public AspectSource.Builder setDataVersion(String value)

The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc).

string data_version = 12;

Parameter
Name Description
value String

The dataVersion to set.

Returns
Type Description
AspectSource.Builder

This builder for chaining.

setDataVersionBytes(ByteString value)

public AspectSource.Builder setDataVersionBytes(ByteString value)

The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc).

string data_version = 12;

Parameter
Name Description
value ByteString

The bytes for dataVersion to set.

Returns
Type Description
AspectSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public AspectSource.Builder setUpdateTime(Timestamp value)

The time the aspect was last updated in the source system.

.google.protobuf.Timestamp update_time = 11;

Parameter
Name Description
value Timestamp
Returns
Type Description
AspectSource.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AspectSource.Builder setUpdateTime(Timestamp.Builder builderForValue)

The time the aspect was last updated in the source system.

.google.protobuf.Timestamp update_time = 11;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AspectSource.Builder