Class Entry.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Entry build()
Returns
TypeDescription
Entry

buildPartial()

public Entry buildPartial()
Returns
TypeDescription
Entry

clear()

public Entry.Builder clear()
Returns
TypeDescription
Entry.Builder
Overrides

clearAspects()

public Entry.Builder clearAspects()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Entry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Entry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Entry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAspects() (deprecated)

public Map<String,Aspect> getAspects()

Use #getAspectsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueAspect
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Entry getDefaultInstanceForType()
Returns
TypeDescription
Entry

getDescriptorForType()

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

The bytes for fullyQualifiedName.

getMutableAspects() (deprecated)

public Map<String,Aspect> getMutableAspects()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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 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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueEntrySource
Returns
TypeDescription
Entry.Builder

mergeFrom(Entry other)

public Entry.Builder mergeFrom(Entry other)
Parameter
NameDescription
otherEntry
Returns
TypeDescription
Entry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The entryType to set.

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

The bytes for entryType to set.

Returns
TypeDescription
Entry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The fullyQualifiedName to set.

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

The bytes for fullyQualifiedName to set.

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

The name to set.

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

The bytes for name to set.

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

The parentEntry to set.

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

The bytes for parentEntry to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Entry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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