Package com.google.cloud.dataplex.v1
Class EntryLink
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.EntryLink
- All Implemented Interfaces:
EntryLinkOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class EntryLink
extends com.google.protobuf.GeneratedMessage
implements EntryLinkOrBuilder
EntryLink represents a link between two Entries.Protobuf type
google.cloud.dataplex.v1.EntryLink- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEntryLink represents a link between two Entries.static final classReference to the Entry that is linked through the Entry Link.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsAspects(String key) Optional.booleanDeprecated.intOptional.Optional.getAspectsOrDefault(String key, Aspect defaultValue) Optional.getAspectsOrThrow(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static EntryLinkstatic final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getEntryReferences(int index) Required.intRequired.Required.getEntryReferencesOrBuilder(int index) Required.List<? extends EntryLink.EntryReferenceOrBuilder>Required.getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<EntryLink>intcom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.inthashCode()booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic EntryLink.Builderstatic EntryLink.BuildernewBuilder(EntryLink prototype) protected EntryLink.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EntryLinkparseDelimitedFrom(InputStream input) static EntryLinkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryLinkparseFrom(byte[] data) static EntryLinkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryLinkparseFrom(com.google.protobuf.ByteString data) static EntryLinkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryLinkparseFrom(com.google.protobuf.CodedInputStream input) static EntryLinkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryLinkparseFrom(InputStream input) static EntryLinkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryLinkparseFrom(ByteBuffer data) static EntryLinkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EntryLink>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
ENTRY_LINK_TYPE_FIELD_NUMBER
public static final int ENTRY_LINK_TYPE_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
ASPECTS_FIELD_NUMBER
public static final int ASPECTS_FIELD_NUMBER- See Also:
-
ENTRY_REFERENCES_FIELD_NUMBER
public static final int ENTRY_REFERENCES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceEntryLinkOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceEntryLinkOrBuilder- Returns:
- The bytes for name.
-
getEntryLinkType
Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: - Entry link between synonym terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/synonym` - Entry link between related terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/related` - Entry link between glossary terms and data assets: `projects/dataplex-types/locations/global/entryLinkTypes/definition`
string entry_link_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEntryLinkTypein interfaceEntryLinkOrBuilder- Returns:
- The entryLinkType.
-
getEntryLinkTypeBytes
public com.google.protobuf.ByteString getEntryLinkTypeBytes()Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: - Entry link between synonym terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/synonym` - Entry link between related terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/related` - Entry link between glossary terms and data assets: `projects/dataplex-types/locations/global/entryLinkTypes/definition`
string entry_link_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEntryLinkTypeBytesin interfaceEntryLinkOrBuilder- Returns:
- The bytes for entryLinkType.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time when the Entry Link was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceEntryLinkOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time when the Entry Link was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceEntryLinkOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the Entry Link was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceEntryLinkOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time when the Entry Link was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceEntryLinkOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time when the Entry Link was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceEntryLinkOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the Entry Link was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceEntryLinkOrBuilder
-
getAspectsCount
public int getAspectsCount()Description copied from interface:EntryLinkOrBuilderOptional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: `{project_id_or_number}.{location_id}.{aspect_type_id}` Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAspectsCountin interfaceEntryLinkOrBuilder
-
containsAspects
Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: `{project_id_or_number}.{location_id}.{aspect_type_id}` Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAspectsin interfaceEntryLinkOrBuilder
-
getAspects
Deprecated.UsegetAspectsMap()instead.- Specified by:
getAspectsin interfaceEntryLinkOrBuilder
-
getAspectsMap
Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: `{project_id_or_number}.{location_id}.{aspect_type_id}` Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAspectsMapin interfaceEntryLinkOrBuilder
-
getAspectsOrDefault
Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: `{project_id_or_number}.{location_id}.{aspect_type_id}` Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAspectsOrDefaultin interfaceEntryLinkOrBuilder
-
getAspectsOrThrow
Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: `{project_id_or_number}.{location_id}.{aspect_type_id}` Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAspectsOrThrowin interfaceEntryLinkOrBuilder
-
getEntryReferencesList
Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.
repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEntryReferencesListin interfaceEntryLinkOrBuilder
-
getEntryReferencesOrBuilderList
Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.
repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEntryReferencesOrBuilderListin interfaceEntryLinkOrBuilder
-
getEntryReferencesCount
public int getEntryReferencesCount()Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.
repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEntryReferencesCountin interfaceEntryLinkOrBuilder
-
getEntryReferences
Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.
repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEntryReferencesin interfaceEntryLinkOrBuilder
-
getEntryReferencesOrBuilder
Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.
repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEntryReferencesOrBuilderin interfaceEntryLinkOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EntryLink parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryLink parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryLink parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryLink parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryLink parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EntryLink parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EntryLink parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EntryLink parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EntryLink.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-