Class Entry (1.44.0)

public final class Entry extends GeneratedMessageV3 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 Fields

ASPECTS_FIELD_NUMBER

public static final int ASPECTS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

ENTRY_SOURCE_FIELD_NUMBER

public static final int ENTRY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

ENTRY_TYPE_FIELD_NUMBER

public static final int ENTRY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

FULLY_QUALIFIED_NAME_FIELD_NUMBER

public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PARENT_ENTRY_FIELD_NUMBER

public static final int PARENT_ENTRY_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Entry getDefaultInstance()
Returns
Type Description
Entry

getDescriptor()

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

newBuilder()

public static Entry.Builder newBuilder()
Returns
Type Description
Entry.Builder

newBuilder(Entry prototype)

public static Entry.Builder newBuilder(Entry prototype)
Parameter
Name Description
prototype Entry
Returns
Type Description
Entry.Builder

parseDelimitedFrom(InputStream input)

public static Entry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Entry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Entry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Entry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Entry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Entry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Entry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Entry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Entry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Entry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Entry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entry
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Entry> parser()
Returns
Type Description
Parser<Entry>

Methods

containsAspects(String key)

public boolean containsAspects(String key)

Optional. The Aspects attached to the Entry. The format for the key can be one of the following:

  1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached directly to the entry)
  2. {projectId}.{locationId}.{aspectTypeId}@{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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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 format for the key can be one of the following:

  1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached directly to the entry)
  2. {projectId}.{locationId}.{aspectTypeId}@{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 format for the key can be one of the following:

  1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached directly to the entry)
  2. {projectId}.{locationId}.{aspectTypeId}@{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 format for the key can be one of the following:

  1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached directly to the entry)
  2. {projectId}.{locationId}.{aspectTypeId}@{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 format for the key can be one of the following:

  1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached directly to the entry)
  2. {projectId}.{locationId}.{aspectTypeId}@{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.

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

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.

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.

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.

getParserForType()

public Parser<Entry> getParserForType()
Returns
Type Description
Parser<Entry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Entry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Entry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException