Interface MessageOrBuilder (0.37.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
Name Description
index int
Returns
Type Description
Attachment

getAttachmentsCount()

public abstract int getAttachmentsCount()

The attachments to download.

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

Returns
Type Description
int

getAttachmentsList()

public abstract List<Attachment> getAttachmentsList()

The attachments to download.

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

Returns
Type Description
List<Attachment>

getAttachmentsOrBuilder(int index)

public abstract AttachmentOrBuilder getAttachmentsOrBuilder(int index)

The attachments to download.

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

Parameter
Name Description
index int
Returns
Type Description
AttachmentOrBuilder

getAttachmentsOrBuilderList()

public abstract List<? extends AttachmentOrBuilder> getAttachmentsOrBuilderList()

The attachments to download.

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

Returns
Type Description
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
Type Description
Message.Body

The body.

getBodyOrBuilder()

public abstract Message.BodyOrBuilder getBodyOrBuilder()

The message content.

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

Returns
Type Description
Message.BodyOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

The Message creation timestamp.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The Message creation timestamp.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getLocalizationTime()

public abstract Timestamp getLocalizationTime()

Time when Message was localized

.google.protobuf.Timestamp localization_time = 4;

Returns
Type Description
Timestamp

The localizationTime.

getLocalizationTimeOrBuilder()

public abstract TimestampOrBuilder getLocalizationTimeOrBuilder()

Time when Message was localized

.google.protobuf.Timestamp localization_time = 4;

Returns
Type Description
TimestampOrBuilder

hasBody()

public abstract boolean hasBody()

The message content.

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

Returns
Type Description
boolean

Whether the body field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

The Message creation timestamp.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

hasLocalizationTime()

public abstract boolean hasLocalizationTime()

Time when Message was localized

.google.protobuf.Timestamp localization_time = 4;

Returns
Type Description
boolean

Whether the localizationTime field is set.