Class CloudStorageConfig.TextConfig (1.125.6)

public static final class CloudStorageConfig.TextConfig extends GeneratedMessageV3 implements CloudStorageConfig.TextConfigOrBuilder

Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline.

Protobuf type google.pubsub.v1.CloudStorageConfig.TextConfig

Static Methods

getDefaultInstance()

public static CloudStorageConfig.TextConfig getDefaultInstance()
Returns
TypeDescription
CloudStorageConfig.TextConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CloudStorageConfig.TextConfig.Builder newBuilder()
Returns
TypeDescription
CloudStorageConfig.TextConfig.Builder

newBuilder(CloudStorageConfig.TextConfig prototype)

public static CloudStorageConfig.TextConfig.Builder newBuilder(CloudStorageConfig.TextConfig prototype)
Parameter
NameDescription
prototypeCloudStorageConfig.TextConfig
Returns
TypeDescription
CloudStorageConfig.TextConfig.Builder

parseDelimitedFrom(InputStream input)

public static CloudStorageConfig.TextConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudStorageConfig.TextConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CloudStorageConfig.TextConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudStorageConfig.TextConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudStorageConfig.TextConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudStorageConfig.TextConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudStorageConfig.TextConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudStorageConfig.TextConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CloudStorageConfig.TextConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudStorageConfig.TextConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CloudStorageConfig.TextConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudStorageConfig.TextConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudStorageConfig.TextConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CloudStorageConfig.TextConfig> parser()
Returns
TypeDescription
Parser<TextConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CloudStorageConfig.TextConfig getDefaultInstanceForType()
Returns
TypeDescription
CloudStorageConfig.TextConfig

getParserForType()

public Parser<CloudStorageConfig.TextConfig> getParserForType()
Returns
TypeDescription
Parser<TextConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CloudStorageConfig.TextConfig.Builder newBuilderForType()
Returns
TypeDescription
CloudStorageConfig.TextConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudStorageConfig.TextConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CloudStorageConfig.TextConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CloudStorageConfig.TextConfig.Builder toBuilder()
Returns
TypeDescription
CloudStorageConfig.TextConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException