Class IngestionDataSourceSettings.Builder (1.134.1)

public static final class IngestionDataSourceSettings.Builder extends GeneratedMessageV3.Builder<IngestionDataSourceSettings.Builder> implements IngestionDataSourceSettingsOrBuilder

Settings for an ingestion data source on a topic.

Protobuf type google.pubsub.v1.IngestionDataSourceSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IngestionDataSourceSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides

build()

public IngestionDataSourceSettings build()
Returns
Type Description
IngestionDataSourceSettings

buildPartial()

public IngestionDataSourceSettings buildPartial()
Returns
Type Description
IngestionDataSourceSettings

clear()

public IngestionDataSourceSettings.Builder clear()
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides

clearAwsKinesis()

public IngestionDataSourceSettings.Builder clearAwsKinesis()

Optional. Amazon Kinesis Data Streams.

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

Returns
Type Description
IngestionDataSourceSettings.Builder

clearCloudStorage()

public IngestionDataSourceSettings.Builder clearCloudStorage()

Optional. Cloud Storage.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.Builder

clearField(Descriptors.FieldDescriptor field)

public IngestionDataSourceSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestionDataSourceSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides

clearPlatformLogsSettings()

public IngestionDataSourceSettings.Builder clearPlatformLogsSettings()

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
IngestionDataSourceSettings.Builder

clearSource()

public IngestionDataSourceSettings.Builder clearSource()
Returns
Type Description
IngestionDataSourceSettings.Builder

clone()

public IngestionDataSourceSettings.Builder clone()
Returns
Type Description
IngestionDataSourceSettings.Builder
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.

getAwsKinesisBuilder()

public IngestionDataSourceSettings.AwsKinesis.Builder getAwsKinesisBuilder()

Optional. Amazon Kinesis Data Streams.

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

Returns
Type Description
IngestionDataSourceSettings.AwsKinesis.Builder

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

getCloudStorage()

public IngestionDataSourceSettings.CloudStorage getCloudStorage()

Optional. Cloud Storage.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage

The cloudStorage.

getCloudStorageBuilder()

public IngestionDataSourceSettings.CloudStorage.Builder getCloudStorageBuilder()

Optional. Cloud Storage.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

getCloudStorageOrBuilder()

public IngestionDataSourceSettings.CloudStorageOrBuilder getCloudStorageOrBuilder()

Optional. Cloud Storage.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorageOrBuilder

getDefaultInstanceForType()

public IngestionDataSourceSettings getDefaultInstanceForType()
Returns
Type Description
IngestionDataSourceSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPlatformLogsSettings()

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];

Returns
Type Description
PlatformLogsSettings

The platformLogsSettings.

getPlatformLogsSettingsBuilder()

public PlatformLogsSettings.Builder getPlatformLogsSettingsBuilder()

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
PlatformLogsSettings.Builder

getPlatformLogsSettingsOrBuilder()

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];

Returns
Type Description
PlatformLogsSettingsOrBuilder

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.

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.

hasPlatformLogsSettings()

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAwsKinesis(IngestionDataSourceSettings.AwsKinesis value)

public IngestionDataSourceSettings.Builder mergeAwsKinesis(IngestionDataSourceSettings.AwsKinesis value)

Optional. Amazon Kinesis Data Streams.

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

Parameter
Name Description
value IngestionDataSourceSettings.AwsKinesis
Returns
Type Description
IngestionDataSourceSettings.Builder

mergeCloudStorage(IngestionDataSourceSettings.CloudStorage value)

public IngestionDataSourceSettings.Builder mergeCloudStorage(IngestionDataSourceSettings.CloudStorage value)

Optional. Cloud Storage.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IngestionDataSourceSettings.CloudStorage
Returns
Type Description
IngestionDataSourceSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestionDataSourceSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IngestionDataSourceSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides

mergeFrom(IngestionDataSourceSettings other)

public IngestionDataSourceSettings.Builder mergeFrom(IngestionDataSourceSettings other)
Parameter
Name Description
other IngestionDataSourceSettings
Returns
Type Description
IngestionDataSourceSettings.Builder

mergePlatformLogsSettings(PlatformLogsSettings value)

public IngestionDataSourceSettings.Builder mergePlatformLogsSettings(PlatformLogsSettings value)

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];

Parameter
Name Description
value PlatformLogsSettings
Returns
Type Description
IngestionDataSourceSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestionDataSourceSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides

setAwsKinesis(IngestionDataSourceSettings.AwsKinesis value)

public IngestionDataSourceSettings.Builder setAwsKinesis(IngestionDataSourceSettings.AwsKinesis value)

Optional. Amazon Kinesis Data Streams.

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

Parameter
Name Description
value IngestionDataSourceSettings.AwsKinesis
Returns
Type Description
IngestionDataSourceSettings.Builder

setAwsKinesis(IngestionDataSourceSettings.AwsKinesis.Builder builderForValue)

public IngestionDataSourceSettings.Builder setAwsKinesis(IngestionDataSourceSettings.AwsKinesis.Builder builderForValue)

Optional. Amazon Kinesis Data Streams.

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

Parameter
Name Description
builderForValue IngestionDataSourceSettings.AwsKinesis.Builder
Returns
Type Description
IngestionDataSourceSettings.Builder

setCloudStorage(IngestionDataSourceSettings.CloudStorage value)

public IngestionDataSourceSettings.Builder setCloudStorage(IngestionDataSourceSettings.CloudStorage value)

Optional. Cloud Storage.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IngestionDataSourceSettings.CloudStorage
Returns
Type Description
IngestionDataSourceSettings.Builder

setCloudStorage(IngestionDataSourceSettings.CloudStorage.Builder builderForValue)

public IngestionDataSourceSettings.Builder setCloudStorage(IngestionDataSourceSettings.CloudStorage.Builder builderForValue)

Optional. Cloud Storage.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue IngestionDataSourceSettings.CloudStorage.Builder
Returns
Type Description
IngestionDataSourceSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IngestionDataSourceSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides

setPlatformLogsSettings(PlatformLogsSettings value)

public IngestionDataSourceSettings.Builder setPlatformLogsSettings(PlatformLogsSettings value)

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];

Parameter
Name Description
value PlatformLogsSettings
Returns
Type Description
IngestionDataSourceSettings.Builder

setPlatformLogsSettings(PlatformLogsSettings.Builder builderForValue)

public IngestionDataSourceSettings.Builder setPlatformLogsSettings(PlatformLogsSettings.Builder builderForValue)

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];

Parameter
Name Description
builderForValue PlatformLogsSettings.Builder
Returns
Type Description
IngestionDataSourceSettings.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IngestionDataSourceSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestionDataSourceSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestionDataSourceSettings.Builder
Overrides