Class BucketDestination.Builder (0.7.0)

public static final class BucketDestination.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BucketDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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