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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CSVOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CSVOptions build()
buildPartial()
public CSVOptions buildPartial()
clear()
public CSVOptions.Builder clear()
Overrides
clearDelimiter()
public CSVOptions.Builder clearDelimiter()
Delimiter characters in CSV.
string delimiter = 2;
clearField(Descriptors.FieldDescriptor field)
public CSVOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CSVOptions.Builder clearHeaderRequired()
If set, will include a header row in the CSV report.
bool header_required = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public CSVOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRecordSeparator()
public CSVOptions.Builder clearRecordSeparator()
Record separator characters in CSV.
string record_separator = 1;
clone()
public CSVOptions.Builder clone()
Overrides
getDefaultInstanceForType()
public CSVOptions getDefaultInstanceForType()
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()
Overrides
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CSVOptions other)
public CSVOptions.Builder mergeFrom(CSVOptions other)
public CSVOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CSVOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CSVOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CSVOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CSVOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CSVOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides