public static final class IngestionDataSourceSettings.CloudStorage.TextFormat.Builder extends GeneratedMessageV3.Builder<IngestionDataSourceSettings.CloudStorage.TextFormat.Builder> implements IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder
Configuration for reading Cloud Storage data in text format. Each line of
text as specified by the delimiter will be set to the data
field of a
Pub/Sub message.
Protobuf type google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestionDataSourceSettings.CloudStorage.TextFormat.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
build()
public IngestionDataSourceSettings.CloudStorage.TextFormat build()
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat |
buildPartial()
public IngestionDataSourceSettings.CloudStorage.TextFormat buildPartial()
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat |
clear()
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clear()
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
clearDelimiter()
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clearDelimiter()
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
clone()
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clone()
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
getDefaultInstanceForType()
public IngestionDataSourceSettings.CloudStorage.TextFormat getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat |
getDelimiter()
public String getDelimiter()
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The delimiter. |
getDelimiterBytes()
public ByteString getDelimiterBytes()
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for delimiter. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
hasDelimiter()
public boolean hasDelimiter()
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the delimiter field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
mergeFrom(IngestionDataSourceSettings.CloudStorage.TextFormat other)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder mergeFrom(IngestionDataSourceSettings.CloudStorage.TextFormat other)
Parameter | |
---|---|
Name | Description |
other |
IngestionDataSourceSettings.CloudStorage.TextFormat |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.CloudStorage.TextFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
setDelimiter(String value)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder setDelimiter(String value)
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The delimiter to set. |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
This builder for chaining. |
setDelimiterBytes(ByteString value)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder setDelimiterBytes(ByteString value)
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for delimiter to set. |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.CloudStorage.TextFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder |