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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 IngestionDataSourceSettings.CloudStorage.TextFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IngestionDataSourceSettings.CloudStorage.TextFormat build()
buildPartial()
public IngestionDataSourceSettings.CloudStorage.TextFormat buildPartial()
clear()
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clear()
Overrides
clearDelimiter()
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clearDelimiter()
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder clone()
Overrides
getDefaultInstanceForType()
public IngestionDataSourceSettings.CloudStorage.TextFormat getDefaultInstanceForType()
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()
Overrides
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(IngestionDataSourceSettings.CloudStorage.TextFormat other)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder mergeFrom(IngestionDataSourceSettings.CloudStorage.TextFormat other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.CloudStorage.TextFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.CloudStorage.TextFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides