Class CSVOptions.Builder (0.40.0)

public static final class CSVOptions.Builder extends GeneratedMessageV3.Builder<CSVOptions.Builder> implements CSVOptionsOrBuilder

Options to configure CSV formatted reports.

Protobuf type google.cloud.storageinsights.v1.CSVOptions

Implements

CSVOptionsOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CSVOptions build()
Returns
Type Description
CSVOptions

buildPartial()

public CSVOptions buildPartial()
Returns
Type Description
CSVOptions

clear()

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

clearDelimiter()

public CSVOptions.Builder clearDelimiter()

Delimiter characters in CSV.

string delimiter = 2;

Returns
Type Description
CSVOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHeaderRequired()

public CSVOptions.Builder clearHeaderRequired()

If set, will include a header row in the CSV report.

bool header_required = 3;

Returns
Type Description
CSVOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRecordSeparator()

public CSVOptions.Builder clearRecordSeparator()

Record separator characters in CSV.

string record_separator = 1;

Returns
Type Description
CSVOptions.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CSVOptions getDefaultInstanceForType()
Returns
Type Description
CSVOptions

getDelimiter()

public String getDelimiter()

Delimiter characters in CSV.

string delimiter = 2;

Returns
Type Description
String

The delimiter.

getDelimiterBytes()

public ByteString getDelimiterBytes()

Delimiter characters in CSV.

string delimiter = 2;

Returns
Type Description
ByteString

The bytes for delimiter.

getDescriptorForType()

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

getHeaderRequired()

public boolean getHeaderRequired()

If set, will include a header row in the CSV report.

bool header_required = 3;

Returns
Type Description
boolean

The headerRequired.

getRecordSeparator()

public String getRecordSeparator()

Record separator characters in CSV.

string record_separator = 1;

Returns
Type Description
String

The recordSeparator.

getRecordSeparatorBytes()

public ByteString getRecordSeparatorBytes()

Record separator characters in CSV.

string record_separator = 1;

Returns
Type Description
ByteString

The bytes for recordSeparator.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CSVOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CSVOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CSVOptions.Builder
Overrides

setDelimiter(String value)

public CSVOptions.Builder setDelimiter(String value)

Delimiter characters in CSV.

string delimiter = 2;

Parameter
Name Description
value String

The delimiter to set.

Returns
Type Description
CSVOptions.Builder

This builder for chaining.

setDelimiterBytes(ByteString value)

public CSVOptions.Builder setDelimiterBytes(ByteString value)

Delimiter characters in CSV.

string delimiter = 2;

Parameter
Name Description
value ByteString

The bytes for delimiter to set.

Returns
Type Description
CSVOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHeaderRequired(boolean value)

public CSVOptions.Builder setHeaderRequired(boolean value)

If set, will include a header row in the CSV report.

bool header_required = 3;

Parameter
Name Description
value boolean

The headerRequired to set.

Returns
Type Description
CSVOptions.Builder

This builder for chaining.

setRecordSeparator(String value)

public CSVOptions.Builder setRecordSeparator(String value)

Record separator characters in CSV.

string record_separator = 1;

Parameter
Name Description
value String

The recordSeparator to set.

Returns
Type Description
CSVOptions.Builder

This builder for chaining.

setRecordSeparatorBytes(ByteString value)

public CSVOptions.Builder setRecordSeparatorBytes(ByteString value)

Record separator characters in CSV.

string record_separator = 1;

Parameter
Name Description
value ByteString

The bytes for recordSeparator to set.

Returns
Type Description
CSVOptions.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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