com.google.cloud.dataplex.v1.DataAttributeOrBuilder Maven / Gradle / Ivy
/*
* 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/data_taxonomy.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dataplex.v1;
public interface DataAttributeOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataAttribute)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The relative resource name of the dataAttribute, of the form:
* projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
*
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The relative resource name of the dataAttribute, of the form:
* projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
*
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Output only. System generated globally unique ID for the DataAttribute.
* This ID will be different if the DataAttribute is deleted and re-created
* with the same name.
*
*
* string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The uid.
*/
java.lang.String getUid();
/**
*
*
*
* Output only. System generated globally unique ID for the DataAttribute.
* This ID will be different if the DataAttribute is deleted and re-created
* with the same name.
*
*
* string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for uid.
*/
com.google.protobuf.ByteString getUidBytes();
/**
*
*
*
* Output only. The time when the DataAttribute was created.
*
*
* .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The time when the DataAttribute was created.
*
*
* .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. The time when the DataAttribute was created.
*
*
* .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The time when the DataAttribute was last updated.
*
*
* .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. The time when the DataAttribute was last updated.
*
*
* .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
*
* Output only. The time when the DataAttribute was last updated.
*
*
* .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* Optional. Description of the DataAttribute.
*
*
* string description = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Optional. Description of the DataAttribute.
*
*
* string description = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Optional. User friendly display name.
*
*
* string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* Optional. User friendly display name.
*
*
* string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Optional. User-defined labels for the DataAttribute.
*
*
* map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
int getLabelsCount();
/**
*
*
*
* Optional. User-defined labels for the DataAttribute.
*
*
* map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* Optional. User-defined labels for the DataAttribute.
*
*
* map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Optional. User-defined labels for the DataAttribute.
*
*
* map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Optional. User-defined labels for the DataAttribute.
*
*
* map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* Optional. The ID of the parent DataAttribute resource, should belong to the
* same data taxonomy. Circular dependency in parent chain is not valid.
* Maximum depth of the hierarchy allowed is 4.
* [a -> b -> c -> d -> e, depth = 4]
*
*
*
* string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The parentId.
*/
java.lang.String getParentId();
/**
*
*
*
* Optional. The ID of the parent DataAttribute resource, should belong to the
* same data taxonomy. Circular dependency in parent chain is not valid.
* Maximum depth of the hierarchy allowed is 4.
* [a -> b -> c -> d -> e, depth = 4]
*
*
*
* string parent_id = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for parentId.
*/
com.google.protobuf.ByteString getParentIdBytes();
/**
*
*
*
* Output only. The number of child attributes present for this attribute.
*
*
* int32 attribute_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The attributeCount.
*/
int getAttributeCount();
/**
*
*
*
* This checksum is computed by the server based on the value of other
* fields, and may be sent on update and delete requests to ensure the
* client has an up-to-date value before proceeding.
*
*
* string etag = 10;
*
* @return The etag.
*/
java.lang.String getEtag();
/**
*
*
*
* This checksum is computed by the server based on the value of other
* fields, and may be sent on update and delete requests to ensure the
* client has an up-to-date value before proceeding.
*
*
* string etag = 10;
*
* @return The bytes for etag.
*/
com.google.protobuf.ByteString getEtagBytes();
/**
*
*
*
* Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
* BigQuery dataset, BigQuery table).
*
*
*
* .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the resourceAccessSpec field is set.
*/
boolean hasResourceAccessSpec();
/**
*
*
*
* Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
* BigQuery dataset, BigQuery table).
*
*
*
* .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The resourceAccessSpec.
*/
com.google.cloud.dataplex.v1.ResourceAccessSpec getResourceAccessSpec();
/**
*
*
*
* Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
* BigQuery dataset, BigQuery table).
*
*
*
* .google.cloud.dataplex.v1.ResourceAccessSpec resource_access_spec = 100 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.dataplex.v1.ResourceAccessSpecOrBuilder getResourceAccessSpecOrBuilder();
/**
*
*
*
* Optional. Specified when applied to data stored on the resource (eg: rows,
* columns in BigQuery Tables).
*
*
*
* .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the dataAccessSpec field is set.
*/
boolean hasDataAccessSpec();
/**
*
*
*
* Optional. Specified when applied to data stored on the resource (eg: rows,
* columns in BigQuery Tables).
*
*
*
* .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The dataAccessSpec.
*/
com.google.cloud.dataplex.v1.DataAccessSpec getDataAccessSpec();
/**
*
*
*
* Optional. Specified when applied to data stored on the resource (eg: rows,
* columns in BigQuery Tables).
*
*
*
* .google.cloud.dataplex.v1.DataAccessSpec data_access_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.dataplex.v1.DataAccessSpecOrBuilder getDataAccessSpecOrBuilder();
}