public static final class BucketDestination.Builder extends GeneratedMessage.Builder<BucketDestination.Builder> implements BucketDestinationOrBuilderA Cloud Storage bucket destination.
Protobuf type google.cloud.cloudsecuritycompliance.v1.BucketDestination
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BucketDestination.BuilderImplements
BucketDestinationOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BucketDestination.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BucketDestination.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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.FormatThe 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 |
intThe enum numeric value on the wire for frameworkAuditFormat to set. |
| Returns | |
|---|---|
| Type | Description |
BucketDestination.Builder |
This builder for chaining. |