public static final class IngestionDataSourceSettings.CloudStorage extends GeneratedMessageV3 implements IngestionDataSourceSettings.CloudStorageOrBuilder
Ingestion settings for Cloud Storage.
Protobuf type google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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 |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static IngestionDataSourceSettings.CloudStorage.Builder newBuilder()
newBuilder(IngestionDataSourceSettings.CloudStorage prototype)
public static IngestionDataSourceSettings.CloudStorage.Builder newBuilder(IngestionDataSourceSettings.CloudStorage prototype)
public static IngestionDataSourceSettings.CloudStorage parseDelimitedFrom(InputStream input)
public static IngestionDataSourceSettings.CloudStorage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static IngestionDataSourceSettings.CloudStorage parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings.CloudStorage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static IngestionDataSourceSettings.CloudStorage parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings.CloudStorage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings.CloudStorage parseFrom(CodedInputStream input)
public static IngestionDataSourceSettings.CloudStorage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings.CloudStorage parseFrom(InputStream input)
public static IngestionDataSourceSettings.CloudStorage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static IngestionDataSourceSettings.CloudStorage parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestionDataSourceSettings.CloudStorage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<IngestionDataSourceSettings.CloudStorage> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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];
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];
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()
public IngestionDataSourceSettings.CloudStorage.InputFormatCase getInputFormatCase()
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];
getParserForType()
public Parser<IngestionDataSourceSettings.CloudStorage> getParserForType()
Overrides
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];
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];
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];
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];
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];
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.
|
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public IngestionDataSourceSettings.CloudStorage.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestionDataSourceSettings.CloudStorage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public IngestionDataSourceSettings.CloudStorage.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides