Interface MessageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Message
,Message.Builder
public interface MessageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Attachment
getAttachments(int index)
The attachments to download.int
getAttachmentsCount()
The attachments to download.List<Attachment>
getAttachmentsList()
The attachments to download.AttachmentOrBuilder
getAttachmentsOrBuilder(int index)
The attachments to download.List<? extends AttachmentOrBuilder>
getAttachmentsOrBuilderList()
The attachments to download.Message.Body
getBody()
The message content.Message.BodyOrBuilder
getBodyOrBuilder()
The message content.com.google.protobuf.Timestamp
getCreateTime()
The Message creation timestamp.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The Message creation timestamp.com.google.protobuf.Timestamp
getLocalizationTime()
Time when Message was localizedcom.google.protobuf.TimestampOrBuilder
getLocalizationTimeOrBuilder()
Time when Message was localizedboolean
hasBody()
The message content.boolean
hasCreateTime()
The Message creation timestamp.boolean
hasLocalizationTime()
Time when Message was localized-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBody
boolean hasBody()
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;
- Returns:
- Whether the body field is set.
-
getBody
Message.Body getBody()
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;
- Returns:
- The body.
-
getBodyOrBuilder
Message.BodyOrBuilder getBodyOrBuilder()
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;
-
getAttachmentsList
List<Attachment> getAttachmentsList()
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;
-
getAttachments
Attachment getAttachments(int index)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;
-
getAttachmentsCount
int getAttachmentsCount()
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;
-
getAttachmentsOrBuilderList
List<? extends AttachmentOrBuilder> getAttachmentsOrBuilderList()
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;
-
getAttachmentsOrBuilder
AttachmentOrBuilder getAttachmentsOrBuilder(int index)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;
-
hasCreateTime
boolean hasCreateTime()
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;
-
hasLocalizationTime
boolean hasLocalizationTime()
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;
- Returns:
- Whether the localizationTime field is set.
-
getLocalizationTime
com.google.protobuf.Timestamp getLocalizationTime()
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;
- Returns:
- The localizationTime.
-
getLocalizationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLocalizationTimeOrBuilder()
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;
-
-