Class StorageAccess (1.40.0)

public final class StorageAccess extends GeneratedMessageV3 implements StorageAccessOrBuilder

Describes the access mechanism of the data within its storage location.

Protobuf type google.cloud.dataplex.v1.StorageAccess

Static Fields

READ_FIELD_NUMBER

public static final int READ_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StorageAccess getDefaultInstance()
Returns
Type Description
StorageAccess

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StorageAccess.Builder newBuilder()
Returns
Type Description
StorageAccess.Builder

newBuilder(StorageAccess prototype)

public static StorageAccess.Builder newBuilder(StorageAccess prototype)
Parameter
Name Description
prototype StorageAccess
Returns
Type Description
StorageAccess.Builder

parseDelimitedFrom(InputStream input)

public static StorageAccess parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageAccess
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageAccess
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StorageAccess parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StorageAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StorageAccess parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StorageAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StorageAccess parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StorageAccess
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageAccess
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StorageAccess parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageAccess
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageAccess
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StorageAccess parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StorageAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageAccess
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StorageAccess> parser()
Returns
Type Description
Parser<StorageAccess>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StorageAccess getDefaultInstanceForType()
Returns
Type Description
StorageAccess

getParserForType()

public Parser<StorageAccess> getParserForType()
Returns
Type Description
Parser<StorageAccess>
Overrides

getRead()

public StorageAccess.AccessMode getRead()

Output only. Describes the read access mechanism of the data. Not user settable.

.google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StorageAccess.AccessMode

The read.

getReadValue()

public int getReadValue()

Output only. Describes the read access mechanism of the data. Not user settable.

.google.cloud.dataplex.v1.StorageAccess.AccessMode read = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for read.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StorageAccess.Builder newBuilderForType()
Returns
Type Description
StorageAccess.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StorageAccess.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StorageAccess.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StorageAccess.Builder toBuilder()
Returns
Type Description
StorageAccess.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException