Class ObjectTypes.ContentPartReference.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<ObjectTypes.ContentPartReference.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<ObjectTypes.ContentPartReference.Builder>
      • getDefaultInstanceForType

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

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

        public ObjectTypes.ContentPartReference 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<ObjectTypes.ContentPartReference.Builder>
      • mergeFrom

        public ObjectTypes.ContentPartReference.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws java.io.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<ObjectTypes.ContentPartReference.Builder>
        Throws:
        java.io.IOException
      • getTypeValue

        public int getTypeValue()
         Represents the attachment key's type. 'type' + 'attachment_id' are unique
         for each content ID.
         
        .nessie.store.ContentPartType type = 1;
        Specified by:
        getTypeValue in interface ObjectTypes.ContentPartReferenceOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public ObjectTypes.ContentPartReference.Builder setTypeValue​(int value)
         Represents the attachment key's type. 'type' + 'attachment_id' are unique
         for each content ID.
         
        .nessie.store.ContentPartType type = 1;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public ObjectTypes.ContentPartReference.Builder clearType()
         Represents the attachment key's type. 'type' + 'attachment_id' are unique
         for each content ID.
         
        .nessie.store.ContentPartType type = 1;
        Returns:
        This builder for chaining.
      • getAttachmentId

        public java.lang.String getAttachmentId()
         Represents the attachment key's ID. 'type' + 'attachment_id' are unique
         for each content ID.
         
        string attachment_id = 2;
        Specified by:
        getAttachmentId in interface ObjectTypes.ContentPartReferenceOrBuilder
        Returns:
        The attachmentId.
      • getAttachmentIdBytes

        public com.google.protobuf.ByteString getAttachmentIdBytes()
         Represents the attachment key's ID. 'type' + 'attachment_id' are unique
         for each content ID.
         
        string attachment_id = 2;
        Specified by:
        getAttachmentIdBytes in interface ObjectTypes.ContentPartReferenceOrBuilder
        Returns:
        The bytes for attachmentId.
      • setAttachmentId

        public ObjectTypes.ContentPartReference.Builder setAttachmentId​(java.lang.String value)
         Represents the attachment key's ID. 'type' + 'attachment_id' are unique
         for each content ID.
         
        string attachment_id = 2;
        Parameters:
        value - The attachmentId to set.
        Returns:
        This builder for chaining.
      • clearAttachmentId

        public ObjectTypes.ContentPartReference.Builder clearAttachmentId()
         Represents the attachment key's ID. 'type' + 'attachment_id' are unique
         for each content ID.
         
        string attachment_id = 2;
        Returns:
        This builder for chaining.
      • setAttachmentIdBytes

        public ObjectTypes.ContentPartReference.Builder setAttachmentIdBytes​(com.google.protobuf.ByteString value)
         Represents the attachment key's ID. 'type' + 'attachment_id' are unique
         for each content ID.
         
        string attachment_id = 2;
        Parameters:
        value - The bytes for attachmentId to set.
        Returns:
        This builder for chaining.
      • hasObjectId

        public boolean hasObjectId()
         Optional integer ID of an attachment content object representing e.g. the
         snapshot ID of an Iceberg table metadata. This field is _not_ part of the
         attachment key.
         
        optional int64 object_id = 3;
        Specified by:
        hasObjectId in interface ObjectTypes.ContentPartReferenceOrBuilder
        Returns:
        Whether the objectId field is set.
      • getObjectId

        public long getObjectId()
         Optional integer ID of an attachment content object representing e.g. the
         snapshot ID of an Iceberg table metadata. This field is _not_ part of the
         attachment key.
         
        optional int64 object_id = 3;
        Specified by:
        getObjectId in interface ObjectTypes.ContentPartReferenceOrBuilder
        Returns:
        The objectId.
      • setObjectId

        public ObjectTypes.ContentPartReference.Builder setObjectId​(long value)
         Optional integer ID of an attachment content object representing e.g. the
         snapshot ID of an Iceberg table metadata. This field is _not_ part of the
         attachment key.
         
        optional int64 object_id = 3;
        Parameters:
        value - The objectId to set.
        Returns:
        This builder for chaining.
      • clearObjectId

        public ObjectTypes.ContentPartReference.Builder clearObjectId()
         Optional integer ID of an attachment content object representing e.g. the
         snapshot ID of an Iceberg table metadata. This field is _not_ part of the
         attachment key.
         
        optional int64 object_id = 3;
        Returns:
        This builder for chaining.