Class StorageAccess.Builder (1.42.0)

public static final class StorageAccess.Builder extends GeneratedMessageV3.Builder<StorageAccess.Builder> implements StorageAccessOrBuilder

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

Protobuf type google.cloud.dataplex.v1.StorageAccess

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StorageAccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StorageAccess.Builder
Overrides

build()

public StorageAccess build()
Returns
Type Description
StorageAccess

buildPartial()

public StorageAccess buildPartial()
Returns
Type Description
StorageAccess

clear()

public StorageAccess.Builder clear()
Returns
Type Description
StorageAccess.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StorageAccess.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StorageAccess.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StorageAccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StorageAccess.Builder
Overrides

clearRead()

public StorageAccess.Builder clearRead()

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.Builder

This builder for chaining.

clone()

public StorageAccess.Builder clone()
Returns
Type Description
StorageAccess.Builder
Overrides

getDefaultInstanceForType()

public StorageAccess getDefaultInstanceForType()
Returns
Type Description
StorageAccess

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StorageAccess other)

public StorageAccess.Builder mergeFrom(StorageAccess other)
Parameter
Name Description
other StorageAccess
Returns
Type Description
StorageAccess.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StorageAccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageAccess.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StorageAccess.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StorageAccess.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StorageAccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StorageAccess.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StorageAccess.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StorageAccess.Builder
Overrides

setRead(StorageAccess.AccessMode value)

public StorageAccess.Builder setRead(StorageAccess.AccessMode value)

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];

Parameter
Name Description
value StorageAccess.AccessMode

The read to set.

Returns
Type Description
StorageAccess.Builder

This builder for chaining.

setReadValue(int value)

public StorageAccess.Builder setReadValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for read to set.

Returns
Type Description
StorageAccess.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StorageAccess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StorageAccess.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StorageAccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StorageAccess.Builder
Overrides