public final class GcsDestinationConfig extends com.google.protobuf.GeneratedMessageV3 implements GcsDestinationConfigOrBuilder
Google Cloud Storage destination configurationProtobuf type
google.cloud.datastream.v1.GcsDestinationConfig| Modifier and Type | Class and Description |
|---|---|
static class |
GcsDestinationConfig.Builder
Google Cloud Storage destination configuration
|
static class |
GcsDestinationConfig.FileFormatCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AVRO_FILE_FORMAT_FIELD_NUMBER |
static int |
FILE_ROTATION_INTERVAL_FIELD_NUMBER |
static int |
FILE_ROTATION_MB_FIELD_NUMBER |
static int |
JSON_FILE_FORMAT_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AvroFileFormat |
getAvroFileFormat()
AVRO file format configuration.
|
AvroFileFormatOrBuilder |
getAvroFileFormatOrBuilder()
AVRO file format configuration.
|
static GcsDestinationConfig |
getDefaultInstance() |
GcsDestinationConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GcsDestinationConfig.FileFormatCase |
getFileFormatCase() |
com.google.protobuf.Duration |
getFileRotationInterval()
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
com.google.protobuf.DurationOrBuilder |
getFileRotationIntervalOrBuilder()
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
int |
getFileRotationMb()
The maximum file size to be saved in the bucket.
|
JsonFileFormat |
getJsonFileFormat()
JSON file format configuration.
|
JsonFileFormatOrBuilder |
getJsonFileFormatOrBuilder()
JSON file format configuration.
|
com.google.protobuf.Parser<GcsDestinationConfig> |
getParserForType() |
String |
getPath()
Path inside the Cloud Storage bucket to write data to.
|
com.google.protobuf.ByteString |
getPathBytes()
Path inside the Cloud Storage bucket to write data to.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAvroFileFormat()
AVRO file format configuration.
|
boolean |
hasFileRotationInterval()
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
int |
hashCode() |
boolean |
hasJsonFileFormat()
JSON file format configuration.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GcsDestinationConfig.Builder |
newBuilder() |
static GcsDestinationConfig.Builder |
newBuilder(GcsDestinationConfig prototype) |
GcsDestinationConfig.Builder |
newBuilderForType() |
protected GcsDestinationConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GcsDestinationConfig |
parseDelimitedFrom(InputStream input) |
static GcsDestinationConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsDestinationConfig |
parseFrom(byte[] data) |
static GcsDestinationConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsDestinationConfig |
parseFrom(ByteBuffer data) |
static GcsDestinationConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsDestinationConfig |
parseFrom(com.google.protobuf.ByteString data) |
static GcsDestinationConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsDestinationConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GcsDestinationConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GcsDestinationConfig |
parseFrom(InputStream input) |
static GcsDestinationConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GcsDestinationConfig> |
parser() |
GcsDestinationConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PATH_FIELD_NUMBER
public static final int FILE_ROTATION_MB_FIELD_NUMBER
public static final int FILE_ROTATION_INTERVAL_FIELD_NUMBER
public static final int AVRO_FILE_FORMAT_FIELD_NUMBER
public static final int JSON_FILE_FORMAT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public GcsDestinationConfig.FileFormatCase getFileFormatCase()
getFileFormatCase in interface GcsDestinationConfigOrBuilderpublic String getPath()
Path inside the Cloud Storage bucket to write data to.
string path = 1;getPath in interface GcsDestinationConfigOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Path inside the Cloud Storage bucket to write data to.
string path = 1;getPathBytes in interface GcsDestinationConfigOrBuilderpublic int getFileRotationMb()
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;getFileRotationMb in interface GcsDestinationConfigOrBuilderpublic boolean hasFileRotationInterval()
The maximum duration for which new events are added before a file is closed and a new file is created.
.google.protobuf.Duration file_rotation_interval = 3;hasFileRotationInterval in interface GcsDestinationConfigOrBuilderpublic com.google.protobuf.Duration getFileRotationInterval()
The maximum duration for which new events are added before a file is closed and a new file is created.
.google.protobuf.Duration file_rotation_interval = 3;getFileRotationInterval in interface GcsDestinationConfigOrBuilderpublic com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder()
The maximum duration for which new events are added before a file is closed and a new file is created.
.google.protobuf.Duration file_rotation_interval = 3;getFileRotationIntervalOrBuilder in interface GcsDestinationConfigOrBuilderpublic boolean hasAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;hasAvroFileFormat in interface GcsDestinationConfigOrBuilderpublic AvroFileFormat getAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;getAvroFileFormat in interface GcsDestinationConfigOrBuilderpublic AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;getAvroFileFormatOrBuilder in interface GcsDestinationConfigOrBuilderpublic boolean hasJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;hasJsonFileFormat in interface GcsDestinationConfigOrBuilderpublic JsonFileFormat getJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;getJsonFileFormat in interface GcsDestinationConfigOrBuilderpublic JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;getJsonFileFormatOrBuilder in interface GcsDestinationConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GcsDestinationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsDestinationConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsDestinationConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsDestinationConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsDestinationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsDestinationConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GcsDestinationConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static GcsDestinationConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GcsDestinationConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GcsDestinationConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GcsDestinationConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GcsDestinationConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GcsDestinationConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GcsDestinationConfig.Builder newBuilder()
public static GcsDestinationConfig.Builder newBuilder(GcsDestinationConfig prototype)
public GcsDestinationConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GcsDestinationConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GcsDestinationConfig getDefaultInstance()
public static com.google.protobuf.Parser<GcsDestinationConfig> parser()
public com.google.protobuf.Parser<GcsDestinationConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GcsDestinationConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.