public static final class SendShiftHandoffRequest.Builder extends GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder> implements SendShiftHandoffRequestOrBuilder
SendShiftHandoff and PreviewShiftHandoff RPC request.Protobuf type
google.cloud.irm.v1alpha2.SendShiftHandoffRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic SendShiftHandoffRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic SendShiftHandoffRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic SendShiftHandoffRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest.Builder mergeFrom(SendShiftHandoffRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public SendShiftHandoffRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<SendShiftHandoffRequest.Builder>IOExceptionpublic String getParent()
Required. The resource name of the Stackdriver project that the handoff is being sent
from. for example, `projects/{project_id_or_number}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface SendShiftHandoffRequestOrBuilderpublic ByteString getParentBytes()
Required. The resource name of the Stackdriver project that the handoff is being sent
from. for example, `projects/{project_id_or_number}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface SendShiftHandoffRequestOrBuilderpublic SendShiftHandoffRequest.Builder setParent(String value)
Required. The resource name of the Stackdriver project that the handoff is being sent
from. for example, `projects/{project_id_or_number}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public SendShiftHandoffRequest.Builder clearParent()
Required. The resource name of the Stackdriver project that the handoff is being sent
from. for example, `projects/{project_id_or_number}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public SendShiftHandoffRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the Stackdriver project that the handoff is being sent
from. for example, `projects/{project_id_or_number}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public ProtocolStringList getRecipientsList()
Required. Email addresses of the recipients of the handoff, for example, "user@example.com". Must contain at least one entry.
repeated string recipients = 2 [(.google.api.field_behavior) = REQUIRED];getRecipientsList in interface SendShiftHandoffRequestOrBuilderpublic int getRecipientsCount()
Required. Email addresses of the recipients of the handoff, for example, "user@example.com". Must contain at least one entry.
repeated string recipients = 2 [(.google.api.field_behavior) = REQUIRED];getRecipientsCount in interface SendShiftHandoffRequestOrBuilderpublic String getRecipients(int index)
Required. Email addresses of the recipients of the handoff, for example, "user@example.com". Must contain at least one entry.
repeated string recipients = 2 [(.google.api.field_behavior) = REQUIRED];getRecipients in interface SendShiftHandoffRequestOrBuilderindex - The index of the element to return.public ByteString getRecipientsBytes(int index)
Required. Email addresses of the recipients of the handoff, for example, "user@example.com". Must contain at least one entry.
repeated string recipients = 2 [(.google.api.field_behavior) = REQUIRED];getRecipientsBytes in interface SendShiftHandoffRequestOrBuilderindex - The index of the value to return.public SendShiftHandoffRequest.Builder setRecipients(int index, String value)
Required. Email addresses of the recipients of the handoff, for example, "user@example.com". Must contain at least one entry.
repeated string recipients = 2 [(.google.api.field_behavior) = REQUIRED];index - The index to set the value at.value - The recipients to set.public SendShiftHandoffRequest.Builder addRecipients(String value)
Required. Email addresses of the recipients of the handoff, for example, "user@example.com". Must contain at least one entry.
repeated string recipients = 2 [(.google.api.field_behavior) = REQUIRED];value - The recipients to add.public SendShiftHandoffRequest.Builder addAllRecipients(Iterable<String> values)
Required. Email addresses of the recipients of the handoff, for example, "user@example.com". Must contain at least one entry.
repeated string recipients = 2 [(.google.api.field_behavior) = REQUIRED];values - The recipients to add.public SendShiftHandoffRequest.Builder clearRecipients()
Required. Email addresses of the recipients of the handoff, for example, "user@example.com". Must contain at least one entry.
repeated string recipients = 2 [(.google.api.field_behavior) = REQUIRED];public SendShiftHandoffRequest.Builder addRecipientsBytes(ByteString value)
Required. Email addresses of the recipients of the handoff, for example, "user@example.com". Must contain at least one entry.
repeated string recipients = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes of the recipients to add.public ProtocolStringList getCcList()
Optional. Email addresses that should be CC'd on the handoff.
repeated string cc = 3 [(.google.api.field_behavior) = OPTIONAL];getCcList in interface SendShiftHandoffRequestOrBuilderpublic int getCcCount()
Optional. Email addresses that should be CC'd on the handoff.
repeated string cc = 3 [(.google.api.field_behavior) = OPTIONAL];getCcCount in interface SendShiftHandoffRequestOrBuilderpublic String getCc(int index)
Optional. Email addresses that should be CC'd on the handoff.
repeated string cc = 3 [(.google.api.field_behavior) = OPTIONAL];getCc in interface SendShiftHandoffRequestOrBuilderindex - The index of the element to return.public ByteString getCcBytes(int index)
Optional. Email addresses that should be CC'd on the handoff.
repeated string cc = 3 [(.google.api.field_behavior) = OPTIONAL];getCcBytes in interface SendShiftHandoffRequestOrBuilderindex - The index of the value to return.public SendShiftHandoffRequest.Builder setCc(int index, String value)
Optional. Email addresses that should be CC'd on the handoff.
repeated string cc = 3 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The cc to set.public SendShiftHandoffRequest.Builder addCc(String value)
Optional. Email addresses that should be CC'd on the handoff.
repeated string cc = 3 [(.google.api.field_behavior) = OPTIONAL];value - The cc to add.public SendShiftHandoffRequest.Builder addAllCc(Iterable<String> values)
Optional. Email addresses that should be CC'd on the handoff.
repeated string cc = 3 [(.google.api.field_behavior) = OPTIONAL];values - The cc to add.public SendShiftHandoffRequest.Builder clearCc()
Optional. Email addresses that should be CC'd on the handoff.
repeated string cc = 3 [(.google.api.field_behavior) = OPTIONAL];public SendShiftHandoffRequest.Builder addCcBytes(ByteString value)
Optional. Email addresses that should be CC'd on the handoff.
repeated string cc = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the cc to add.public String getSubject()
Required. The subject of the email.
string subject = 4 [(.google.api.field_behavior) = REQUIRED];getSubject in interface SendShiftHandoffRequestOrBuilderpublic ByteString getSubjectBytes()
Required. The subject of the email.
string subject = 4 [(.google.api.field_behavior) = REQUIRED];getSubjectBytes in interface SendShiftHandoffRequestOrBuilderpublic SendShiftHandoffRequest.Builder setSubject(String value)
Required. The subject of the email.
string subject = 4 [(.google.api.field_behavior) = REQUIRED];value - The subject to set.public SendShiftHandoffRequest.Builder clearSubject()
Required. The subject of the email.
string subject = 4 [(.google.api.field_behavior) = REQUIRED];public SendShiftHandoffRequest.Builder setSubjectBytes(ByteString value)
Required. The subject of the email.
string subject = 4 [(.google.api.field_behavior) = REQUIRED];value - The bytes for subject to set.public String getNotesContentType()
Content type string, for example, 'text/plain' or 'text/html'.
string notes_content_type = 5;getNotesContentType in interface SendShiftHandoffRequestOrBuilderpublic ByteString getNotesContentTypeBytes()
Content type string, for example, 'text/plain' or 'text/html'.
string notes_content_type = 5;getNotesContentTypeBytes in interface SendShiftHandoffRequestOrBuilderpublic SendShiftHandoffRequest.Builder setNotesContentType(String value)
Content type string, for example, 'text/plain' or 'text/html'.
string notes_content_type = 5;value - The notesContentType to set.public SendShiftHandoffRequest.Builder clearNotesContentType()
Content type string, for example, 'text/plain' or 'text/html'.
string notes_content_type = 5;public SendShiftHandoffRequest.Builder setNotesContentTypeBytes(ByteString value)
Content type string, for example, 'text/plain' or 'text/html'.
string notes_content_type = 5;value - The bytes for notesContentType to set.public String getNotesContent()
Optional. Additional notes to be included in the handoff.
string notes_content = 6 [(.google.api.field_behavior) = OPTIONAL];getNotesContent in interface SendShiftHandoffRequestOrBuilderpublic ByteString getNotesContentBytes()
Optional. Additional notes to be included in the handoff.
string notes_content = 6 [(.google.api.field_behavior) = OPTIONAL];getNotesContentBytes in interface SendShiftHandoffRequestOrBuilderpublic SendShiftHandoffRequest.Builder setNotesContent(String value)
Optional. Additional notes to be included in the handoff.
string notes_content = 6 [(.google.api.field_behavior) = OPTIONAL];value - The notesContent to set.public SendShiftHandoffRequest.Builder clearNotesContent()
Optional. Additional notes to be included in the handoff.
string notes_content = 6 [(.google.api.field_behavior) = OPTIONAL];public SendShiftHandoffRequest.Builder setNotesContentBytes(ByteString value)
Optional. Additional notes to be included in the handoff.
string notes_content = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for notesContent to set.public List<SendShiftHandoffRequest.Incident> getIncidentsList()
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
getIncidentsList in interface SendShiftHandoffRequestOrBuilderpublic int getIncidentsCount()
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
getIncidentsCount in interface SendShiftHandoffRequestOrBuilderpublic SendShiftHandoffRequest.Incident getIncidents(int index)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
getIncidents in interface SendShiftHandoffRequestOrBuilderpublic SendShiftHandoffRequest.Builder setIncidents(int index, SendShiftHandoffRequest.Incident value)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Builder setIncidents(int index, SendShiftHandoffRequest.Incident.Builder builderForValue)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Builder addIncidents(SendShiftHandoffRequest.Incident value)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Builder addIncidents(int index, SendShiftHandoffRequest.Incident value)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Builder addIncidents(SendShiftHandoffRequest.Incident.Builder builderForValue)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Builder addIncidents(int index, SendShiftHandoffRequest.Incident.Builder builderForValue)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Builder addAllIncidents(Iterable<? extends SendShiftHandoffRequest.Incident> values)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Builder clearIncidents()
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Builder removeIncidents(int index)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Incident.Builder getIncidentsBuilder(int index)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.IncidentOrBuilder getIncidentsOrBuilder(int index)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
getIncidentsOrBuilder in interface SendShiftHandoffRequestOrBuilderpublic List<? extends SendShiftHandoffRequest.IncidentOrBuilder> getIncidentsOrBuilderList()
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
getIncidentsOrBuilderList in interface SendShiftHandoffRequestOrBuilderpublic SendShiftHandoffRequest.Incident.Builder addIncidentsBuilder()
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public SendShiftHandoffRequest.Incident.Builder addIncidentsBuilder(int index)
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public List<SendShiftHandoffRequest.Incident.Builder> getIncidentsBuilderList()
Optional. The set of incidents that should be included in the handoff.
repeated .google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident incidents = 7 [(.google.api.field_behavior) = OPTIONAL];
public boolean getPreviewOnly()
If set to true a ShiftHandoffResponse will be returned but the handoff will not actually be sent.
bool preview_only = 8;getPreviewOnly in interface SendShiftHandoffRequestOrBuilderpublic SendShiftHandoffRequest.Builder setPreviewOnly(boolean value)
If set to true a ShiftHandoffResponse will be returned but the handoff will not actually be sent.
bool preview_only = 8;value - The previewOnly to set.public SendShiftHandoffRequest.Builder clearPreviewOnly()
If set to true a ShiftHandoffResponse will be returned but the handoff will not actually be sent.
bool preview_only = 8;public final SendShiftHandoffRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>public final SendShiftHandoffRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<SendShiftHandoffRequest.Builder>Copyright © 2020 Google LLC. All rights reserved.