Class IngestionDataSourceSettings.CloudStorage (1.134.1)

public static final class IngestionDataSourceSettings.CloudStorage extends GeneratedMessageV3 implements IngestionDataSourceSettings.CloudStorageOrBuilder

Ingestion settings for Cloud Storage.

Protobuf type google.pubsub.v1.IngestionDataSourceSettings.CloudStorage

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IngestionDataSourceSettings.CloudStorage

Static Fields

AVRO_FORMAT_FIELD_NUMBER

public static final int AVRO_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

BUCKET_FIELD_NUMBER

public static final int BUCKET_FIELD_NUMBER
Field Value
Type Description
int

MATCH_GLOB_FIELD_NUMBER

public static final int MATCH_GLOB_FIELD_NUMBER
Field Value
Type Description
int

MINIMUM_OBJECT_CREATE_TIME_FIELD_NUMBER

public static final int MINIMUM_OBJECT_CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

PUBSUB_AVRO_FORMAT_FIELD_NUMBER

public static final int PUBSUB_AVRO_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TEXT_FORMAT_FIELD_NUMBER

public static final int TEXT_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IngestionDataSourceSettings.CloudStorage getDefaultInstance()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage

getDescriptor()

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

newBuilder()

public static IngestionDataSourceSettings.CloudStorage.Builder newBuilder()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

newBuilder(IngestionDataSourceSettings.CloudStorage prototype)

public static IngestionDataSourceSettings.CloudStorage.Builder newBuilder(IngestionDataSourceSettings.CloudStorage prototype)
Parameter
Name Description
prototype IngestionDataSourceSettings.CloudStorage
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

parseDelimitedFrom(InputStream input)

public static IngestionDataSourceSettings.CloudStorage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IngestionDataSourceSettings.CloudStorage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IngestionDataSourceSettings.CloudStorage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IngestionDataSourceSettings.CloudStorage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IngestionDataSourceSettings.CloudStorage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IngestionDataSourceSettings.CloudStorage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.CloudStorage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IngestionDataSourceSettings.CloudStorage> parser()
Returns
Type Description
Parser<CloudStorage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAvroFormat()

public IngestionDataSourceSettings.CloudStorage.AvroFormat getAvroFormat()

Optional. Data from Cloud Storage will be interpreted in Avro format.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.AvroFormat

The avroFormat.

getAvroFormatOrBuilder()

public IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder getAvroFormatOrBuilder()

Optional. Data from Cloud Storage will be interpreted in Avro format.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder

getBucket()

public String getBucket()

Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements.

string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements.

string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public IngestionDataSourceSettings.CloudStorage getDefaultInstanceForType()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage

getInputFormatCase()

public IngestionDataSourceSettings.CloudStorage.InputFormatCase getInputFormatCase()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.InputFormatCase

getMatchGlob()

public String getMatchGlob()

Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.

string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The matchGlob.

getMatchGlobBytes()

public ByteString getMatchGlobBytes()

Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.

string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for matchGlob.

getMinimumObjectCreateTime()

public Timestamp getMinimumObjectCreateTime()

Optional. Only objects with a larger or equal creation timestamp will be ingested.

.google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The minimumObjectCreateTime.

getMinimumObjectCreateTimeOrBuilder()

public TimestampOrBuilder getMinimumObjectCreateTimeOrBuilder()

Optional. Only objects with a larger or equal creation timestamp will be ingested.

.google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<IngestionDataSourceSettings.CloudStorage> getParserForType()
Returns
Type Description
Parser<CloudStorage>
Overrides

getPubsubAvroFormat()

public IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat getPubsubAvroFormat()

Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat

The pubsubAvroFormat.

getPubsubAvroFormatOrBuilder()

public IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatOrBuilder getPubsubAvroFormatOrBuilder()

Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public IngestionDataSourceSettings.CloudStorage.State getState()

Output only. An output-only field that indicates the state of the Cloud Storage ingestion source.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.State

The state.

getStateValue()

public int getStateValue()

Output only. An output-only field that indicates the state of the Cloud Storage ingestion source.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTextFormat()

public IngestionDataSourceSettings.CloudStorage.TextFormat getTextFormat()

Optional. Data from Cloud Storage will be interpreted as text.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat

The textFormat.

getTextFormatOrBuilder()

public IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder getTextFormatOrBuilder()

Optional. Data from Cloud Storage will be interpreted as text.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder

hasAvroFormat()

public boolean hasAvroFormat()

Optional. Data from Cloud Storage will be interpreted in Avro format.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the avroFormat field is set.

hasMinimumObjectCreateTime()

public boolean hasMinimumObjectCreateTime()

Optional. Only objects with a larger or equal creation timestamp will be ingested.

.google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minimumObjectCreateTime field is set.

hasPubsubAvroFormat()

public boolean hasPubsubAvroFormat()

Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pubsubAvroFormat field is set.

hasTextFormat()

public boolean hasTextFormat()

Optional. Data from Cloud Storage will be interpreted as text.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the textFormat field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IngestionDataSourceSettings.CloudStorage.Builder newBuilderForType()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestionDataSourceSettings.CloudStorage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IngestionDataSourceSettings.CloudStorage.Builder toBuilder()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException