Interface MessageOrBuilder (0.7.0)

public interface MessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttachments(int index)

public abstract Attachment getAttachments(int index)

The attachments to download.

repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Attachment

getAttachmentsCount()

public abstract int getAttachmentsCount()

The attachments to download.

repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;

Returns
TypeDescription
int

getAttachmentsList()

public abstract List<Attachment> getAttachmentsList()

The attachments to download.

repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;

Returns
TypeDescription
List<Attachment>

getAttachmentsOrBuilder(int index)

public abstract AttachmentOrBuilder getAttachmentsOrBuilder(int index)

The attachments to download.

repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AttachmentOrBuilder

getAttachmentsOrBuilderList()

public abstract List<? extends AttachmentOrBuilder> getAttachmentsOrBuilderList()

The attachments to download.

repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;

Returns
TypeDescription
List<? extends com.google.cloud.advisorynotifications.v1.AttachmentOrBuilder>

getBody()

public abstract Message.Body getBody()

The message content.

.google.cloud.advisorynotifications.v1.Message.Body body = 1;

Returns
TypeDescription
Message.Body

The body.

getBodyOrBuilder()

public abstract Message.BodyOrBuilder getBodyOrBuilder()

The message content.

.google.cloud.advisorynotifications.v1.Message.Body body = 1;

Returns
TypeDescription
Message.BodyOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

The Message creation timestamp.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The Message creation timestamp.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getLocalizationTime()

public abstract Timestamp getLocalizationTime()

Time when Message was localized

.google.protobuf.Timestamp localization_time = 4;

Returns
TypeDescription
Timestamp

The localizationTime.

getLocalizationTimeOrBuilder()

public abstract TimestampOrBuilder getLocalizationTimeOrBuilder()

Time when Message was localized

.google.protobuf.Timestamp localization_time = 4;

Returns
TypeDescription
TimestampOrBuilder

hasBody()

public abstract boolean hasBody()

The message content.

.google.cloud.advisorynotifications.v1.Message.Body body = 1;

Returns
TypeDescription
boolean

Whether the body field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

The Message creation timestamp.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasLocalizationTime()

public abstract boolean hasLocalizationTime()

Time when Message was localized

.google.protobuf.Timestamp localization_time = 4;

Returns
TypeDescription
boolean

Whether the localizationTime field is set.