/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataplex/v1/catalog.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dataplex.v1;
public interface EntryOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Entry)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
* @return The name.
*/
java.lang.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];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* 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];
*
*
* @return The entryType.
*/
java.lang.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];
*
*
* @return The bytes for entryType.
*/
com.google.protobuf.ByteString getEntryTypeBytes();
/**
*
*
*
* Output only. The time when the Entry was created.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The time when the Entry was created.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. The time when the Entry was created.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The time when the Entry was last updated.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. The time when the Entry was last updated.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
*
* Output only. The time when the Entry was last updated.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* 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];
*
*/
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];
*
*/
boolean containsAspects(java.lang.String key);
/** Use {@link #getAspectsMap()} instead. */
@java.lang.Deprecated
java.util.Map getAspects();
/**
*
*
*
* 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];
*
*/
java.util.Map 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];
*
*/
/* nullable */
com.google.cloud.dataplex.v1.Aspect getAspectsOrDefault(
java.lang.String key,
/* nullable */
com.google.cloud.dataplex.v1.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];
*
*/
com.google.cloud.dataplex.v1.Aspect getAspectsOrThrow(java.lang.String key);
/**
*
*
*
* Optional. Immutable. The resource name of the parent entry.
*
*
*
* string parent_entry = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The parentEntry.
*/
java.lang.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];
*
*
* @return The bytes for parentEntry.
*/
com.google.protobuf.ByteString getParentEntryBytes();
/**
*
*
*
* 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];
*
* @return The fullyQualifiedName.
*/
java.lang.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];
*
* @return The bytes for fullyQualifiedName.
*/
com.google.protobuf.ByteString getFullyQualifiedNameBytes();
/**
*
*
*
* Optional. Source system related information for an entry.
*
*
*
* .google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the entrySource field is set.
*/
boolean hasEntrySource();
/**
*
*
*
* Optional. Source system related information for an entry.
*
*
*
* .google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The entrySource.
*/
com.google.cloud.dataplex.v1.EntrySource getEntrySource();
/**
*
*
*
* Optional. Source system related information for an entry.
*
*
*
* .google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.dataplex.v1.EntrySourceOrBuilder getEntrySourceOrBuilder();
}