Interface UploadAttachmentRequestOrBuilder (0.5.0)

public interface UploadAttachmentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilename()

public abstract String getFilename()

Required. The filename of the attachment, including the file extension.

string filename = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The filename.

getFilenameBytes()

public abstract ByteString getFilenameBytes()

Required. The filename of the attachment, including the file extension.

string filename = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for filename.

getParent()

public abstract String getParent()

Required. Resource name of the Chat space in which the attachment is uploaded. Format "spaces/{space}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Resource name of the Chat space in which the attachment is uploaded. Format "spaces/{space}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.