Interface AttachmentOrBuilder (0.25.0)

public interface AttachmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time at which the attachment was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which the attachment was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getCreator()

public abstract Actor getCreator()

Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.

.google.cloud.support.v2.Actor creator = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Actor

The creator.

getCreatorOrBuilder()

public abstract ActorOrBuilder getCreatorOrBuilder()

Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.

.google.cloud.support.v2.Actor creator = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ActorOrBuilder

getFilename()

public abstract String getFilename()

The filename of the attachment (e.g. "graph.jpg").

string filename = 4;

Returns
TypeDescription
String

The filename.

getFilenameBytes()

public abstract ByteString getFilenameBytes()

The filename of the attachment (e.g. "graph.jpg").

string filename = 4;

Returns
TypeDescription
ByteString

The bytes for filename.

getMimeType()

public abstract String getMimeType()

Output only. The MIME type of the attachment (e.g. text/plain).

string mime_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

Output only. The MIME type of the attachment (e.g. text/plain).

string mime_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for mimeType.

getName()

public abstract String getName()

Output only. The resource name of the attachment.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name of the attachment.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getSizeBytes()

public abstract long getSizeBytes()

Output only. The size of the attachment in bytes.

int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
long

The sizeBytes.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time at which the attachment was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasCreator()

public abstract boolean hasCreator()

Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.

.google.cloud.support.v2.Actor creator = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the creator field is set.