public final class SendShiftHandoffRequest extends GeneratedMessageV3 implements SendShiftHandoffRequestOrBuilder
SendShiftHandoff and PreviewShiftHandoff RPC request.Protobuf type
google.cloud.irm.v1alpha2.SendShiftHandoffRequest| Modifier and Type | Class and Description |
|---|---|
static class |
SendShiftHandoffRequest.Builder
SendShiftHandoff and PreviewShiftHandoff RPC request.
|
static class |
SendShiftHandoffRequest.Incident
Describes an incident for inclusion in the handoff.
|
static interface |
SendShiftHandoffRequest.IncidentOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
CC_FIELD_NUMBER |
static int |
INCIDENTS_FIELD_NUMBER |
static int |
NOTES_CONTENT_FIELD_NUMBER |
static int |
NOTES_CONTENT_TYPE_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
PREVIEW_ONLY_FIELD_NUMBER |
static int |
RECIPIENTS_FIELD_NUMBER |
static int |
SUBJECT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PARENT_FIELD_NUMBER
public static final int RECIPIENTS_FIELD_NUMBER
public static final int CC_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
public static final int NOTES_CONTENT_TYPE_FIELD_NUMBER
public static final int NOTES_CONTENT_FIELD_NUMBER
public static final int INCIDENTS_FIELD_NUMBER
public static final int PREVIEW_ONLY_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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 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 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 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 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 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 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 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 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.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 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 final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static SendShiftHandoffRequest parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SendShiftHandoffRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SendShiftHandoffRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SendShiftHandoffRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SendShiftHandoffRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SendShiftHandoffRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SendShiftHandoffRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static SendShiftHandoffRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SendShiftHandoffRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SendShiftHandoffRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SendShiftHandoffRequest parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static SendShiftHandoffRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SendShiftHandoffRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static SendShiftHandoffRequest.Builder newBuilder()
public static SendShiftHandoffRequest.Builder newBuilder(SendShiftHandoffRequest prototype)
public SendShiftHandoffRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected SendShiftHandoffRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static SendShiftHandoffRequest getDefaultInstance()
public static Parser<SendShiftHandoffRequest> parser()
public Parser<SendShiftHandoffRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public SendShiftHandoffRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.