Class DeployArtifact (1.27.0)

public final class DeployArtifact extends GeneratedMessageV3 implements DeployArtifactOrBuilder

The artifacts produced by a deploy operation.

Protobuf type google.cloud.deploy.v1.DeployArtifact

Static Fields

ARTIFACT_URI_FIELD_NUMBER

public static final int ARTIFACT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

MANIFEST_PATHS_FIELD_NUMBER

public static final int MANIFEST_PATHS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeployArtifact getDefaultInstance()
Returns
TypeDescription
DeployArtifact

getDescriptor()

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

newBuilder()

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

newBuilder(DeployArtifact prototype)

public static DeployArtifact.Builder newBuilder(DeployArtifact prototype)
Parameter
NameDescription
prototypeDeployArtifact
Returns
TypeDescription
DeployArtifact.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getArtifactUri()

public String getArtifactUri()

Output only. URI of a directory containing the artifacts. All paths are relative to this location.

string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The artifactUri.

getArtifactUriBytes()

public ByteString getArtifactUriBytes()

Output only. URI of a directory containing the artifacts. All paths are relative to this location.

string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for artifactUri.

getDefaultInstanceForType()

public DeployArtifact getDefaultInstanceForType()
Returns
TypeDescription
DeployArtifact

getManifestPaths(int index)

public String getManifestPaths(int index)

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The manifestPaths at the given index.

getManifestPathsBytes(int index)

public ByteString getManifestPathsBytes(int index)

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the manifestPaths at the given index.

getManifestPathsCount()

public int getManifestPathsCount()

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of manifestPaths.

getManifestPathsList()

public ProtocolStringList getManifestPathsList()

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ProtocolStringList

A list containing the manifestPaths.

getParserForType()

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

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 DeployArtifact.Builder newBuilderForType()
Returns
TypeDescription
DeployArtifact.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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