Class DeployArtifact (1.42.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
Type Description
int

MANIFEST_PATHS_FIELD_NUMBER

public static final int MANIFEST_PATHS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeployArtifact getDefaultInstance()
Returns
Type Description
DeployArtifact

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DeployArtifact.Builder newBuilder()
Returns
Type Description
DeployArtifact.Builder

newBuilder(DeployArtifact prototype)

public static DeployArtifact.Builder newBuilder(DeployArtifact prototype)
Parameter
Name Description
prototype DeployArtifact
Returns
Type Description
DeployArtifact.Builder

parseDelimitedFrom(InputStream input)

public static DeployArtifact parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeployArtifact
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployArtifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployArtifact
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DeployArtifact parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DeployArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeployArtifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeployArtifact parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DeployArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeployArtifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeployArtifact parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DeployArtifact
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployArtifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployArtifact
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DeployArtifact parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeployArtifact
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployArtifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployArtifact
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DeployArtifact parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DeployArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeployArtifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DeployArtifact> parser()
Returns
Type Description
Parser<DeployArtifact>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for artifactUri.

getDefaultInstanceForType()

public DeployArtifact getDefaultInstanceForType()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the manifestPaths.

getParserForType()

public Parser<DeployArtifact> getParserForType()
Returns
Type Description
Parser<DeployArtifact>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DeployArtifact.Builder newBuilderForType()
Returns
Type Description
DeployArtifact.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeployArtifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeployArtifact.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DeployArtifact.Builder toBuilder()
Returns
Type Description
DeployArtifact.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException