Class EntrySource.Builder (1.37.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.EntrySource.Ancestor>
Returns
TypeDescription
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
NameDescription
valueEntrySource.Ancestor
Returns
TypeDescription
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
NameDescription
builderForValueEntrySource.Ancestor.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEntrySource.Ancestor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEntrySource.Ancestor.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EntrySource.Ancestor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntrySource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EntrySource.Builder
Overrides

build()

public EntrySource build()
Returns
TypeDescription
EntrySource

buildPartial()

public EntrySource buildPartial()
Returns
TypeDescription
EntrySource

clear()

public EntrySource.Builder clear()
Returns
TypeDescription
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
TypeDescription
EntrySource.Builder

clearCreateTime()

public EntrySource.Builder clearCreateTime()

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
TypeDescription
EntrySource.Builder

clearDescription()

public EntrySource.Builder clearDescription()

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

string description = 6;

Returns
TypeDescription
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
TypeDescription
EntrySource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EntrySource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EntrySource.Builder
Overrides

clearLabels()

public EntrySource.Builder clearLabels()
Returns
TypeDescription
EntrySource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EntrySource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
EntrySource.Builder

clone()

public EntrySource.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public EntrySource getDefaultInstanceForType()
Returns
TypeDescription
EntrySource

getDescription()

public String getDescription()

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

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

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

string display_name = 5;

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

The bytes for displayName.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

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

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The update time of the resource in the source system.

.google.protobuf.Timestamp update_time = 11;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

The create time of the resource in the source system.

.google.protobuf.Timestamp create_time = 10;

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
EntrySource.Builder

mergeFrom(EntrySource other)

public EntrySource.Builder mergeFrom(EntrySource other)
Parameter
NameDescription
otherEntrySource
Returns
TypeDescription
EntrySource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntrySource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntrySource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EntrySource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EntrySource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntrySource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
valueEntrySource.Ancestor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEntrySource.Ancestor.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
EntrySource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EntrySource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The platform to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for platform to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resource to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resource to set.

Returns
TypeDescription
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
NameDescription
valueString

The system to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for system to set.

Returns
TypeDescription
EntrySource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EntrySource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
EntrySource.Builder