Class CloudStorageConfig.AvroConfig.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.AvroConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.AvroConfig.Builder>
      • getDefaultInstanceForType

        public CloudStorageConfig.AvroConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CloudStorageConfig.AvroConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CloudStorageConfig.AvroConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.AvroConfig.Builder>
      • mergeFrom

        public CloudStorageConfig.AvroConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudStorageConfig.AvroConfig.Builder>
        Throws:
        IOException
      • getWriteMetadata

        public boolean getWriteMetadata()
         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;
        Specified by:
        getWriteMetadata in interface CloudStorageConfig.AvroConfigOrBuilder
        Returns:
        The writeMetadata.
      • setWriteMetadata

        public CloudStorageConfig.AvroConfig.Builder setWriteMetadata​(boolean value)
         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;
        Parameters:
        value - The writeMetadata to set.
        Returns:
        This builder for chaining.
      • clearWriteMetadata

        public CloudStorageConfig.AvroConfig.Builder clearWriteMetadata()
         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;
        Returns:
        This builder for chaining.