Class CloudStorageDestinationOptions.Builder (0.68.0)

public static final class CloudStorageDestinationOptions.Builder extends GeneratedMessage.Builder<CloudStorageDestinationOptions.Builder> implements CloudStorageDestinationOptionsOrBuilder

Options to store reports in storage systems. Next ID: 3

Protobuf type google.cloud.storageinsights.v1.CloudStorageDestinationOptions

Static Methods

getDescriptor()

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

Methods

build()

public CloudStorageDestinationOptions build()
Returns
Type Description
CloudStorageDestinationOptions

buildPartial()

public CloudStorageDestinationOptions buildPartial()
Returns
Type Description
CloudStorageDestinationOptions

clear()

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

clearBucket()

public CloudStorageDestinationOptions.Builder clearBucket()

Destination bucket.

string bucket = 1;

Returns
Type Description
CloudStorageDestinationOptions.Builder

This builder for chaining.

clearDestinationPath()

public CloudStorageDestinationOptions.Builder clearDestinationPath()

Destination path is the path in the bucket where the report should be generated.

string destination_path = 2;

Returns
Type Description
CloudStorageDestinationOptions.Builder

This builder for chaining.

getBucket()

public String getBucket()

Destination bucket.

string bucket = 1;

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Destination bucket.

string bucket = 1;

Returns
Type Description
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public CloudStorageDestinationOptions getDefaultInstanceForType()
Returns
Type Description
CloudStorageDestinationOptions

getDescriptorForType()

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

getDestinationPath()

public String getDestinationPath()

Destination path is the path in the bucket where the report should be generated.

string destination_path = 2;

Returns
Type Description
String

The destinationPath.

getDestinationPathBytes()

public ByteString getDestinationPathBytes()

Destination path is the path in the bucket where the report should be generated.

string destination_path = 2;

Returns
Type Description
ByteString

The bytes for destinationPath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudStorageDestinationOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBucket(String value)

public CloudStorageDestinationOptions.Builder setBucket(String value)

Destination bucket.

string bucket = 1;

Parameter
Name Description
value String

The bucket to set.

Returns
Type Description
CloudStorageDestinationOptions.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public CloudStorageDestinationOptions.Builder setBucketBytes(ByteString value)

Destination bucket.

string bucket = 1;

Parameter
Name Description
value ByteString

The bytes for bucket to set.

Returns
Type Description
CloudStorageDestinationOptions.Builder

This builder for chaining.

setDestinationPath(String value)

public CloudStorageDestinationOptions.Builder setDestinationPath(String value)

Destination path is the path in the bucket where the report should be generated.

string destination_path = 2;

Parameter
Name Description
value String

The destinationPath to set.

Returns
Type Description
CloudStorageDestinationOptions.Builder

This builder for chaining.

setDestinationPathBytes(ByteString value)

public CloudStorageDestinationOptions.Builder setDestinationPathBytes(ByteString value)

Destination path is the path in the bucket where the report should be generated.

string destination_path = 2;

Parameter
Name Description
value ByteString

The bytes for destinationPath to set.

Returns
Type Description
CloudStorageDestinationOptions.Builder

This builder for chaining.