Package flyteidl.admin
Class Common.EmailNotification.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
- flyteidl.admin.Common.EmailNotification.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Common.EmailNotificationOrBuilder,Cloneable
- Enclosing class:
- Common.EmailNotification
public static final class Common.EmailNotification.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder> implements Common.EmailNotificationOrBuilder
Defines an email notification specification.
Protobuf typeflyteidl.admin.EmailNotification
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private com.google.protobuf.LazyStringListrecipientsEmail_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Common.EmailNotification.BuilderaddAllRecipientsEmail(Iterable<String> values)The list of email addresses recipients for this notification.Common.EmailNotification.BuilderaddRecipientsEmail(String value)The list of email addresses recipients for this notification.Common.EmailNotification.BuilderaddRecipientsEmailBytes(com.google.protobuf.ByteString value)The list of email addresses recipients for this notification.Common.EmailNotification.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Common.EmailNotificationbuild()Common.EmailNotificationbuildPartial()private voidbuildPartial0(Common.EmailNotification result)private voidbuildPartialRepeatedFields(Common.EmailNotification result)Common.EmailNotification.Builderclear()Common.EmailNotification.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Common.EmailNotification.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Common.EmailNotification.BuilderclearRecipientsEmail()The list of email addresses recipients for this notification.Common.EmailNotification.Builderclone()private voidensureRecipientsEmailIsMutable()Common.EmailNotificationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetRecipientsEmail(int index)The list of email addresses recipients for this notification.com.google.protobuf.ByteStringgetRecipientsEmailBytes(int index)The list of email addresses recipients for this notification.intgetRecipientsEmailCount()The list of email addresses recipients for this notification.com.google.protobuf.ProtocolStringListgetRecipientsEmailList()The list of email addresses recipients for this notification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Common.EmailNotification.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Common.EmailNotification.BuildermergeFrom(com.google.protobuf.Message other)Common.EmailNotification.BuildermergeFrom(Common.EmailNotification other)Common.EmailNotification.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Common.EmailNotification.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Common.EmailNotification.BuildersetRecipientsEmail(int index, String value)The list of email addresses recipients for this notification.Common.EmailNotification.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Common.EmailNotification.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
clear
public Common.EmailNotification.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
getDefaultInstanceForType
public Common.EmailNotification getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Common.EmailNotification build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Common.EmailNotification buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(Common.EmailNotification result)
-
buildPartial0
private void buildPartial0(Common.EmailNotification result)
-
clone
public Common.EmailNotification.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
setField
public Common.EmailNotification.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
clearField
public Common.EmailNotification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
clearOneof
public Common.EmailNotification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
setRepeatedField
public Common.EmailNotification.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
addRepeatedField
public Common.EmailNotification.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
mergeFrom
public Common.EmailNotification.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Common.EmailNotification.Builder>
-
mergeFrom
public Common.EmailNotification.Builder mergeFrom(Common.EmailNotification other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
mergeFrom
public Common.EmailNotification.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Common.EmailNotification.Builder>- Throws:
IOException
-
ensureRecipientsEmailIsMutable
private void ensureRecipientsEmailIsMutable()
-
getRecipientsEmailList
public com.google.protobuf.ProtocolStringList getRecipientsEmailList()
The list of email addresses recipients for this notification. +required
repeated string recipients_email = 1;- Specified by:
getRecipientsEmailListin interfaceCommon.EmailNotificationOrBuilder- Returns:
- A list containing the recipientsEmail.
-
getRecipientsEmailCount
public int getRecipientsEmailCount()
The list of email addresses recipients for this notification. +required
repeated string recipients_email = 1;- Specified by:
getRecipientsEmailCountin interfaceCommon.EmailNotificationOrBuilder- Returns:
- The count of recipientsEmail.
-
getRecipientsEmail
public String getRecipientsEmail(int index)
The list of email addresses recipients for this notification. +required
repeated string recipients_email = 1;- Specified by:
getRecipientsEmailin interfaceCommon.EmailNotificationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The recipientsEmail at the given index.
-
getRecipientsEmailBytes
public com.google.protobuf.ByteString getRecipientsEmailBytes(int index)
The list of email addresses recipients for this notification. +required
repeated string recipients_email = 1;- Specified by:
getRecipientsEmailBytesin interfaceCommon.EmailNotificationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the recipientsEmail at the given index.
-
setRecipientsEmail
public Common.EmailNotification.Builder setRecipientsEmail(int index, String value)
The list of email addresses recipients for this notification. +required
repeated string recipients_email = 1;- Parameters:
index- The index to set the value at.value- The recipientsEmail to set.- Returns:
- This builder for chaining.
-
addRecipientsEmail
public Common.EmailNotification.Builder addRecipientsEmail(String value)
The list of email addresses recipients for this notification. +required
repeated string recipients_email = 1;- Parameters:
value- The recipientsEmail to add.- Returns:
- This builder for chaining.
-
addAllRecipientsEmail
public Common.EmailNotification.Builder addAllRecipientsEmail(Iterable<String> values)
The list of email addresses recipients for this notification. +required
repeated string recipients_email = 1;- Parameters:
values- The recipientsEmail to add.- Returns:
- This builder for chaining.
-
clearRecipientsEmail
public Common.EmailNotification.Builder clearRecipientsEmail()
The list of email addresses recipients for this notification. +required
repeated string recipients_email = 1;- Returns:
- This builder for chaining.
-
addRecipientsEmailBytes
public Common.EmailNotification.Builder addRecipientsEmailBytes(com.google.protobuf.ByteString value)
The list of email addresses recipients for this notification. +required
repeated string recipients_email = 1;- Parameters:
value- The bytes of the recipientsEmail to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Common.EmailNotification.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
mergeUnknownFields
public final Common.EmailNotification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.EmailNotification.Builder>
-
-