Packages

c

com.google.pubsub.v1

CloudStorageConfig

final class CloudStorageConfig extends GeneratedMessageV3 with CloudStorageConfigOrBuilder

Configuration for a Cloud Storage subscription.

Protobuf type google.pubsub.v1.CloudStorageConfig

Source
CloudStorageConfig.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CloudStorageConfig
  2. CloudStorageConfigOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(obj: AnyRef): Boolean
    Definition Classes
    CloudStorageConfig → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  11. def getAvroConfig(): AvroConfig

    Optional. If set, message data will be written to Cloud Storage in Avro
    format.
    

    Optional. If set, message data will be written to Cloud Storage in Avro
    format.
    

    .google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The avroConfig.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  12. def getAvroConfigOrBuilder(): AvroConfigOrBuilder

    Optional. If set, message data will be written to Cloud Storage in Avro
    format.
    

    Optional. If set, message data will be written to Cloud Storage in Avro
    format.
    

    .google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5 [(.google.api.field_behavior) = OPTIONAL];

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  13. def getBucket(): String

    Required. User-provided name for the Cloud Storage bucket.
    The bucket must be created by the user. The bucket name must be without
    any prefix like "gs://". See the [bucket naming
    requirements] (https://cloud.google.com/storage/docs/buckets#naming).
    

    Required. User-provided name for the Cloud Storage bucket.
    The bucket must be created by the user. The bucket name must be without
    any prefix like "gs://". See the [bucket naming
    requirements] (https://cloud.google.com/storage/docs/buckets#naming).
    

    string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

    returns

    The bucket.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  14. def getBucketBytes(): ByteString

    Required. User-provided name for the Cloud Storage bucket.
    The bucket must be created by the user. The bucket name must be without
    any prefix like "gs://". See the [bucket naming
    requirements] (https://cloud.google.com/storage/docs/buckets#naming).
    

    Required. User-provided name for the Cloud Storage bucket.
    The bucket must be created by the user. The bucket name must be without
    any prefix like "gs://". See the [bucket naming
    requirements] (https://cloud.google.com/storage/docs/buckets#naming).
    

    string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

    returns

    The bytes for bucket.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getDefaultInstanceForType(): CloudStorageConfig
    Definition Classes
    CloudStorageConfig → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  17. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  18. def getField(arg0: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  19. def getFilenameDatetimeFormat(): String

    Optional. User-provided format string specifying how to represent datetimes
    in Cloud Storage filenames. See the [datetime format
    guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
    

    Optional. User-provided format string specifying how to represent datetimes
    in Cloud Storage filenames. See the [datetime format
    guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
    

    string filename_datetime_format = 10 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The filenameDatetimeFormat.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  20. def getFilenameDatetimeFormatBytes(): ByteString

    Optional. User-provided format string specifying how to represent datetimes
    in Cloud Storage filenames. See the [datetime format
    guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
    

    Optional. User-provided format string specifying how to represent datetimes
    in Cloud Storage filenames. See the [datetime format
    guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
    

    string filename_datetime_format = 10 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The bytes for filenameDatetimeFormat.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  21. def getFilenamePrefix(): String

    Optional. User-provided prefix for Cloud Storage filename. See the [object
    naming requirements](https://cloud.google.com/storage/docs/objects#naming).
    

    Optional. User-provided prefix for Cloud Storage filename. See the [object
    naming requirements](https://cloud.google.com/storage/docs/objects#naming).
    

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

    returns

    The filenamePrefix.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  22. def getFilenamePrefixBytes(): ByteString

    Optional. User-provided prefix for Cloud Storage filename. See the [object
    naming requirements](https://cloud.google.com/storage/docs/objects#naming).
    

    Optional. User-provided prefix for Cloud Storage filename. See the [object
    naming requirements](https://cloud.google.com/storage/docs/objects#naming).
    

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

    returns

    The bytes for filenamePrefix.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  23. def getFilenameSuffix(): String

    Optional. User-provided suffix for Cloud Storage filename. See the [object
    naming requirements](https://cloud.google.com/storage/docs/objects#naming).
    Must not end in "/".
    

    Optional. User-provided suffix for Cloud Storage filename. See the [object
    naming requirements](https://cloud.google.com/storage/docs/objects#naming).
    Must not end in "/".
    

    string filename_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The filenameSuffix.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  24. def getFilenameSuffixBytes(): ByteString

    Optional. User-provided suffix for Cloud Storage filename. See the [object
    naming requirements](https://cloud.google.com/storage/docs/objects#naming).
    Must not end in "/".
    

    Optional. User-provided suffix for Cloud Storage filename. See the [object
    naming requirements](https://cloud.google.com/storage/docs/objects#naming).
    Must not end in "/".
    

    string filename_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The bytes for filenameSuffix.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  25. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  26. def getMaxBytes(): Long

    Optional. The maximum bytes that can be written to a Cloud Storage file
    before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may
    be exceeded in cases where messages are larger than the limit.
    

    Optional. The maximum bytes that can be written to a Cloud Storage file
    before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may
    be exceeded in cases where messages are larger than the limit.
    

    int64 max_bytes = 7 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The maxBytes.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  27. def getMaxDuration(): Duration

    Optional. The maximum duration that can elapse before a new Cloud Storage
    file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not
    exceed the subscription's acknowledgement deadline.
    

    Optional. The maximum duration that can elapse before a new Cloud Storage
    file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not
    exceed the subscription's acknowledgement deadline.
    

    .google.protobuf.Duration max_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The maxDuration.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  28. def getMaxDurationOrBuilder(): DurationOrBuilder

    Optional. The maximum duration that can elapse before a new Cloud Storage
    file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not
    exceed the subscription's acknowledgement deadline.
    

    Optional. The maximum duration that can elapse before a new Cloud Storage
    file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not
    exceed the subscription's acknowledgement deadline.
    

    .google.protobuf.Duration max_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  29. def getMaxMessages(): Long

    Optional. The maximum number of messages that can be written to a Cloud
    Storage file before a new file is created. Min 1000 messages.
    

    Optional. The maximum number of messages that can be written to a Cloud
    Storage file before a new file is created. Min 1000 messages.
    

    int64 max_messages = 8 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The maxMessages.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  30. def getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  31. def getOutputFormatCase(): OutputFormatCase
  32. def getParserForType(): Parser[CloudStorageConfig]
    Definition Classes
    CloudStorageConfig → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  33. def getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  34. def getRepeatedFieldCount(arg0: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  35. def getSerializedSize(): Int
    Definition Classes
    CloudStorageConfig → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  36. def getServiceAccountEmail(): String

    Optional. The service account to use to write to Cloud Storage. The
    subscription creator or updater that specifies this field must have
    `iam.serviceAccounts.actAs` permission on the service account. If not
    specified, the Pub/Sub
    [service agent](https://cloud.google.com/iam/docs/service-agents),
    service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
    

    Optional. The service account to use to write to Cloud Storage. The
    subscription creator or updater that specifies this field must have
    `iam.serviceAccounts.actAs` permission on the service account. If not
    specified, the Pub/Sub
    [service agent](https://cloud.google.com/iam/docs/service-agents),
    service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
    

    string service_account_email = 11 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The serviceAccountEmail.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  37. def getServiceAccountEmailBytes(): ByteString

    Optional. The service account to use to write to Cloud Storage. The
    subscription creator or updater that specifies this field must have
    `iam.serviceAccounts.actAs` permission on the service account. If not
    specified, the Pub/Sub
    [service agent](https://cloud.google.com/iam/docs/service-agents),
    service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
    

    Optional. The service account to use to write to Cloud Storage. The
    subscription creator or updater that specifies this field must have
    `iam.serviceAccounts.actAs` permission on the service account. If not
    specified, the Pub/Sub
    [service agent](https://cloud.google.com/iam/docs/service-agents),
    service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
    

    string service_account_email = 11 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The bytes for serviceAccountEmail.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  38. def getState(): State

    Output only. An output-only field that indicates whether or not the
    subscription can receive messages.
    

    Output only. An output-only field that indicates whether or not the
    subscription can receive messages.
    

    .google.pubsub.v1.CloudStorageConfig.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

    returns

    The state.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  39. def getStateValue(): Int

    Output only. An output-only field that indicates whether or not the
    subscription can receive messages.
    

    Output only. An output-only field that indicates whether or not the
    subscription can receive messages.
    

    .google.pubsub.v1.CloudStorageConfig.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

    returns

    The enum numeric value on the wire for state.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  40. def getTextConfig(): TextConfig

    Optional. If set, message data will be written to Cloud Storage in text
    format.
    

    Optional. If set, message data will be written to Cloud Storage in text
    format.
    

    .google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4 [(.google.api.field_behavior) = OPTIONAL];

    returns

    The textConfig.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  41. def getTextConfigOrBuilder(): TextConfigOrBuilder

    Optional. If set, message data will be written to Cloud Storage in text
    format.
    

    Optional. If set, message data will be written to Cloud Storage in text
    format.
    

    .google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4 [(.google.api.field_behavior) = OPTIONAL];

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  42. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  43. def hasAvroConfig(): Boolean

    Optional. If set, message data will be written to Cloud Storage in Avro
    format.
    

    Optional. If set, message data will be written to Cloud Storage in Avro
    format.
    

    .google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5 [(.google.api.field_behavior) = OPTIONAL];

    returns

    Whether the avroConfig field is set.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  44. def hasField(arg0: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  45. def hasMaxDuration(): Boolean

    Optional. The maximum duration that can elapse before a new Cloud Storage
    file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not
    exceed the subscription's acknowledgement deadline.
    

    Optional. The maximum duration that can elapse before a new Cloud Storage
    file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not
    exceed the subscription's acknowledgement deadline.
    

    .google.protobuf.Duration max_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

    returns

    Whether the maxDuration field is set.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  46. def hasOneof(arg0: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  47. def hasTextConfig(): Boolean

    Optional. If set, message data will be written to Cloud Storage in text
    format.
    

    Optional. If set, message data will be written to Cloud Storage in text
    format.
    

    .google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4 [(.google.api.field_behavior) = OPTIONAL];

    returns

    Whether the textConfig field is set.

    Definition Classes
    CloudStorageConfigCloudStorageConfigOrBuilder
    Annotations
    @Override()
  48. def hashCode(): Int
    Definition Classes
    CloudStorageConfig → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  49. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[v1]
    Definition Classes
    CloudStorageConfig → GeneratedMessageV3
    Annotations
    @Override()
  50. def internalGetMapField(arg0: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  51. final def isInitialized(): Boolean
    Definition Classes
    CloudStorageConfig → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. def makeExtensionsImmutable(): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[v1]
    Definition Classes
    CloudStorageConfig → GeneratedMessageV3
    Annotations
    @Override()
  56. def newBuilderForType(): Builder
    Definition Classes
    CloudStorageConfig → Message → MessageLite
    Annotations
    @Override()
  57. def newBuilderForType(arg0: BuilderParent): Builder
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3 → AbstractMessage
  58. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[v1]
    Definition Classes
    CloudStorageConfig → GeneratedMessageV3
    Annotations
    @Override() @SuppressWarnings()
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. def parseUnknownField(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  62. def parseUnknownFieldProto3(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  63. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  64. def toBuilder(): Builder
    Definition Classes
    CloudStorageConfig → Message → MessageLite
    Annotations
    @Override()
  65. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  66. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  67. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  68. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  69. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  70. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  71. def writeDelimitedTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  72. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  73. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    CloudStorageConfig → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  74. def writeTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

  1. def mergeFromAndMakeImmutableInternal(arg0: CodedInputStream, arg1: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
    Deprecated

Inherited from GeneratedMessageV3

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped