Class BucketDestination.Builder (0.12.0)

public static final class BucketDestination.Builder extends GeneratedMessage.Builder<BucketDestination.Builder> implements BucketDestinationOrBuilder

A Cloud Storage bucket destination.

Protobuf type google.cloud.cloudsecuritycompliance.v1.BucketDestination

Static Methods

getDescriptor()

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

Methods

build()

public BucketDestination build()
Returns
Type Description
BucketDestination

buildPartial()

public BucketDestination buildPartial()
Returns
Type Description
BucketDestination

clear()

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

clearBucketUri()

public BucketDestination.Builder clearBucketUri()

Required. The URI of the Cloud Storage bucket.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BucketDestination.Builder

This builder for chaining.

clearFrameworkAuditFormat()

public BucketDestination.Builder clearFrameworkAuditFormat()

Optional. The format of the framework audit.

.google.cloud.cloudsecuritycompliance.v1.BucketDestination.Format framework_audit_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BucketDestination.Builder

This builder for chaining.

getBucketUri()

public String getBucketUri()

Required. The URI of the Cloud Storage bucket.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucketUri.

getBucketUriBytes()

public ByteString getBucketUriBytes()

Required. The URI of the Cloud Storage bucket.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucketUri.

getDefaultInstanceForType()

public BucketDestination getDefaultInstanceForType()
Returns
Type Description
BucketDestination

getDescriptorForType()

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

getFrameworkAuditFormat()

public BucketDestination.Format getFrameworkAuditFormat()

Optional. The format of the framework audit.

.google.cloud.cloudsecuritycompliance.v1.BucketDestination.Format framework_audit_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BucketDestination.Format

The frameworkAuditFormat.

getFrameworkAuditFormatValue()

public int getFrameworkAuditFormatValue()

Optional. The format of the framework audit.

.google.cloud.cloudsecuritycompliance.v1.BucketDestination.Format framework_audit_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for frameworkAuditFormat.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BucketDestination other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBucketUri(String value)

public BucketDestination.Builder setBucketUri(String value)

Required. The URI of the Cloud Storage bucket.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The bucketUri to set.

Returns
Type Description
BucketDestination.Builder

This builder for chaining.

setBucketUriBytes(ByteString value)

public BucketDestination.Builder setBucketUriBytes(ByteString value)

Required. The URI of the Cloud Storage bucket.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for bucketUri to set.

Returns
Type Description
BucketDestination.Builder

This builder for chaining.

setFrameworkAuditFormat(BucketDestination.Format value)

public BucketDestination.Builder setFrameworkAuditFormat(BucketDestination.Format value)

Optional. The format of the framework audit.

.google.cloud.cloudsecuritycompliance.v1.BucketDestination.Format framework_audit_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BucketDestination.Format

The frameworkAuditFormat to set.

Returns
Type Description
BucketDestination.Builder

This builder for chaining.

setFrameworkAuditFormatValue(int value)

public BucketDestination.Builder setFrameworkAuditFormatValue(int value)

Optional. The format of the framework audit.

.google.cloud.cloudsecuritycompliance.v1.BucketDestination.Format framework_audit_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
BucketDestination.Builder

This builder for chaining.