public final class Artifact extends GeneratedMessageV3 implements ArtifactOrBuilder
External artifact associated to an incident.Protobuf type
google.cloud.irm.v1alpha2.Artifact| Modifier and Type | Class and Description |
|---|---|
static class |
Artifact.Builder
External artifact associated to an incident.
|
static class |
Artifact.Type
Possible types of an artifact.
|
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 |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
URL_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 NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
public static final int TYPE_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 getName()
Output only. Resource name such as
"projects/{project_id_or_number}/incidents/{incident_id}/artifacts/{artifact_id}".
string name = 1;getName in interface ArtifactOrBuilderpublic ByteString getNameBytes()
Output only. Resource name such as
"projects/{project_id_or_number}/incidents/{incident_id}/artifacts/{artifact_id}".
string name = 1;getNameBytes in interface ArtifactOrBuilderpublic String getDisplayName()
User provided name of an artifact.
string display_name = 2;getDisplayName in interface ArtifactOrBuilderpublic ByteString getDisplayNameBytes()
User provided name of an artifact.
string display_name = 2;getDisplayNameBytes in interface ArtifactOrBuilderpublic String getEtag()
Output only. Etag for this version of the resource. Must be specified in update requests and match the current version in storage. Must not be modified by the client.
string etag = 3;getEtag in interface ArtifactOrBuilderpublic ByteString getEtagBytes()
Output only. Etag for this version of the resource. Must be specified in update requests and match the current version in storage. Must not be modified by the client.
string etag = 3;getEtagBytes in interface ArtifactOrBuilderpublic String getUrl()
URL to access the artifact.
string url = 4;getUrl in interface ArtifactOrBuilderpublic ByteString getUrlBytes()
URL to access the artifact.
string url = 4;getUrlBytes in interface ArtifactOrBuilderpublic int getTypeValue()
Type of this artifact.
.google.cloud.irm.v1alpha2.Artifact.Type type = 5;getTypeValue in interface ArtifactOrBuilderpublic Artifact.Type getType()
Type of this artifact.
.google.cloud.irm.v1alpha2.Artifact.Type type = 5;getType in interface ArtifactOrBuilderpublic 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 Artifact parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Artifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Artifact parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Artifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Artifact parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Artifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Artifact parseFrom(InputStream input) throws IOException
IOExceptionpublic static Artifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Artifact parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Artifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Artifact parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Artifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Artifact.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Artifact.Builder newBuilder()
public static Artifact.Builder newBuilder(Artifact prototype)
public Artifact.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Artifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Artifact getDefaultInstance()
public Parser<Artifact> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Artifact getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.