Class DeploymentNote (2.21.0)

public final class DeploymentNote extends GeneratedMessageV3 implements DeploymentNoteOrBuilder

An artifact that can be deployed in some runtime.

Protobuf type grafeas.v1.DeploymentNote

Static Fields

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeploymentNote getDefaultInstance()
Returns
TypeDescription
DeploymentNote

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeploymentNote.Builder newBuilder()
Returns
TypeDescription
DeploymentNote.Builder

newBuilder(DeploymentNote prototype)

public static DeploymentNote.Builder newBuilder(DeploymentNote prototype)
Parameter
NameDescription
prototypeDeploymentNote
Returns
TypeDescription
DeploymentNote.Builder

parseDelimitedFrom(InputStream input)

public static DeploymentNote parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeploymentNote parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeploymentNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeploymentNote parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeploymentNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeploymentNote parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeploymentNote parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeploymentNote parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeploymentNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeploymentNote> parser()
Returns
TypeDescription
Parser<DeploymentNote>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DeploymentNote getDefaultInstanceForType()
Returns
TypeDescription
DeploymentNote

getParserForType()

public Parser<DeploymentNote> getParserForType()
Returns
TypeDescription
Parser<DeploymentNote>
Overrides

getResourceUri(int index)

public String getResourceUri(int index)

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The resourceUri at the given index.

getResourceUriBytes(int index)

public ByteString getResourceUriBytes(int index)

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the resourceUri at the given index.

getResourceUriCount()

public int getResourceUriCount()

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Returns
TypeDescription
int

The count of resourceUri.

getResourceUriList()

public ProtocolStringList getResourceUriList()

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeploymentNote.Builder newBuilderForType()
Returns
TypeDescription
DeploymentNote.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeploymentNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeploymentNote.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeploymentNote.Builder toBuilder()
Returns
TypeDescription
DeploymentNote.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException