Send feedback
Class IngestionDataSourceSettings (1.142.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class IngestionDataSourceSettings extends GeneratedMessageV3 implements IngestionDataSourceSettingsOrBuilder
Settings for an ingestion data source on a topic.
Protobuf type google.pubsub.v1.IngestionDataSourceSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AWS_KINESIS_FIELD_NUMBER
public static final int AWS_KINESIS_FIELD_NUMBER
Field Value
Type
Description
int
AWS_MSK_FIELD_NUMBER
public static final int AWS_MSK_FIELD_NUMBER
Field Value
Type
Description
int
AZURE_EVENT_HUBS_FIELD_NUMBER
public static final int AZURE_EVENT_HUBS_FIELD_NUMBER
Field Value
Type
Description
int
CLOUD_STORAGE_FIELD_NUMBER
public static final int CLOUD_STORAGE_FIELD_NUMBER
Field Value
Type
Description
int
CONFLUENT_CLOUD_FIELD_NUMBER
public static final int CONFLUENT_CLOUD_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PLATFORM_LOGS_SETTINGS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static IngestionDataSourceSettings getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static IngestionDataSourceSettings . Builder newBuilder ()
newBuilder(IngestionDataSourceSettings prototype)
public static IngestionDataSourceSettings . Builder newBuilder ( IngestionDataSourceSettings prototype )
public static IngestionDataSourceSettings parseDelimitedFrom ( InputStream input )
public static IngestionDataSourceSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static IngestionDataSourceSettings parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static IngestionDataSourceSettings parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static IngestionDataSourceSettings parseFrom ( CodedInputStream input )
public static IngestionDataSourceSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static IngestionDataSourceSettings parseFrom ( InputStream input )
public static IngestionDataSourceSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static IngestionDataSourceSettings parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<IngestionDataSourceSettings> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAwsKinesis()
public IngestionDataSourceSettings . AwsKinesis getAwsKinesis ()
Optional. Amazon Kinesis Data Streams.
.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
getAwsKinesisOrBuilder()
public IngestionDataSourceSettings . AwsKinesisOrBuilder getAwsKinesisOrBuilder ()
Optional. Amazon Kinesis Data Streams.
.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
getAwsMsk()
public IngestionDataSourceSettings . AwsMsk getAwsMsk ()
Optional. Amazon MSK.
.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk aws_msk = 5 [(.google.api.field_behavior) = OPTIONAL];
getAwsMskOrBuilder()
public IngestionDataSourceSettings . AwsMskOrBuilder getAwsMskOrBuilder ()
Optional. Amazon MSK.
.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk aws_msk = 5 [(.google.api.field_behavior) = OPTIONAL];
getAzureEventHubs()
public IngestionDataSourceSettings . AzureEventHubs getAzureEventHubs ()
Optional. Azure Event Hubs.
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs azure_event_hubs = 3 [(.google.api.field_behavior) = OPTIONAL];
getAzureEventHubsOrBuilder()
public IngestionDataSourceSettings . AzureEventHubsOrBuilder getAzureEventHubsOrBuilder ()
Optional. Azure Event Hubs.
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs azure_event_hubs = 3 [(.google.api.field_behavior) = OPTIONAL];
getCloudStorage()
public IngestionDataSourceSettings . CloudStorage getCloudStorage ()
Optional. Cloud Storage.
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
getCloudStorageOrBuilder()
public IngestionDataSourceSettings . CloudStorageOrBuilder getCloudStorageOrBuilder ()
Optional. Cloud Storage.
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
getConfluentCloud()
public IngestionDataSourceSettings . ConfluentCloud getConfluentCloud ()
Optional. Confluent Cloud.
.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud confluent_cloud = 6 [(.google.api.field_behavior) = OPTIONAL];
getConfluentCloudOrBuilder()
public IngestionDataSourceSettings . ConfluentCloudOrBuilder getConfluentCloudOrBuilder ()
Optional. Confluent Cloud.
.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud confluent_cloud = 6 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public IngestionDataSourceSettings getDefaultInstanceForType ()
getParserForType()
public Parser<IngestionDataSourceSettings> getParserForType ()
Overrides
public PlatformLogsSettings getPlatformLogsSettings ()
Optional. Platform Logs settings. If unset, no Platform Logs will be
generated.
.google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
public PlatformLogsSettingsOrBuilder getPlatformLogsSettingsOrBuilder ()
Optional. Platform Logs settings. If unset, no Platform Logs will be
generated.
.google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSourceCase()
public IngestionDataSourceSettings . SourceCase getSourceCase ()
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.
hasAwsMsk()
public boolean hasAwsMsk ()
Optional. Amazon MSK.
.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk aws_msk = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the awsMsk field is set.
hasAzureEventHubs()
public boolean hasAzureEventHubs ()
Optional. Azure Event Hubs.
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs azure_event_hubs = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the azureEventHubs field is set.
hasCloudStorage()
public boolean hasCloudStorage ()
Optional. Cloud Storage.
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the cloudStorage field is set.
hasConfluentCloud()
public boolean hasConfluentCloud ()
Optional. Confluent Cloud.
.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud confluent_cloud = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the confluentCloud field is set.
public boolean hasPlatformLogsSettings ()
Optional. Platform Logs settings. If unset, no Platform Logs will be
generated.
.google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the platformLogsSettings field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public IngestionDataSourceSettings . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestionDataSourceSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public IngestionDataSourceSettings . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]