Class StorageAccess (1.20.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static StorageAccess getDefaultInstance()
Returns
TypeDescription
StorageAccess

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StorageAccess.Builder newBuilder()
Returns
TypeDescription
StorageAccess.Builder

newBuilder(StorageAccess prototype)

public static StorageAccess.Builder newBuilder(StorageAccess prototype)
Parameter
NameDescription
prototypeStorageAccess
Returns
TypeDescription
StorageAccess.Builder

parseDelimitedFrom(InputStream input)

public static StorageAccess parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StorageAccess parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StorageAccess parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StorageAccess parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StorageAccess parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StorageAccess parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StorageAccess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StorageAccess> parser()
Returns
TypeDescription
Parser<StorageAccess>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StorageAccess getDefaultInstanceForType()
Returns
TypeDescription
StorageAccess

getParserForType()

public Parser<StorageAccess> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for read.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StorageAccess.Builder newBuilderForType()
Returns
TypeDescription
StorageAccess.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StorageAccess.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StorageAccess.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StorageAccess.Builder toBuilder()
Returns
TypeDescription
StorageAccess.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException