Class IngestionDataSourceSettings (1.132.0)

public final class IngestionDataSourceSettings extends GeneratedMessageV3 implements IngestionDataSourceSettingsOrBuilder

Settings for an ingestion data source on a topic.

Protobuf type google.pubsub.v1.IngestionDataSourceSettings

Static Fields

AWS_KINESIS_FIELD_NUMBER

public static final int AWS_KINESIS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IngestionDataSourceSettings getDefaultInstance()
Returns
Type Description
IngestionDataSourceSettings

getDescriptor()

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

newBuilder()

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

newBuilder(IngestionDataSourceSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAwsKinesis()

public IngestionDataSourceSettings.AwsKinesis getAwsKinesis()

Optional. Amazon Kinesis Data Streams.

.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.AwsKinesis

The awsKinesis.

getAwsKinesisOrBuilder()

public IngestionDataSourceSettings.AwsKinesisOrBuilder getAwsKinesisOrBuilder()

Optional. Amazon Kinesis Data Streams.

.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.AwsKinesisOrBuilder

getDefaultInstanceForType()

public IngestionDataSourceSettings getDefaultInstanceForType()
Returns
Type Description
IngestionDataSourceSettings

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public IngestionDataSourceSettings.SourceCase getSourceCase()
Returns
Type Description
IngestionDataSourceSettings.SourceCase

hasAwsKinesis()

public boolean hasAwsKinesis()

Optional. Amazon Kinesis Data Streams.

.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the awsKinesis 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.Builder newBuilderForType()
Returns
Type Description
IngestionDataSourceSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestionDataSourceSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IngestionDataSourceSettings.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.Builder toBuilder()
Returns
Type Description
IngestionDataSourceSettings.Builder

writeTo(CodedOutputStream output)

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