Package com.google.pubsub.v1
Interface CloudStorageConfig.AvroConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CloudStorageConfig.AvroConfig,CloudStorageConfig.AvroConfig.Builder
- Enclosing class:
- CloudStorageConfig
public static interface CloudStorageConfig.AvroConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getWriteMetadata
boolean getWriteMetadata()Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.
bool write_metadata = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The writeMetadata.
-
getUseTopicSchema
boolean getUseTopicSchema()Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
bool use_topic_schema = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The useTopicSchema.
-