Package com.google.cloud.dataplex.v1
Class Entity
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataplex.v1.Entity
-
- All Implemented Interfaces:
EntityOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Entity extends com.google.protobuf.GeneratedMessageV3 implements EntityOrBuilder
Represents tables and fileset metadata contained within a zone.
Protobuf typegoogle.cloud.dataplex.v1.Entity
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Entity.Builder
Represents tables and fileset metadata contained within a zone.static class
Entity.CompatibilityStatus
Provides compatibility information for various metadata stores.static interface
Entity.CompatibilityStatusOrBuilder
static class
Entity.Type
The type of entity.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCESS_FIELD_NUMBER
static int
ASSET_FIELD_NUMBER
static int
CATALOG_ENTRY_FIELD_NUMBER
static int
COMPATIBILITY_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DATA_PATH_FIELD_NUMBER
static int
DATA_PATH_PATTERN_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
FORMAT_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SCHEMA_FIELD_NUMBER
static int
SYSTEM_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
static int
UID_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
StorageAccess
getAccess()
Output only.StorageAccessOrBuilder
getAccessOrBuilder()
Output only.String
getAsset()
Required.com.google.protobuf.ByteString
getAssetBytes()
Required.String
getCatalogEntry()
Output only.com.google.protobuf.ByteString
getCatalogEntryBytes()
Output only.Entity.CompatibilityStatus
getCompatibility()
Output only.Entity.CompatibilityStatusOrBuilder
getCompatibilityOrBuilder()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDataPath()
Required.com.google.protobuf.ByteString
getDataPathBytes()
Required.String
getDataPathPattern()
Optional.com.google.protobuf.ByteString
getDataPathPatternBytes()
Optional.static Entity
getDefaultInstance()
Entity
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.String
getEtag()
Optional.com.google.protobuf.ByteString
getEtagBytes()
Optional.StorageFormat
getFormat()
Required.StorageFormatOrBuilder
getFormatOrBuilder()
Required.String
getId()
Required.com.google.protobuf.ByteString
getIdBytes()
Required.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<Entity>
getParserForType()
Schema
getSchema()
Required.SchemaOrBuilder
getSchemaOrBuilder()
Required.int
getSerializedSize()
StorageSystem
getSystem()
Required.int
getSystemValue()
Required.Entity.Type
getType()
Required.int
getTypeValue()
Required.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasAccess()
Output only.boolean
hasCompatibility()
Output only.boolean
hasCreateTime()
Output only.boolean
hasFormat()
Required.int
hashCode()
boolean
hasSchema()
Required.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Entity.Builder
newBuilder()
static Entity.Builder
newBuilder(Entity prototype)
Entity.Builder
newBuilderForType()
protected Entity.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Entity
parseDelimitedFrom(InputStream input)
static Entity
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entity
parseFrom(byte[] data)
static Entity
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entity
parseFrom(com.google.protobuf.ByteString data)
static Entity
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entity
parseFrom(com.google.protobuf.CodedInputStream input)
static Entity
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entity
parseFrom(InputStream input)
static Entity
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entity
parseFrom(ByteBuffer data)
static Entity
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Entity>
parser()
Entity.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_FIELD_NUMBER
public static final int ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_PATH_FIELD_NUMBER
public static final int DATA_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_PATH_PATTERN_FIELD_NUMBER
public static final int DATA_PATH_PATTERN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CATALOG_ENTRY_FIELD_NUMBER
public static final int CATALOG_ENTRY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SYSTEM_FIELD_NUMBER
public static final int SYSTEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPATIBILITY_FIELD_NUMBER
public static final int COMPATIBILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCESS_FIELD_NUMBER
public static final int ACCESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. The resource name of the entity, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getName
in interfaceEntityOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the entity, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getNameBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Optional. Display name must be shorter than or equal to 256 characters.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayName
in interfaceEntityOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Optional. Display name must be shorter than or equal to 256 characters.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayNameBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for displayName.
-
getDescription
public String getDescription()
Optional. User friendly longer description text. Must be shorter than or equal to 1024 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescription
in interfaceEntityOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. User friendly longer description text. Must be shorter than or equal to 1024 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescriptionBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for description.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time when the entity was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceEntityOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the entity was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceEntityOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the entity was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceEntityOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time when the entity was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceEntityOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the entity was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceEntityOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the entity was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceEntityOrBuilder
-
getId
public String getId()
Required. A user-provided entity ID. It is mutable, and will be used as the published table name. Specifying a new ID in an update entity request will override the existing value. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores, and consist of 256 or fewer characters.
string id = 7 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getId
in interfaceEntityOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Required. A user-provided entity ID. It is mutable, and will be used as the published table name. Specifying a new ID in an update entity request will override the existing value. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores, and consist of 256 or fewer characters.
string id = 7 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getIdBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for id.
-
getEtag
public String getEtag()
Optional. The etag associated with the entity, which can be retrieved with a [GetEntity][] request. Required for update and delete requests.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEtag
in interfaceEntityOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Optional. The etag associated with the entity, which can be retrieved with a [GetEntity][] request. Required for update and delete requests.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEtagBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for etag.
-
getTypeValue
public int getTypeValue()
Required. Immutable. The type of entity.
.google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getTypeValue
in interfaceEntityOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
public Entity.Type getType()
Required. Immutable. The type of entity.
.google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getType
in interfaceEntityOrBuilder
- Returns:
- The type.
-
getAsset
public String getAsset()
Required. Immutable. The ID of the asset associated with the storage location containing the entity data. The entity must be with in the same zone with the asset.
string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAsset
in interfaceEntityOrBuilder
- Returns:
- The asset.
-
getAssetBytes
public com.google.protobuf.ByteString getAssetBytes()
Required. Immutable. The ID of the asset associated with the storage location containing the entity data. The entity must be with in the same zone with the asset.
string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAssetBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for asset.
-
getDataPath
public String getDataPath()
Required. Immutable. The storage path of the entity data. For Cloud Storage data, this is the fully-qualified path to the entity, such as `gs://bucket/path/to/data`. For BigQuery data, this is the name of the table resource, such as `projects/project_id/datasets/dataset_id/tables/table_id`.
string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getDataPath
in interfaceEntityOrBuilder
- Returns:
- The dataPath.
-
getDataPathBytes
public com.google.protobuf.ByteString getDataPathBytes()
Required. Immutable. The storage path of the entity data. For Cloud Storage data, this is the fully-qualified path to the entity, such as `gs://bucket/path/to/data`. For BigQuery data, this is the name of the table resource, such as `projects/project_id/datasets/dataset_id/tables/table_id`.
string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getDataPathBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for dataPath.
-
getDataPathPattern
public String getDataPathPattern()
Optional. The set of items within the data path constituting the data in the entity, represented as a glob path. Example: `gs://bucket/path/to/data/**/*.csv`.
string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDataPathPattern
in interfaceEntityOrBuilder
- Returns:
- The dataPathPattern.
-
getDataPathPatternBytes
public com.google.protobuf.ByteString getDataPathPatternBytes()
Optional. The set of items within the data path constituting the data in the entity, represented as a glob path. Example: `gs://bucket/path/to/data/**/*.csv`.
string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDataPathPatternBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for dataPathPattern.
-
getCatalogEntry
public String getCatalogEntry()
Output only. The name of the associated Data Catalog entry.
string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCatalogEntry
in interfaceEntityOrBuilder
- Returns:
- The catalogEntry.
-
getCatalogEntryBytes
public com.google.protobuf.ByteString getCatalogEntryBytes()
Output only. The name of the associated Data Catalog entry.
string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCatalogEntryBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for catalogEntry.
-
getSystemValue
public int getSystemValue()
Required. Immutable. Identifies the storage system of the entity data.
.google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getSystemValue
in interfaceEntityOrBuilder
- Returns:
- The enum numeric value on the wire for system.
-
getSystem
public StorageSystem getSystem()
Required. Immutable. Identifies the storage system of the entity data.
.google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getSystem
in interfaceEntityOrBuilder
- Returns:
- The system.
-
hasFormat
public boolean hasFormat()
Required. Identifies the storage format of the entity data. It does not apply to entities with data stored in BigQuery.
.google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasFormat
in interfaceEntityOrBuilder
- Returns:
- Whether the format field is set.
-
getFormat
public StorageFormat getFormat()
Required. Identifies the storage format of the entity data. It does not apply to entities with data stored in BigQuery.
.google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFormat
in interfaceEntityOrBuilder
- Returns:
- The format.
-
getFormatOrBuilder
public StorageFormatOrBuilder getFormatOrBuilder()
Required. Identifies the storage format of the entity data. It does not apply to entities with data stored in BigQuery.
.google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFormatOrBuilder
in interfaceEntityOrBuilder
-
hasCompatibility
public boolean hasCompatibility()
Output only. Metadata stores that the entity is compatible with.
.google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCompatibility
in interfaceEntityOrBuilder
- Returns:
- Whether the compatibility field is set.
-
getCompatibility
public Entity.CompatibilityStatus getCompatibility()
Output only. Metadata stores that the entity is compatible with.
.google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCompatibility
in interfaceEntityOrBuilder
- Returns:
- The compatibility.
-
getCompatibilityOrBuilder
public Entity.CompatibilityStatusOrBuilder getCompatibilityOrBuilder()
Output only. Metadata stores that the entity is compatible with.
.google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCompatibilityOrBuilder
in interfaceEntityOrBuilder
-
hasAccess
public boolean hasAccess()
Output only. Identifies the access mechanism to the entity. Not user settable.
.google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasAccess
in interfaceEntityOrBuilder
- Returns:
- Whether the access field is set.
-
getAccess
public StorageAccess getAccess()
Output only. Identifies the access mechanism to the entity. Not user settable.
.google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAccess
in interfaceEntityOrBuilder
- Returns:
- The access.
-
getAccessOrBuilder
public StorageAccessOrBuilder getAccessOrBuilder()
Output only. Identifies the access mechanism to the entity. Not user settable.
.google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAccessOrBuilder
in interfaceEntityOrBuilder
-
getUid
public String getUid()
Output only. System generated unique ID for the Entity. This ID will be different if the Entity is deleted and re-created with the same name.
string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceEntityOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. System generated unique ID for the Entity. This ID will be different if the Entity is deleted and re-created with the same name.
string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceEntityOrBuilder
- Returns:
- The bytes for uid.
-
hasSchema
public boolean hasSchema()
Required. The description of the data structure and layout. The schema is not included in list responses. It is only included in `SCHEMA` and `FULL` entity views of a `GetEntity` response.
.google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasSchema
in interfaceEntityOrBuilder
- Returns:
- Whether the schema field is set.
-
getSchema
public Schema getSchema()
Required. The description of the data structure and layout. The schema is not included in list responses. It is only included in `SCHEMA` and `FULL` entity views of a `GetEntity` response.
.google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSchema
in interfaceEntityOrBuilder
- Returns:
- The schema.
-
getSchemaOrBuilder
public SchemaOrBuilder getSchemaOrBuilder()
Required. The description of the data structure and layout. The schema is not included in list responses. It is only included in `SCHEMA` and `FULL` entity views of a `GetEntity` response.
.google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSchemaOrBuilder
in interfaceEntityOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Entity parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entity parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entity parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entity parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entity parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entity parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Entity parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Entity parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Entity parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Entity parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Entity parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Entity.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Entity.Builder newBuilder()
-
newBuilder
public static Entity.Builder newBuilder(Entity prototype)
-
toBuilder
public Entity.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Entity.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Entity getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Entity> parser()
-
getParserForType
public com.google.protobuf.Parser<Entity> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Entity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-