public interface AnnotationOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
User |
getAuthor()
Output only.
|
UserOrBuilder |
getAuthorOrBuilder()
Output only.
|
String |
getContent()
Content of the annotation.
|
ByteString |
getContentBytes()
Content of the annotation.
|
String |
getContentType()
Content type of the annotation, for example, 'text/plain'
or 'text/markdown'.
|
ByteString |
getContentTypeBytes()
Content type of the annotation, for example, 'text/plain'
or 'text/markdown'.
|
Timestamp |
getCreateTime()
Output only.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getName()
Resource name of the annotation, for example,
"projects/{project_id_or_number}/incidents/{incident_id}/annotations/{annotation_id}".
|
ByteString |
getNameBytes()
Resource name of the annotation, for example,
"projects/{project_id_or_number}/incidents/{incident_id}/annotations/{annotation_id}".
|
boolean |
hasAuthor()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedString getName()
Resource name of the annotation, for example,
"projects/{project_id_or_number}/incidents/{incident_id}/annotations/{annotation_id}".
string name = 1;ByteString getNameBytes()
Resource name of the annotation, for example,
"projects/{project_id_or_number}/incidents/{incident_id}/annotations/{annotation_id}".
string name = 1;boolean hasAuthor()
Output only. Author of the annotation.
.google.cloud.irm.v1alpha2.User author = 2;User getAuthor()
Output only. Author of the annotation.
.google.cloud.irm.v1alpha2.User author = 2;UserOrBuilder getAuthorOrBuilder()
Output only. Author of the annotation.
.google.cloud.irm.v1alpha2.User author = 2;boolean hasCreateTime()
Output only. Time the annotation was created.
.google.protobuf.Timestamp create_time = 3;Timestamp getCreateTime()
Output only. Time the annotation was created.
.google.protobuf.Timestamp create_time = 3;TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the annotation was created.
.google.protobuf.Timestamp create_time = 3;String getContent()
Content of the annotation.
string content = 4;ByteString getContentBytes()
Content of the annotation.
string content = 4;String getContentType()
Content type of the annotation, for example, 'text/plain' or 'text/markdown'.
string content_type = 5;ByteString getContentTypeBytes()
Content type of the annotation, for example, 'text/plain' or 'text/markdown'.
string content_type = 5;Copyright © 2020 Google LLC. All rights reserved.