Class BucketDestination (0.7.0)

public final class BucketDestination extends GeneratedMessageV3 implements BucketDestinationOrBuilder

A Cloud Storage bucket destination.

Protobuf type google.cloud.cloudsecuritycompliance.v1.BucketDestination

Static Fields

BUCKET_URI_FIELD_NUMBER

public static final int BUCKET_URI_FIELD_NUMBER
Field Value
Type Description
int

FRAMEWORK_AUDIT_FORMAT_FIELD_NUMBER

public static final int FRAMEWORK_AUDIT_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BucketDestination getDefaultInstance()
Returns
Type Description
BucketDestination

getDescriptor()

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

newBuilder()

public static BucketDestination.Builder newBuilder()
Returns
Type Description
BucketDestination.Builder

newBuilder(BucketDestination prototype)

public static BucketDestination.Builder newBuilder(BucketDestination prototype)
Parameter
Name Description
prototype BucketDestination
Returns
Type Description
BucketDestination.Builder

parseDelimitedFrom(InputStream input)

public static BucketDestination parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BucketDestination
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BucketDestination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketDestination
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BucketDestination parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BucketDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BucketDestination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BucketDestination parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BucketDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BucketDestination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BucketDestination parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BucketDestination
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BucketDestination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketDestination
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BucketDestination parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BucketDestination
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BucketDestination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketDestination
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BucketDestination parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BucketDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BucketDestination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketDestination
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BucketDestination> parser()
Returns
Type Description
Parser<BucketDestination>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<BucketDestination> getParserForType()
Returns
Type Description
Parser<BucketDestination>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BucketDestination.Builder newBuilderForType()
Returns
Type Description
BucketDestination.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BucketDestination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BucketDestination.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BucketDestination.Builder toBuilder()
Returns
Type Description
BucketDestination.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException