Class IngestionDataSourceSettings.Builder (1.130.0)

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

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

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

getDefaultInstanceForType()

public IngestionDataSourceSettings getDefaultInstanceForType()
Returns
Type Description
IngestionDataSourceSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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

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

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

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

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