public static final class CSVOptions.Builder extends GeneratedMessage.Builder<CSVOptions.Builder> implements CSVOptionsOrBuilderOptions to configure CSV formatted reports.
Protobuf type google.cloud.storageinsights.v1.CSVOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CSVOptions.BuilderImplements
CSVOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearDelimiter()
public CSVOptions.Builder clearDelimiter()Delimiter characters in CSV.
string delimiter = 2;
| Returns | |
|---|---|
| Type | Description |
CSVOptions.Builder |
This builder for chaining. |
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. |
clearRecordSeparator()
public CSVOptions.Builder clearRecordSeparator()Record separator characters in CSV.
string record_separator = 1;
| Returns | |
|---|---|
| Type | Description |
CSVOptions.Builder |
This builder for chaining. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CSVOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CSVOptions.Builder |
|
setDelimiter(String value)
public CSVOptions.Builder setDelimiter(String value)Delimiter characters in CSV.
string delimiter = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for delimiter to set. |
| Returns | |
|---|---|
| Type | Description |
CSVOptions.Builder |
This builder for chaining. |
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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe bytes for recordSeparator to set. |
| Returns | |
|---|---|
| Type | Description |
CSVOptions.Builder |
This builder for chaining. |