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 AttachmentgetAttachments(int index)The attachments to download.intgetAttachmentsCount()The attachments to download.List<Attachment>getAttachmentsList()The attachments to download.AttachmentOrBuildergetAttachmentsOrBuilder(int index)The attachments to download.List<? extends AttachmentOrBuilder>getAttachmentsOrBuilderList()The attachments to download.Message.BodygetBody()The message content.Message.BodyOrBuildergetBodyOrBuilder()The message content.com.google.protobuf.TimestampgetCreateTime()The Message creation timestamp.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The Message creation timestamp.com.google.protobuf.TimestampgetLocalizationTime()Time when Message was localizedcom.google.protobuf.TimestampOrBuildergetLocalizationTimeOrBuilder()Time when Message was localizedbooleanhasBody()The message content.booleanhasCreateTime()The Message creation timestamp.booleanhasLocalizationTime()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;
-
-