Class IngestionDataSourceSettings (1.126.6)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static IngestionDataSourceSettings getDefaultInstance()
Returns
TypeDescription
IngestionDataSourceSettings

getDescriptor()

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

newBuilder()

public static IngestionDataSourceSettings.Builder newBuilder()
Returns
TypeDescription
IngestionDataSourceSettings.Builder

newBuilder(IngestionDataSourceSettings prototype)

public static IngestionDataSourceSettings.Builder newBuilder(IngestionDataSourceSettings prototype)
Parameter
NameDescription
prototypeIngestionDataSourceSettings
Returns
TypeDescription
IngestionDataSourceSettings.Builder

parseDelimitedFrom(InputStream input)

public static IngestionDataSourceSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IngestionDataSourceSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static IngestionDataSourceSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IngestionDataSourceSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static IngestionDataSourceSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IngestionDataSourceSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static IngestionDataSourceSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IngestionDataSourceSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static IngestionDataSourceSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IngestionDataSourceSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<IngestionDataSourceSettings> parser()
Returns
TypeDescription
Parser<IngestionDataSourceSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IngestionDataSourceSettings.AwsKinesisOrBuilder

getDefaultInstanceForType()

public IngestionDataSourceSettings getDefaultInstanceForType()
Returns
TypeDescription
IngestionDataSourceSettings

getParserForType()

public Parser<IngestionDataSourceSettings> getParserForType()
Returns
TypeDescription
Parser<IngestionDataSourceSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public IngestionDataSourceSettings.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the awsKinesis field is set.

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 IngestionDataSourceSettings.Builder newBuilderForType()
Returns
TypeDescription
IngestionDataSourceSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public IngestionDataSourceSettings.Builder toBuilder()
Returns
TypeDescription
IngestionDataSourceSettings.Builder

writeTo(CodedOutputStream output)

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