Class IngestionDataSourceSettings.CloudStorage.TextFormat (1.133.1)

public static final class IngestionDataSourceSettings.CloudStorage.TextFormat extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IngestionDataSourceSettings.CloudStorage.TextFormat

Static Fields

DELIMITER_FIELD_NUMBER

public static final int DELIMITER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IngestionDataSourceSettings.CloudStorage.TextFormat getDefaultInstance()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IngestionDataSourceSettings.CloudStorage.TextFormat.Builder newBuilder()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder

newBuilder(IngestionDataSourceSettings.CloudStorage.TextFormat prototype)

public static IngestionDataSourceSettings.CloudStorage.TextFormat.Builder newBuilder(IngestionDataSourceSettings.CloudStorage.TextFormat prototype)
Parameter
Name Description
prototype IngestionDataSourceSettings.CloudStorage.TextFormat
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder

parseDelimitedFrom(InputStream input)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IngestionDataSourceSettings.CloudStorage.TextFormat> parser()
Returns
Type Description
Parser<TextFormat>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

getParserForType()

public Parser<IngestionDataSourceSettings.CloudStorage.TextFormat> getParserForType()
Returns
Type Description
Parser<TextFormat>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder newBuilderForType()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestionDataSourceSettings.CloudStorage.TextFormat.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder toBuilder()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException