Class EntrySource.Builder (1.40.0)

public static final class EntrySource.Builder extends GeneratedMessageV3.Builder<EntrySource.Builder> implements EntrySourceOrBuilder

EntrySource contains source system related information for the entry.

Protobuf type google.cloud.dataplex.v1.EntrySource

Static Methods

getDescriptor()

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

Methods

addAllAncestors(Iterable<? extends EntrySource.Ancestor> values)

public EntrySource.Builder addAllAncestors(Iterable<? extends EntrySource.Ancestor> values)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataplex.v1.EntrySource.Ancestor>
Returns
Type Description
EntrySource.Builder

addAncestors(EntrySource.Ancestor value)

public EntrySource.Builder addAncestors(EntrySource.Ancestor value)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value EntrySource.Ancestor
Returns
Type Description
EntrySource.Builder

addAncestors(EntrySource.Ancestor.Builder builderForValue)

public EntrySource.Builder addAncestors(EntrySource.Ancestor.Builder builderForValue)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
builderForValue EntrySource.Ancestor.Builder
Returns
Type Description
EntrySource.Builder

addAncestors(int index, EntrySource.Ancestor value)

public EntrySource.Builder addAncestors(int index, EntrySource.Ancestor value)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameters
Name Description
index int
value EntrySource.Ancestor
Returns
Type Description
EntrySource.Builder

addAncestors(int index, EntrySource.Ancestor.Builder builderForValue)

public EntrySource.Builder addAncestors(int index, EntrySource.Ancestor.Builder builderForValue)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameters
Name Description
index int
builderForValue EntrySource.Ancestor.Builder
Returns
Type Description
EntrySource.Builder

addAncestorsBuilder()

public EntrySource.Ancestor.Builder addAncestorsBuilder()

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntrySource.Ancestor.Builder

addAncestorsBuilder(int index)

public EntrySource.Ancestor.Builder addAncestorsBuilder(int index)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
EntrySource.Ancestor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntrySource build()
Returns
Type Description
EntrySource

buildPartial()

public EntrySource buildPartial()
Returns
Type Description
EntrySource

clear()

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

clearAncestors()

public EntrySource.Builder clearAncestors()

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntrySource.Builder

clearCreateTime()

public EntrySource.Builder clearCreateTime()

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
EntrySource.Builder

clearDescription()

public EntrySource.Builder clearDescription()

Description of the Entry. The maximum size of the field is 2000 characters.

string description = 6;

Returns
Type Description
EntrySource.Builder

This builder for chaining.

clearDisplayName()

public EntrySource.Builder clearDisplayName()

User friendly display name. The maximum size of the field is 500 characters.

string display_name = 5;

Returns
Type Description
EntrySource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public EntrySource.Builder clearLabels()
Returns
Type Description
EntrySource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPlatform()

public EntrySource.Builder clearPlatform()

The platform containing the source system. The maximum size of the field is 64 characters.

string platform = 3;

Returns
Type Description
EntrySource.Builder

This builder for chaining.

clearResource()

public EntrySource.Builder clearResource()

The name of the resource in the source system. The maximum size of the field is 4000 characters.

string resource = 1;

Returns
Type Description
EntrySource.Builder

This builder for chaining.

clearSystem()

public EntrySource.Builder clearSystem()

The name of the source system. The maximum size of the field is 64 characters.

string system = 2;

Returns
Type Description
EntrySource.Builder

This builder for chaining.

clearUpdateTime()

public EntrySource.Builder clearUpdateTime()

The update time of the resource in the source system.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
EntrySource.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

User-defined labels. The maximum size of keys and values is 128 characters each.

map<string, string> labels = 7;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAncestors(int index)

public EntrySource.Ancestor getAncestors(int index)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
EntrySource.Ancestor

getAncestorsBuilder(int index)

public EntrySource.Ancestor.Builder getAncestorsBuilder(int index)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
EntrySource.Ancestor.Builder

getAncestorsBuilderList()

public List<EntrySource.Ancestor.Builder> getAncestorsBuilderList()

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
List<Builder>

getAncestorsCount()

public int getAncestorsCount()

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

getAncestorsList()

public List<EntrySource.Ancestor> getAncestorsList()

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
List<Ancestor>

getAncestorsOrBuilder(int index)

public EntrySource.AncestorOrBuilder getAncestorsOrBuilder(int index)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
EntrySource.AncestorOrBuilder

getAncestorsOrBuilderList()

public List<? extends EntrySource.AncestorOrBuilder> getAncestorsOrBuilderList()

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.EntrySource.AncestorOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public EntrySource getDefaultInstanceForType()
Returns
Type Description
EntrySource

getDescription()

public String getDescription()

Description of the Entry. The maximum size of the field is 2000 characters.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the Entry. The maximum size of the field is 2000 characters.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

User friendly display name. The maximum size of the field is 500 characters.

string display_name = 5;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

User friendly display name. The maximum size of the field is 500 characters.

string display_name = 5;

Returns
Type Description
ByteString

The bytes for displayName.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined labels. The maximum size of keys and values is 128 characters each.

map<string, string> labels = 7;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

User-defined labels. The maximum size of keys and values is 128 characters each.

map<string, string> labels = 7;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

User-defined labels. The maximum size of keys and values is 128 characters each.

map<string, string> labels = 7;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

User-defined labels. The maximum size of keys and values is 128 characters each.

map<string, string> labels = 7;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getPlatform()

public String getPlatform()

The platform containing the source system. The maximum size of the field is 64 characters.

string platform = 3;

Returns
Type Description
String

The platform.

getPlatformBytes()

public ByteString getPlatformBytes()

The platform containing the source system. The maximum size of the field is 64 characters.

string platform = 3;

Returns
Type Description
ByteString

The bytes for platform.

getResource()

public String getResource()

The name of the resource in the source system. The maximum size of the field is 4000 characters.

string resource = 1;

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

The name of the resource in the source system. The maximum size of the field is 4000 characters.

string resource = 1;

Returns
Type Description
ByteString

The bytes for resource.

getSystem()

public String getSystem()

The name of the source system. The maximum size of the field is 64 characters.

string system = 2;

Returns
Type Description
String

The system.

getSystemBytes()

public ByteString getSystemBytes()

The name of the source system. The maximum size of the field is 64 characters.

string system = 2;

Returns
Type Description
ByteString

The bytes for system.

getUpdateTime()

public Timestamp getUpdateTime()

The update time of the resource in the source system.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The update time of the resource in the source system.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The update time of the resource in the source system.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

The create time of the resource 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 update time of the resource 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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public EntrySource.Builder mergeCreateTime(Timestamp value)

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntrySource.Builder

mergeFrom(EntrySource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public EntrySource.Builder mergeUpdateTime(Timestamp value)

The update time of the resource in the source system.

.google.protobuf.Timestamp update_time = 11;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntrySource.Builder

putAllLabels(Map<String,String> values)

public EntrySource.Builder putAllLabels(Map<String,String> values)

User-defined labels. The maximum size of keys and values is 128 characters each.

map<string, string> labels = 7;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
EntrySource.Builder

putLabels(String key, String value)

public EntrySource.Builder putLabels(String key, String value)

User-defined labels. The maximum size of keys and values is 128 characters each.

map<string, string> labels = 7;

Parameters
Name Description
key String
value String
Returns
Type Description
EntrySource.Builder

removeAncestors(int index)

public EntrySource.Builder removeAncestors(int index)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
EntrySource.Builder

removeLabels(String key)

public EntrySource.Builder removeLabels(String key)

User-defined labels. The maximum size of keys and values is 128 characters each.

map<string, string> labels = 7;

Parameter
Name Description
key String
Returns
Type Description
EntrySource.Builder

setAncestors(int index, EntrySource.Ancestor value)

public EntrySource.Builder setAncestors(int index, EntrySource.Ancestor value)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameters
Name Description
index int
value EntrySource.Ancestor
Returns
Type Description
EntrySource.Builder

setAncestors(int index, EntrySource.Ancestor.Builder builderForValue)

public EntrySource.Builder setAncestors(int index, EntrySource.Ancestor.Builder builderForValue)

Immutable. The ancestors of the Entry in the source system.

repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameters
Name Description
index int
builderForValue EntrySource.Ancestor.Builder
Returns
Type Description
EntrySource.Builder

setCreateTime(Timestamp value)

public EntrySource.Builder setCreateTime(Timestamp value)

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntrySource.Builder

setCreateTime(Timestamp.Builder builderForValue)

public EntrySource.Builder setCreateTime(Timestamp.Builder builderForValue)

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntrySource.Builder

setDescription(String value)

public EntrySource.Builder setDescription(String value)

Description of the Entry. The maximum size of the field is 2000 characters.

string description = 6;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public EntrySource.Builder setDescriptionBytes(ByteString value)

Description of the Entry. The maximum size of the field is 2000 characters.

string description = 6;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

setDisplayName(String value)

public EntrySource.Builder setDisplayName(String value)

User friendly display name. The maximum size of the field is 500 characters.

string display_name = 5;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public EntrySource.Builder setDisplayNameBytes(ByteString value)

User friendly display name. The maximum size of the field is 500 characters.

string display_name = 5;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPlatform(String value)

public EntrySource.Builder setPlatform(String value)

The platform containing the source system. The maximum size of the field is 64 characters.

string platform = 3;

Parameter
Name Description
value String

The platform to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

setPlatformBytes(ByteString value)

public EntrySource.Builder setPlatformBytes(ByteString value)

The platform containing the source system. The maximum size of the field is 64 characters.

string platform = 3;

Parameter
Name Description
value ByteString

The bytes for platform to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

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

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

setResource(String value)

public EntrySource.Builder setResource(String value)

The name of the resource in the source system. The maximum size of the field is 4000 characters.

string resource = 1;

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public EntrySource.Builder setResourceBytes(ByteString value)

The name of the resource in the source system. The maximum size of the field is 4000 characters.

string resource = 1;

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

setSystem(String value)

public EntrySource.Builder setSystem(String value)

The name of the source system. The maximum size of the field is 64 characters.

string system = 2;

Parameter
Name Description
value String

The system to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

setSystemBytes(ByteString value)

public EntrySource.Builder setSystemBytes(ByteString value)

The name of the source system. The maximum size of the field is 64 characters.

string system = 2;

Parameter
Name Description
value ByteString

The bytes for system to set.

Returns
Type Description
EntrySource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public EntrySource.Builder setUpdateTime(Timestamp value)

The update time of the resource in the source system.

.google.protobuf.Timestamp update_time = 11;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntrySource.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public EntrySource.Builder setUpdateTime(Timestamp.Builder builderForValue)

The update time of the resource in the source system.

.google.protobuf.Timestamp update_time = 11;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntrySource.Builder