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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IngestionDataSourceSettings build()
buildPartial()
public IngestionDataSourceSettings buildPartial()
clear()
public IngestionDataSourceSettings.Builder clear()
Overrides
clearAwsKinesis()
public IngestionDataSourceSettings.Builder clearAwsKinesis()
Optional. Amazon Kinesis Data Streams.
.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
clearCloudStorage()
public IngestionDataSourceSettings.Builder clearCloudStorage()
Optional. Cloud Storage.
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public IngestionDataSourceSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionDataSourceSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clearSource()
public IngestionDataSourceSettings.Builder clearSource()
clone()
public IngestionDataSourceSettings.Builder clone()
Overrides
getAwsKinesis()
public IngestionDataSourceSettings.AwsKinesis getAwsKinesis()
Optional. Amazon Kinesis Data Streams.
.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
getAwsKinesisBuilder()
public IngestionDataSourceSettings.AwsKinesis.Builder getAwsKinesisBuilder()
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];
getCloudStorage()
public IngestionDataSourceSettings.CloudStorage getCloudStorage()
Optional. Cloud Storage.
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
getCloudStorageBuilder()
public IngestionDataSourceSettings.CloudStorage.Builder getCloudStorageBuilder()
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];
getDefaultInstanceForType()
public IngestionDataSourceSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 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];
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];
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.
|
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.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
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];
public IngestionDataSourceSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IngestionDataSourceSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(IngestionDataSourceSettings other)
public IngestionDataSourceSettings.Builder mergeFrom(IngestionDataSourceSettings other)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestionDataSourceSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides