Package com.google.cloud.support.v2
Interface AttachmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Attachment
,Attachment.Builder
public interface AttachmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Actor
getCreator()
Output only.ActorOrBuilder
getCreatorOrBuilder()
Output only.String
getFilename()
The filename of the attachment (e.g.com.google.protobuf.ByteString
getFilenameBytes()
The filename of the attachment (e.g.String
getMimeType()
Output only.com.google.protobuf.ByteString
getMimeTypeBytes()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.long
getSizeBytes()
Output only.boolean
hasCreateTime()
Output only.boolean
hasCreator()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name of the attachment.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the attachment.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
hasCreateTime
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:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.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:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the attachment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasCreator
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:
- Whether the creator field is set.
-
getCreator
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:
- The creator.
-
getCreatorOrBuilder
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];
-
getFilename
String getFilename()
The filename of the attachment (e.g. `"graph.jpg"`).
string filename = 4;
- Returns:
- The filename.
-
getFilenameBytes
com.google.protobuf.ByteString getFilenameBytes()
The filename of the attachment (e.g. `"graph.jpg"`).
string filename = 4;
- Returns:
- The bytes for filename.
-
getMimeType
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:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.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:
- The bytes for mimeType.
-
getSizeBytes
long getSizeBytes()
Output only. The size of the attachment in bytes.
int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The sizeBytes.
-
-