Class CloudStorageDestinationOptions.Builder (0.30.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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