Class OtherCloudSingleResourceReference.Builder (3.59.0)

public static final class OtherCloudSingleResourceReference.Builder extends GeneratedMessageV3.Builder<OtherCloudSingleResourceReference.Builder> implements OtherCloudSingleResourceReferenceOrBuilder

Identifies a single resource, like a single Amazon S3 bucket.

Protobuf type google.privacy.dlp.v2.OtherCloudSingleResourceReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OtherCloudSingleResourceReference build()
Returns
Type Description
OtherCloudSingleResourceReference

buildPartial()

public OtherCloudSingleResourceReference buildPartial()
Returns
Type Description
OtherCloudSingleResourceReference

clear()

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

clearAmazonS3Bucket()

public OtherCloudSingleResourceReference.Builder clearAmazonS3Bucket()

Amazon S3 bucket.

.google.privacy.dlp.v2.AmazonS3Bucket amazon_s3_bucket = 1;

Returns
Type Description
OtherCloudSingleResourceReference.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResource()

public OtherCloudSingleResourceReference.Builder clearResource()
Returns
Type Description
OtherCloudSingleResourceReference.Builder

clone()

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

getAmazonS3Bucket()

public AmazonS3Bucket getAmazonS3Bucket()

Amazon S3 bucket.

.google.privacy.dlp.v2.AmazonS3Bucket amazon_s3_bucket = 1;

Returns
Type Description
AmazonS3Bucket

The amazonS3Bucket.

getAmazonS3BucketBuilder()

public AmazonS3Bucket.Builder getAmazonS3BucketBuilder()

Amazon S3 bucket.

.google.privacy.dlp.v2.AmazonS3Bucket amazon_s3_bucket = 1;

Returns
Type Description
AmazonS3Bucket.Builder

getAmazonS3BucketOrBuilder()

public AmazonS3BucketOrBuilder getAmazonS3BucketOrBuilder()

Amazon S3 bucket.

.google.privacy.dlp.v2.AmazonS3Bucket amazon_s3_bucket = 1;

Returns
Type Description
AmazonS3BucketOrBuilder

getDefaultInstanceForType()

public OtherCloudSingleResourceReference getDefaultInstanceForType()
Returns
Type Description
OtherCloudSingleResourceReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getResourceCase()

public OtherCloudSingleResourceReference.ResourceCase getResourceCase()
Returns
Type Description
OtherCloudSingleResourceReference.ResourceCase

hasAmazonS3Bucket()

public boolean hasAmazonS3Bucket()

Amazon S3 bucket.

.google.privacy.dlp.v2.AmazonS3Bucket amazon_s3_bucket = 1;

Returns
Type Description
boolean

Whether the amazonS3Bucket field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAmazonS3Bucket(AmazonS3Bucket value)

public OtherCloudSingleResourceReference.Builder mergeAmazonS3Bucket(AmazonS3Bucket value)

Amazon S3 bucket.

.google.privacy.dlp.v2.AmazonS3Bucket amazon_s3_bucket = 1;

Parameter
Name Description
value AmazonS3Bucket
Returns
Type Description
OtherCloudSingleResourceReference.Builder

mergeFrom(OtherCloudSingleResourceReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAmazonS3Bucket(AmazonS3Bucket value)

public OtherCloudSingleResourceReference.Builder setAmazonS3Bucket(AmazonS3Bucket value)

Amazon S3 bucket.

.google.privacy.dlp.v2.AmazonS3Bucket amazon_s3_bucket = 1;

Parameter
Name Description
value AmazonS3Bucket
Returns
Type Description
OtherCloudSingleResourceReference.Builder

setAmazonS3Bucket(AmazonS3Bucket.Builder builderForValue)

public OtherCloudSingleResourceReference.Builder setAmazonS3Bucket(AmazonS3Bucket.Builder builderForValue)

Amazon S3 bucket.

.google.privacy.dlp.v2.AmazonS3Bucket amazon_s3_bucket = 1;

Parameter
Name Description
builderForValue AmazonS3Bucket.Builder
Returns
Type Description
OtherCloudSingleResourceReference.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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