Class Entry.Builder (1.40.0)

public static final class Entry.Builder extends GeneratedMessageV3.Builder<Entry.Builder> implements EntryOrBuilder

An entry is a representation of a data asset which can be described by various metadata.

Protobuf type google.cloud.dataplex.v1.Entry

Implements

EntryOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Entry build()
Returns
Type Description
Entry

buildPartial()

public Entry buildPartial()
Returns
Type Description
Entry

clear()

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

clearAspects()

public Entry.Builder clearAspects()
Returns
Type Description
Entry.Builder

clearCreateTime()

public Entry.Builder clearCreateTime()

Output only. The time when the Entry was created.

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

Returns
Type Description
Entry.Builder

clearEntrySource()

public Entry.Builder clearEntrySource()

Optional. Source system related information for an entry.

.google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Entry.Builder

clearEntryType()

public Entry.Builder clearEntryType()

Required. Immutable. The resource name of the EntryType used to create this Entry.

string entry_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Entry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFullyQualifiedName()

public Entry.Builder clearFullyQualifiedName()

Optional. A name for the entry that can reference it in an external system. The maximum size of the field is 4000 characters.

string fully_qualified_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Entry.Builder

This builder for chaining.

clearName()

public Entry.Builder clearName()

Identifier. The relative resource name of the Entry, of the form: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Entry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParentEntry()

public Entry.Builder clearParentEntry()

Optional. Immutable. The resource name of the parent entry.

string parent_entry = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Entry.Builder

This builder for chaining.

clearUpdateTime()

public Entry.Builder clearUpdateTime()

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

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

Returns
Type Description
Entry.Builder

clone()

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

containsAspects(String key)

public boolean containsAspects(String key)

Optional. The Aspects attached to the Entry. The key is either the resource name of the aspect type (if the aspect is attached directly to the entry) or "aspectType@path" if the aspect is attached to an entry's path.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAspects() (deprecated)

public Map<String,Aspect> getAspects()

Use #getAspectsMap() instead.

Returns
Type Description
Map<String,Aspect>

getAspectsCount()

public int getAspectsCount()

Optional. The Aspects attached to the Entry. The key is either the resource name of the aspect type (if the aspect is attached directly to the entry) or "aspectType@path" if the aspect is attached to an entry's path.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAspectsMap()

public Map<String,Aspect> getAspectsMap()

Optional. The Aspects attached to the Entry. The key is either the resource name of the aspect type (if the aspect is attached directly to the entry) or "aspectType@path" if the aspect is attached to an entry's path.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,Aspect>

getAspectsOrDefault(String key, Aspect defaultValue)

public Aspect getAspectsOrDefault(String key, Aspect defaultValue)

Optional. The Aspects attached to the Entry. The key is either the resource name of the aspect type (if the aspect is attached directly to the entry) or "aspectType@path" if the aspect is attached to an entry's path.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue Aspect
Returns
Type Description
Aspect

getAspectsOrThrow(String key)

public Aspect getAspectsOrThrow(String key)

Optional. The Aspects attached to the Entry. The key is either the resource name of the aspect type (if the aspect is attached directly to the entry) or "aspectType@path" if the aspect is attached to an entry's path.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Aspect

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the Entry was created.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the Entry was created.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the Entry was created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Entry getDefaultInstanceForType()
Returns
Type Description
Entry

getDescriptorForType()

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

getEntrySource()

public EntrySource getEntrySource()

Optional. Source system related information for an entry.

.google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntrySource

The entrySource.

getEntrySourceBuilder()

public EntrySource.Builder getEntrySourceBuilder()

Optional. Source system related information for an entry.

.google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntrySource.Builder

getEntrySourceOrBuilder()

public EntrySourceOrBuilder getEntrySourceOrBuilder()

Optional. Source system related information for an entry.

.google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntrySourceOrBuilder

getEntryType()

public String getEntryType()

Required. Immutable. The resource name of the EntryType used to create this Entry.

string entry_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The entryType.

getEntryTypeBytes()

public ByteString getEntryTypeBytes()

Required. Immutable. The resource name of the EntryType used to create this Entry.

string entry_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for entryType.

getFullyQualifiedName()

public String getFullyQualifiedName()

Optional. A name for the entry that can reference it in an external system. The maximum size of the field is 4000 characters.

string fully_qualified_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The fullyQualifiedName.

getFullyQualifiedNameBytes()

public ByteString getFullyQualifiedNameBytes()

Optional. A name for the entry that can reference it in an external system. The maximum size of the field is 4000 characters.

string fully_qualified_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for fullyQualifiedName.

getMutableAspects() (deprecated)

public Map<String,Aspect> getMutableAspects()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Aspect>

getName()

public String getName()

Identifier. The relative resource name of the Entry, of the form: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The relative resource name of the Entry, of the form: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParentEntry()

public String getParentEntry()

Optional. Immutable. The resource name of the parent entry.

string parent_entry = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The parentEntry.

getParentEntryBytes()

public ByteString getParentEntryBytes()

Optional. Immutable. The resource name of the parent entry.

string parent_entry = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for parentEntry.

getUpdateTime()

public Timestamp getUpdateTime()

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

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

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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

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

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

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

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

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the Entry was created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasEntrySource()

public boolean hasEntrySource()

Optional. Source system related information for an entry.

.google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the entrySource field is set.

hasUpdateTime()

public boolean hasUpdateTime()

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

.google.protobuf.Timestamp update_time = 6 [(.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

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 Entry.Builder mergeCreateTime(Timestamp value)

Output only. The time when the Entry was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Entry.Builder

mergeEntrySource(EntrySource value)

public Entry.Builder mergeEntrySource(EntrySource value)

Optional. Source system related information for an entry.

.google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EntrySource
Returns
Type Description
Entry.Builder

mergeFrom(Entry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Entry.Builder mergeUpdateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Entry.Builder

putAllAspects(Map<String,Aspect> values)

public Entry.Builder putAllAspects(Map<String,Aspect> values)

Optional. The Aspects attached to the Entry. The key is either the resource name of the aspect type (if the aspect is attached directly to the entry) or "aspectType@path" if the aspect is attached to an entry's path.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];

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

putAspects(String key, Aspect value)

public Entry.Builder putAspects(String key, Aspect value)

Optional. The Aspects attached to the Entry. The key is either the resource name of the aspect type (if the aspect is attached directly to the entry) or "aspectType@path" if the aspect is attached to an entry's path.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value Aspect
Returns
Type Description
Entry.Builder

putAspectsBuilderIfAbsent(String key)

public Aspect.Builder putAspectsBuilderIfAbsent(String key)

Optional. The Aspects attached to the Entry. The key is either the resource name of the aspect type (if the aspect is attached directly to the entry) or "aspectType@path" if the aspect is attached to an entry's path.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Aspect.Builder

removeAspects(String key)

public Entry.Builder removeAspects(String key)

Optional. The Aspects attached to the Entry. The key is either the resource name of the aspect type (if the aspect is attached directly to the entry) or "aspectType@path" if the aspect is attached to an entry's path.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Entry.Builder

setCreateTime(Timestamp value)

public Entry.Builder setCreateTime(Timestamp value)

Output only. The time when the Entry was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Entry.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Entry.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the Entry was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Entry.Builder

setEntrySource(EntrySource value)

public Entry.Builder setEntrySource(EntrySource value)

Optional. Source system related information for an entry.

.google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EntrySource
Returns
Type Description
Entry.Builder

setEntrySource(EntrySource.Builder builderForValue)

public Entry.Builder setEntrySource(EntrySource.Builder builderForValue)

Optional. Source system related information for an entry.

.google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];

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

setEntryType(String value)

public Entry.Builder setEntryType(String value)

Required. Immutable. The resource name of the EntryType used to create this Entry.

string entry_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The entryType to set.

Returns
Type Description
Entry.Builder

This builder for chaining.

setEntryTypeBytes(ByteString value)

public Entry.Builder setEntryTypeBytes(ByteString value)

Required. Immutable. The resource name of the EntryType used to create this Entry.

string entry_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for entryType to set.

Returns
Type Description
Entry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullyQualifiedName(String value)

public Entry.Builder setFullyQualifiedName(String value)

Optional. A name for the entry that can reference it in an external system. The maximum size of the field is 4000 characters.

string fully_qualified_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The fullyQualifiedName to set.

Returns
Type Description
Entry.Builder

This builder for chaining.

setFullyQualifiedNameBytes(ByteString value)

public Entry.Builder setFullyQualifiedNameBytes(ByteString value)

Optional. A name for the entry that can reference it in an external system. The maximum size of the field is 4000 characters.

string fully_qualified_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for fullyQualifiedName to set.

Returns
Type Description
Entry.Builder

This builder for chaining.

setName(String value)

public Entry.Builder setName(String value)

Identifier. The relative resource name of the Entry, of the form: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Entry.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Entry.Builder setNameBytes(ByteString value)

Identifier. The relative resource name of the Entry, of the form: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Entry.Builder

This builder for chaining.

setParentEntry(String value)

public Entry.Builder setParentEntry(String value)

Optional. Immutable. The resource name of the parent entry.

string parent_entry = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The parentEntry to set.

Returns
Type Description
Entry.Builder

This builder for chaining.

setParentEntryBytes(ByteString value)

public Entry.Builder setParentEntryBytes(ByteString value)

Optional. Immutable. The resource name of the parent entry.

string parent_entry = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for parentEntry to set.

Returns
Type Description
Entry.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Entry.Builder setUpdateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Entry.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Entry.Builder setUpdateTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Entry.Builder