public final class Synopsis extends GeneratedMessageV3 implements SynopsisOrBuilder
Synopsis is a summary of an incident and it contains a textual content, an author and a last updated timestamp.Protobuf type
google.cloud.irm.v1alpha2.Synopsis| Modifier and Type | Class and Description |
|---|---|
static class |
Synopsis.Builder
Synopsis is a summary of an incident and it contains a textual content,
an author and a last updated timestamp.
|
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 |
AUTHOR_FIELD_NUMBER |
static int |
CONTENT_FIELD_NUMBER |
static int |
CONTENT_TYPE_FIELD_NUMBER |
static int |
UPDATE_TIME_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 CONTENT_TYPE_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int AUTHOR_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 getContentType()
Content type string, for example, 'text/plain' or 'text/markdown'.
string content_type = 1;getContentType in interface SynopsisOrBuilderpublic ByteString getContentTypeBytes()
Content type string, for example, 'text/plain' or 'text/markdown'.
string content_type = 1;getContentTypeBytes in interface SynopsisOrBuilderpublic String getContent()
Textual content of the synopsis. It can be plain text or markdown as indicated by the content_type.
string content = 2;getContent in interface SynopsisOrBuilderpublic ByteString getContentBytes()
Textual content of the synopsis. It can be plain text or markdown as indicated by the content_type.
string content = 2;getContentBytes in interface SynopsisOrBuilderpublic boolean hasUpdateTime()
Last updated timestamp.
.google.protobuf.Timestamp update_time = 3;hasUpdateTime in interface SynopsisOrBuilderpublic Timestamp getUpdateTime()
Last updated timestamp.
.google.protobuf.Timestamp update_time = 3;getUpdateTime in interface SynopsisOrBuilderpublic TimestampOrBuilder getUpdateTimeOrBuilder()
Last updated timestamp.
.google.protobuf.Timestamp update_time = 3;getUpdateTimeOrBuilder in interface SynopsisOrBuilderpublic boolean hasAuthor()
Author of the synopsis.
.google.cloud.irm.v1alpha2.User author = 4;hasAuthor in interface SynopsisOrBuilderpublic User getAuthor()
Author of the synopsis.
.google.cloud.irm.v1alpha2.User author = 4;getAuthor in interface SynopsisOrBuilderpublic UserOrBuilder getAuthorOrBuilder()
Author of the synopsis.
.google.cloud.irm.v1alpha2.User author = 4;getAuthorOrBuilder in interface SynopsisOrBuilderpublic 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 Synopsis parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Synopsis parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Synopsis parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Synopsis parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Synopsis parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Synopsis parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Synopsis parseFrom(InputStream input) throws IOException
IOExceptionpublic static Synopsis parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Synopsis parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Synopsis parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Synopsis parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Synopsis parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Synopsis.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Synopsis.Builder newBuilder()
public static Synopsis.Builder newBuilder(Synopsis prototype)
public Synopsis.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Synopsis.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Synopsis getDefaultInstance()
public Parser<Synopsis> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Synopsis getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.