Class EntrySource (1.49.0)

public final class EntrySource extends GeneratedMessageV3 implements EntrySourceOrBuilder

EntrySource contains source system related information for the entry.

Protobuf type google.cloud.dataplex.v1.EntrySource

Static Fields

ANCESTORS_FIELD_NUMBER

public static final int ANCESTORS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

PLATFORM_FIELD_NUMBER

public static final int PLATFORM_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

SYSTEM_FIELD_NUMBER

public static final int SYSTEM_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 EntrySource getDefaultInstance()
Returns
Type Description
EntrySource

getDescriptor()

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

newBuilder()

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

newBuilder(EntrySource prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

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

equals(Object obj)

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

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

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.

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.

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

getLocation()

public String getLocation()

Output only. Location of the resource in the source system. Entry will be searchable by this location. By default, this should match the location of the EntryGroup containing this entry. A different value allows capturing source location for data external to GCP.

string location = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Output only. Location of the resource in the source system. Entry will be searchable by this location. By default, this should match the location of the EntryGroup containing this entry. A different value allows capturing source location for data external to GCP.

string location = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for location.

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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 EntrySource.Builder newBuilderForType()
Returns
Type Description
EntrySource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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