Package com.google.cloud.datastream.v1
Class GcsDestinationConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.datastream.v1.GcsDestinationConfig
-
- All Implemented Interfaces:
GcsDestinationConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GcsDestinationConfig extends com.google.protobuf.GeneratedMessageV3 implements GcsDestinationConfigOrBuilder
Google Cloud Storage destination configuration
Protobuf typegoogle.cloud.datastream.v1.GcsDestinationConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGcsDestinationConfig.BuilderGoogle Cloud Storage destination configurationstatic classGcsDestinationConfig.FileFormatCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAVRO_FILE_FORMAT_FIELD_NUMBERstatic intFILE_ROTATION_INTERVAL_FIELD_NUMBERstatic intFILE_ROTATION_MB_FIELD_NUMBERstatic intJSON_FILE_FORMAT_FIELD_NUMBERstatic intPATH_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AvroFileFormatgetAvroFileFormat()AVRO file format configuration.AvroFileFormatOrBuildergetAvroFileFormatOrBuilder()AVRO file format configuration.static GcsDestinationConfiggetDefaultInstance()GcsDestinationConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()GcsDestinationConfig.FileFormatCasegetFileFormatCase()com.google.protobuf.DurationgetFileRotationInterval()The maximum duration for which new events are added before a file is closed and a new file is created.com.google.protobuf.DurationOrBuildergetFileRotationIntervalOrBuilder()The maximum duration for which new events are added before a file is closed and a new file is created.intgetFileRotationMb()The maximum file size to be saved in the bucket.JsonFileFormatgetJsonFileFormat()JSON file format configuration.JsonFileFormatOrBuildergetJsonFileFormatOrBuilder()JSON file format configuration.com.google.protobuf.Parser<GcsDestinationConfig>getParserForType()StringgetPath()Path inside the Cloud Storage bucket to write data to.com.google.protobuf.ByteStringgetPathBytes()Path inside the Cloud Storage bucket to write data to.intgetSerializedSize()booleanhasAvroFileFormat()AVRO file format configuration.booleanhasFileRotationInterval()The maximum duration for which new events are added before a file is closed and a new file is created.inthashCode()booleanhasJsonFileFormat()JSON file format configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GcsDestinationConfig.BuildernewBuilder()static GcsDestinationConfig.BuildernewBuilder(GcsDestinationConfig prototype)GcsDestinationConfig.BuildernewBuilderForType()protected GcsDestinationConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GcsDestinationConfigparseDelimitedFrom(InputStream input)static GcsDestinationConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsDestinationConfigparseFrom(byte[] data)static GcsDestinationConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsDestinationConfigparseFrom(com.google.protobuf.ByteString data)static GcsDestinationConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsDestinationConfigparseFrom(com.google.protobuf.CodedInputStream input)static GcsDestinationConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsDestinationConfigparseFrom(InputStream input)static GcsDestinationConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsDestinationConfigparseFrom(ByteBuffer data)static GcsDestinationConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GcsDestinationConfig>parser()GcsDestinationConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_ROTATION_MB_FIELD_NUMBER
public static final int FILE_ROTATION_MB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_ROTATION_INTERVAL_FIELD_NUMBER
public static final int FILE_ROTATION_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVRO_FILE_FORMAT_FIELD_NUMBER
public static final int AVRO_FILE_FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JSON_FILE_FORMAT_FIELD_NUMBER
public static final int JSON_FILE_FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFileFormatCase
public GcsDestinationConfig.FileFormatCase getFileFormatCase()
- Specified by:
getFileFormatCasein interfaceGcsDestinationConfigOrBuilder
-
getPath
public String getPath()
Path inside the Cloud Storage bucket to write data to.
string path = 1;- Specified by:
getPathin interfaceGcsDestinationConfigOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
Path inside the Cloud Storage bucket to write data to.
string path = 1;- Specified by:
getPathBytesin interfaceGcsDestinationConfigOrBuilder- Returns:
- The bytes for path.
-
getFileRotationMb
public int getFileRotationMb()
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;- Specified by:
getFileRotationMbin interfaceGcsDestinationConfigOrBuilder- Returns:
- The fileRotationMb.
-
hasFileRotationInterval
public boolean hasFileRotationInterval()
The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.
.google.protobuf.Duration file_rotation_interval = 3;- Specified by:
hasFileRotationIntervalin interfaceGcsDestinationConfigOrBuilder- Returns:
- Whether the fileRotationInterval field is set.
-
getFileRotationInterval
public 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. Values within the range of 15-60 seconds are allowed.
.google.protobuf.Duration file_rotation_interval = 3;- Specified by:
getFileRotationIntervalin interfaceGcsDestinationConfigOrBuilder- Returns:
- The fileRotationInterval.
-
getFileRotationIntervalOrBuilder
public 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. Values within the range of 15-60 seconds are allowed.
.google.protobuf.Duration file_rotation_interval = 3;- Specified by:
getFileRotationIntervalOrBuilderin interfaceGcsDestinationConfigOrBuilder
-
hasAvroFileFormat
public boolean hasAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;- Specified by:
hasAvroFileFormatin interfaceGcsDestinationConfigOrBuilder- Returns:
- Whether the avroFileFormat field is set.
-
getAvroFileFormat
public AvroFileFormat getAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;- Specified by:
getAvroFileFormatin interfaceGcsDestinationConfigOrBuilder- Returns:
- The avroFileFormat.
-
getAvroFileFormatOrBuilder
public AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;- Specified by:
getAvroFileFormatOrBuilderin interfaceGcsDestinationConfigOrBuilder
-
hasJsonFileFormat
public boolean hasJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;- Specified by:
hasJsonFileFormatin interfaceGcsDestinationConfigOrBuilder- Returns:
- Whether the jsonFileFormat field is set.
-
getJsonFileFormat
public JsonFileFormat getJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;- Specified by:
getJsonFileFormatin interfaceGcsDestinationConfigOrBuilder- Returns:
- The jsonFileFormat.
-
getJsonFileFormatOrBuilder
public JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;- Specified by:
getJsonFileFormatOrBuilderin interfaceGcsDestinationConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GcsDestinationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsDestinationConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsDestinationConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsDestinationConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsDestinationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsDestinationConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsDestinationConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GcsDestinationConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GcsDestinationConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GcsDestinationConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GcsDestinationConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GcsDestinationConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GcsDestinationConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GcsDestinationConfig.Builder newBuilder()
-
newBuilder
public static GcsDestinationConfig.Builder newBuilder(GcsDestinationConfig prototype)
-
toBuilder
public GcsDestinationConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GcsDestinationConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GcsDestinationConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GcsDestinationConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<GcsDestinationConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GcsDestinationConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-