Class StorageAccess.Builder (1.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StorageAccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StorageAccess.Builder
Overrides

build()

public StorageAccess build()
Returns
TypeDescription
StorageAccess

buildPartial()

public StorageAccess buildPartial()
Returns
TypeDescription
StorageAccess

clear()

public StorageAccess.Builder clear()
Returns
TypeDescription
StorageAccess.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StorageAccess.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StorageAccess.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StorageAccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
StorageAccess.Builder

This builder for chaining.

clone()

public StorageAccess.Builder clone()
Returns
TypeDescription
StorageAccess.Builder
Overrides

getDefaultInstanceForType()

public StorageAccess getDefaultInstanceForType()
Returns
TypeDescription
StorageAccess

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StorageAccess other)

public StorageAccess.Builder mergeFrom(StorageAccess other)
Parameter
NameDescription
otherStorageAccess
Returns
TypeDescription
StorageAccess.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StorageAccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageAccess.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StorageAccess.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StorageAccess.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StorageAccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StorageAccess.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StorageAccess.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueStorageAccess.AccessMode

The read to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StorageAccess.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StorageAccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StorageAccess.Builder
Overrides