public static final class Asset.ResourceSpec extends GeneratedMessageV3 implements Asset.ResourceSpecOrBuilder
Identifies the cloud resource that is referenced by this asset.
Protobuf type google.events.cloud.dataplex.v1.Asset.ResourceSpec
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Asset.ResourceSpecImplements
Asset.ResourceSpecOrBuilderStatic Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
READ_ACCESS_MODE_FIELD_NUMBER
public static final int READ_ACCESS_MODE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Asset.ResourceSpec getDefaultInstance()
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Asset.ResourceSpec.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec.Builder |
newBuilder(Asset.ResourceSpec prototype)
public static Asset.ResourceSpec.Builder newBuilder(Asset.ResourceSpec prototype)
Parameter | |
---|---|
Name | Description |
prototype | Asset.ResourceSpec |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec.Builder |
parseDelimitedFrom(InputStream input)
public static Asset.ResourceSpec parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Asset.ResourceSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Asset.ResourceSpec parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Asset.ResourceSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Asset.ResourceSpec parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Asset.ResourceSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Asset.ResourceSpec parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Asset.ResourceSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Asset.ResourceSpec parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Asset.ResourceSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Asset.ResourceSpec parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Asset.ResourceSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Asset.ResourceSpec> parser()
Returns | |
---|---|
Type | Description |
Parser<ResourceSpec> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Asset.ResourceSpec getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
getName()
public 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;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<Asset.ResourceSpec> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ResourceSpec> |
getReadAccessMode()
public 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.events.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5;
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec.AccessMode | The readAccessMode. |
getReadAccessModeValue()
public int getReadAccessModeValue()
Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.
.google.events.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for readAccessMode. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getType()
public Asset.ResourceSpec.Type getType()
Required. Immutable. Type of resource.
.google.events.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2;
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec.Type | The type. |
getTypeValue()
public int getTypeValue()
Required. Immutable. Type of resource.
.google.events.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for type. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Asset.ResourceSpec.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Asset.ResourceSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Asset.ResourceSpec.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |