Package com.google.cloud.dataplex.v1
Interface Asset.ResourceSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Asset.ResourceSpec
,Asset.ResourceSpec.Builder
- Enclosing class:
- Asset
public static interface Asset.ResourceSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.Asset.ResourceSpec.AccessMode
getReadAccessMode()
Optional.int
getReadAccessModeValue()
Optional.Asset.ResourceSpec.Type
getType()
Required.int
getTypeValue()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}` `projects/{project_number}/datasets/{dataset_id}`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}` `projects/{project_number}/datasets/{dataset_id}`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The bytes for name.
-
getTypeValue
int getTypeValue()
Required. Immutable. Type of resource.
.google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The enum numeric value on the wire for type.
-
getType
Asset.ResourceSpec.Type getType()
Required. Immutable. Type of resource.
.google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The type.
-
getReadAccessModeValue
int getReadAccessModeValue()
Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.
.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The enum numeric value on the wire for readAccessMode.
-
getReadAccessMode
Asset.ResourceSpec.AccessMode getReadAccessMode()
Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.
.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The readAccessMode.
-
-