public final class IngestionDataSourceSettings extends GeneratedMessageV3 implements IngestionDataSourceSettingsOrBuilder
Settings for an ingestion data source on a topic.
Protobuf type google.pubsub.v1.IngestionDataSourceSettings
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IngestionDataSourceSettingsImplements
IngestionDataSourceSettingsOrBuilderStatic Fields
AWS_KINESIS_FIELD_NUMBER
public static final int AWS_KINESIS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CLOUD_STORAGE_FIELD_NUMBER
public static final int CLOUD_STORAGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PLATFORM_LOGS_SETTINGS_FIELD_NUMBER
public static final int PLATFORM_LOGS_SETTINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static IngestionDataSourceSettings getDefaultInstance()
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static IngestionDataSourceSettings.Builder newBuilder()
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.Builder |
newBuilder(IngestionDataSourceSettings prototype)
public static IngestionDataSourceSettings.Builder newBuilder(IngestionDataSourceSettings prototype)
Parameter | |
---|---|
Name | Description |
prototype |
IngestionDataSourceSettings |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.Builder |
parseDelimitedFrom(InputStream input)
public static IngestionDataSourceSettings parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static IngestionDataSourceSettings parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static IngestionDataSourceSettings parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static IngestionDataSourceSettings parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static IngestionDataSourceSettings parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static IngestionDataSourceSettings parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<IngestionDataSourceSettings> parser()
Returns | |
---|---|
Type | Description |
Parser<IngestionDataSourceSettings> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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. |
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. |
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 |
getParserForType()
public Parser<IngestionDataSourceSettings> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<IngestionDataSourceSettings> |
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. |
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 |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public IngestionDataSourceSettings.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestionDataSourceSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public IngestionDataSourceSettings.Builder toBuilder()
Returns | |
---|---|
Type | Description |
IngestionDataSourceSettings.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |