Interface MessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Message,Message.Builder
@Generated
public interface MessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttachments(int index) The attachments to download.intThe attachments to download.The attachments to download.getAttachmentsOrBuilder(int index) The attachments to download.List<? extends AttachmentOrBuilder>The attachments to download.getBody()The message content.The message content.com.google.protobuf.TimestampThe Message creation timestamp.com.google.protobuf.TimestampOrBuilderThe Message creation timestamp.com.google.protobuf.TimestampTime when Message was localizedcom.google.protobuf.TimestampOrBuilderTime when Message was localizedbooleanhasBody()The message content.booleanThe Message creation timestamp.booleanTime when Message was localizedMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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;
-