Class EntrySource (1.37.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
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

PLATFORM_FIELD_NUMBER

public static final int PLATFORM_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

SYSTEM_FIELD_NUMBER

public static final int SYSTEM_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EntrySource getDefaultInstance()
Returns
TypeDescription
EntrySource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EntrySource.Builder newBuilder()
Returns
TypeDescription
EntrySource.Builder

newBuilder(EntrySource prototype)

public static EntrySource.Builder newBuilder(EntrySource prototype)
Parameter
NameDescription
prototypeEntrySource
Returns
TypeDescription
EntrySource.Builder

parseDelimitedFrom(InputStream input)

public static EntrySource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntrySource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EntrySource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntrySource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntrySource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntrySource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntrySource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntrySource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EntrySource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntrySource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EntrySource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntrySource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntrySource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EntrySource> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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.

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.

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

getParserForType()

public Parser<EntrySource> getParserForType()
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EntrySource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EntrySource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException