Class IngestionDataSourceSettings.Builder (1.127.3)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IngestionDataSourceSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IngestionDataSourceSettings.Builder
Overrides

build()

public IngestionDataSourceSettings build()
Returns
TypeDescription
IngestionDataSourceSettings

buildPartial()

public IngestionDataSourceSettings buildPartial()
Returns
TypeDescription
IngestionDataSourceSettings

clear()

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

clearField(Descriptors.FieldDescriptor field)

public IngestionDataSourceSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IngestionDataSourceSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestionDataSourceSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IngestionDataSourceSettings.Builder
Overrides

clearSource()

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

clone()

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

getDefaultInstanceForType()

public IngestionDataSourceSettings getDefaultInstanceForType()
Returns
TypeDescription
IngestionDataSourceSettings

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueIngestionDataSourceSettings.AwsKinesis
Returns
TypeDescription
IngestionDataSourceSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestionDataSourceSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestionDataSourceSettings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IngestionDataSourceSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IngestionDataSourceSettings.Builder
Overrides

mergeFrom(IngestionDataSourceSettings other)

public IngestionDataSourceSettings.Builder mergeFrom(IngestionDataSourceSettings other)
Parameter
NameDescription
otherIngestionDataSourceSettings
Returns
TypeDescription
IngestionDataSourceSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestionDataSourceSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueIngestionDataSourceSettings.AwsKinesis
Returns
TypeDescription
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
NameDescription
builderForValueIngestionDataSourceSettings.AwsKinesis.Builder
Returns
TypeDescription
IngestionDataSourceSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IngestionDataSourceSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IngestionDataSourceSettings.Builder
Overrides

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

public IngestionDataSourceSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IngestionDataSourceSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestionDataSourceSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IngestionDataSourceSettings.Builder
Overrides