public static final class Message.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder> implements MessageOrBuilder
A message which contains notification details.Protobuf type
google.cloud.advisorynotifications.v1.Message| Modifier and Type | Method and Description |
|---|---|
Message.Builder |
addAllAttachments(Iterable<? extends Attachment> values)
The attachments to download.
|
Message.Builder |
addAttachments(Attachment.Builder builderForValue)
The attachments to download.
|
Message.Builder |
addAttachments(Attachment value)
The attachments to download.
|
Message.Builder |
addAttachments(int index,
Attachment.Builder builderForValue)
The attachments to download.
|
Message.Builder |
addAttachments(int index,
Attachment value)
The attachments to download.
|
Attachment.Builder |
addAttachmentsBuilder()
The attachments to download.
|
Attachment.Builder |
addAttachmentsBuilder(int index)
The attachments to download.
|
Message.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Message |
build() |
Message |
buildPartial() |
Message.Builder |
clear() |
Message.Builder |
clearAttachments()
The attachments to download.
|
Message.Builder |
clearBody()
The message content.
|
Message.Builder |
clearCreateTime()
The Message creation timestamp.
|
Message.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Message.Builder |
clearLocalizationTime()
Time when Message was localized
|
Message.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Message.Builder |
clone() |
Attachment |
getAttachments(int index)
The attachments to download.
|
Attachment.Builder |
getAttachmentsBuilder(int index)
The attachments to download.
|
List<Attachment.Builder> |
getAttachmentsBuilderList()
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.Body.Builder |
getBodyBuilder()
The message content.
|
Message.BodyOrBuilder |
getBodyOrBuilder()
The message content.
|
com.google.protobuf.Timestamp |
getCreateTime()
The Message creation timestamp.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The Message creation timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The Message creation timestamp.
|
Message |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getLocalizationTime()
Time when Message was localized
|
com.google.protobuf.Timestamp.Builder |
getLocalizationTimeBuilder()
Time when Message was localized
|
com.google.protobuf.TimestampOrBuilder |
getLocalizationTimeOrBuilder()
Time when Message was localized
|
boolean |
hasBody()
The message content.
|
boolean |
hasCreateTime()
The Message creation timestamp.
|
boolean |
hasLocalizationTime()
Time when Message was localized
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Message.Builder |
mergeBody(Message.Body value)
The message content.
|
Message.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The Message creation timestamp.
|
Message.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Message.Builder |
mergeFrom(com.google.protobuf.Message other) |
Message.Builder |
mergeFrom(Message other) |
Message.Builder |
mergeLocalizationTime(com.google.protobuf.Timestamp value)
Time when Message was localized
|
Message.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Message.Builder |
removeAttachments(int index)
The attachments to download.
|
Message.Builder |
setAttachments(int index,
Attachment.Builder builderForValue)
The attachments to download.
|
Message.Builder |
setAttachments(int index,
Attachment value)
The attachments to download.
|
Message.Builder |
setBody(Message.Body.Builder builderForValue)
The message content.
|
Message.Builder |
setBody(Message.Body value)
The message content.
|
Message.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The Message creation timestamp.
|
Message.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The Message creation timestamp.
|
Message.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Message.Builder |
setLocalizationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when Message was localized
|
Message.Builder |
setLocalizationTime(com.google.protobuf.Timestamp value)
Time when Message was localized
|
Message.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Message.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public Message.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public Message getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Message build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Message buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Message.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public Message.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public Message.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public Message.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public Message.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public Message.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public Message.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Message.Builder>public Message.Builder mergeFrom(Message other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public Message.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Message.Builder>IOExceptionpublic boolean hasBody()
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;public Message.Body getBody()
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;public Message.Builder setBody(Message.Body value)
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;public Message.Builder setBody(Message.Body.Builder builderForValue)
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;public Message.Builder mergeBody(Message.Body value)
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;public Message.Builder clearBody()
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;public Message.Body.Builder getBodyBuilder()
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;public Message.BodyOrBuilder getBodyOrBuilder()
The message content.
.google.cloud.advisorynotifications.v1.Message.Body body = 1;public List<Attachment> getAttachmentsList()
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public int getAttachmentsCount()
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Attachment getAttachments(int index)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Message.Builder setAttachments(int index, Attachment value)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Message.Builder setAttachments(int index, Attachment.Builder builderForValue)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Message.Builder addAttachments(Attachment value)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Message.Builder addAttachments(int index, Attachment value)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Message.Builder addAttachments(Attachment.Builder builderForValue)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Message.Builder addAttachments(int index, Attachment.Builder builderForValue)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Message.Builder addAllAttachments(Iterable<? extends Attachment> values)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Message.Builder clearAttachments()
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Message.Builder removeAttachments(int index)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Attachment.Builder getAttachmentsBuilder(int index)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public AttachmentOrBuilder getAttachmentsOrBuilder(int index)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public List<? extends AttachmentOrBuilder> getAttachmentsOrBuilderList()
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Attachment.Builder addAttachmentsBuilder()
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public Attachment.Builder addAttachmentsBuilder(int index)
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public List<Attachment.Builder> getAttachmentsBuilderList()
The attachments to download.
repeated .google.cloud.advisorynotifications.v1.Attachment attachments = 2;public boolean hasCreateTime()
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.Timestamp getCreateTime()
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;public Message.Builder setCreateTime(com.google.protobuf.Timestamp value)
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;public Message.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;public Message.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;public Message.Builder clearCreateTime()
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The Message creation timestamp.
.google.protobuf.Timestamp create_time = 3;public boolean hasLocalizationTime()
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;public com.google.protobuf.Timestamp getLocalizationTime()
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;public Message.Builder setLocalizationTime(com.google.protobuf.Timestamp value)
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;public Message.Builder setLocalizationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;public Message.Builder mergeLocalizationTime(com.google.protobuf.Timestamp value)
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;public Message.Builder clearLocalizationTime()
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;public com.google.protobuf.Timestamp.Builder getLocalizationTimeBuilder()
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;public com.google.protobuf.TimestampOrBuilder getLocalizationTimeOrBuilder()
Time when Message was localized
.google.protobuf.Timestamp localization_time = 4;public final Message.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>public final Message.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>Copyright © 2023 Google LLC. All rights reserved.