Package com.google.cloud.alloydb.v1beta
Class ExportClusterRequest.CsvExportOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder>
com.google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptions.Builder
- All Implemented Interfaces:
ExportClusterRequest.CsvExportOptionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExportClusterRequest.CsvExportOptions
public static final class ExportClusterRequest.CsvExportOptions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder>
implements ExportClusterRequest.CsvExportOptionsOrBuilder
Options for exporting data in CSV format.Protobuf type
google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptions-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEscapeCharacter(String value) Optional.setEscapeCharacterBytes(com.google.protobuf.ByteString value) Optional.setFieldDelimiter(String value) Optional.setFieldDelimiterBytes(com.google.protobuf.ByteString value) Optional.setQuoteCharacter(String value) Optional.setQuoteCharacterBytes(com.google.protobuf.ByteString value) Optional.setSelectQuery(String value) Required.setSelectQueryBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder>
-
mergeFrom
public ExportClusterRequest.CsvExportOptions.Builder mergeFrom(ExportClusterRequest.CsvExportOptions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder>
-
mergeFrom
public ExportClusterRequest.CsvExportOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder>- Throws:
IOException
-
getSelectQuery
Required. The SELECT query used to extract the data.
string select_query = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSelectQueryin interfaceExportClusterRequest.CsvExportOptionsOrBuilder- Returns:
- The selectQuery.
-
getSelectQueryBytes
public com.google.protobuf.ByteString getSelectQueryBytes()Required. The SELECT query used to extract the data.
string select_query = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSelectQueryBytesin interfaceExportClusterRequest.CsvExportOptionsOrBuilder- Returns:
- The bytes for selectQuery.
-
setSelectQuery
Required. The SELECT query used to extract the data.
string select_query = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The selectQuery to set.- Returns:
- This builder for chaining.
-
clearSelectQuery
Required. The SELECT query used to extract the data.
string select_query = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setSelectQueryBytes
public ExportClusterRequest.CsvExportOptions.Builder setSelectQueryBytes(com.google.protobuf.ByteString value) Required. The SELECT query used to extract the data.
string select_query = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for selectQuery to set.- Returns:
- This builder for chaining.
-
getFieldDelimiter
Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFieldDelimiterin interfaceExportClusterRequest.CsvExportOptionsOrBuilder- Returns:
- The fieldDelimiter.
-
getFieldDelimiterBytes
public com.google.protobuf.ByteString getFieldDelimiterBytes()Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFieldDelimiterBytesin interfaceExportClusterRequest.CsvExportOptionsOrBuilder- Returns:
- The bytes for fieldDelimiter.
-
setFieldDelimiter
Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The fieldDelimiter to set.- Returns:
- This builder for chaining.
-
clearFieldDelimiter
Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setFieldDelimiterBytes
public ExportClusterRequest.CsvExportOptions.Builder setFieldDelimiterBytes(com.google.protobuf.ByteString value) Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for fieldDelimiter to set.- Returns:
- This builder for chaining.
-
getQuoteCharacter
Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getQuoteCharacterin interfaceExportClusterRequest.CsvExportOptionsOrBuilder- Returns:
- The quoteCharacter.
-
getQuoteCharacterBytes
public com.google.protobuf.ByteString getQuoteCharacterBytes()Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getQuoteCharacterBytesin interfaceExportClusterRequest.CsvExportOptionsOrBuilder- Returns:
- The bytes for quoteCharacter.
-
setQuoteCharacter
Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The quoteCharacter to set.- Returns:
- This builder for chaining.
-
clearQuoteCharacter
Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setQuoteCharacterBytes
public ExportClusterRequest.CsvExportOptions.Builder setQuoteCharacterBytes(com.google.protobuf.ByteString value) Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for quoteCharacter to set.- Returns:
- This builder for chaining.
-
getEscapeCharacter
Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.
string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEscapeCharacterin interfaceExportClusterRequest.CsvExportOptionsOrBuilder- Returns:
- The escapeCharacter.
-
getEscapeCharacterBytes
public com.google.protobuf.ByteString getEscapeCharacterBytes()Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.
string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEscapeCharacterBytesin interfaceExportClusterRequest.CsvExportOptionsOrBuilder- Returns:
- The bytes for escapeCharacter.
-
setEscapeCharacter
Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.
string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The escapeCharacter to set.- Returns:
- This builder for chaining.
-
clearEscapeCharacter
Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.
string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setEscapeCharacterBytes
public ExportClusterRequest.CsvExportOptions.Builder setEscapeCharacterBytes(com.google.protobuf.ByteString value) Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.
string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for escapeCharacter to set.- Returns:
- This builder for chaining.
-