Class TargetArtifact (1.42.0)

public final class TargetArtifact extends GeneratedMessageV3 implements TargetArtifactOrBuilder

The artifacts produced by a target render operation.

Protobuf type google.cloud.deploy.v1.TargetArtifact

Static Fields

ARTIFACT_URI_FIELD_NUMBER

public static final int ARTIFACT_URI_FIELD_NUMBER
Field Value
Type Description
int

MANIFEST_PATH_FIELD_NUMBER

public static final int MANIFEST_PATH_FIELD_NUMBER
Field Value
Type Description
int

PHASE_ARTIFACTS_FIELD_NUMBER

public static final int PHASE_ARTIFACTS_FIELD_NUMBER
Field Value
Type Description
int

SKAFFOLD_CONFIG_PATH_FIELD_NUMBER

public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TargetArtifact getDefaultInstance()
Returns
Type Description
TargetArtifact

getDescriptor()

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

newBuilder()

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

newBuilder(TargetArtifact prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsPhaseArtifacts(String key)

public boolean containsPhaseArtifacts(String key)

Output only. Map from the phase ID to the phase artifacts for the Target.

map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

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. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

string artifact_uri = 4 [(.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. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

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

Returns
Type Description
ByteString

The bytes for artifactUri.

getDefaultInstanceForType()

public TargetArtifact getDefaultInstanceForType()
Returns
Type Description
TargetArtifact

getManifestPath()

public String getManifestPath()

Output only. File path of the rendered manifest relative to the URI.

string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The manifestPath.

getManifestPathBytes()

public ByteString getManifestPathBytes()

Output only. File path of the rendered manifest relative to the URI.

string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for manifestPath.

getParserForType()

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

getPhaseArtifacts() (deprecated)

public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifacts()
Returns
Type Description
Map<String,PhaseArtifact>

getPhaseArtifactsCount()

public int getPhaseArtifactsCount()

Output only. Map from the phase ID to the phase artifacts for the Target.

map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPhaseArtifactsMap()

public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifactsMap()

Output only. Map from the phase ID to the phase artifacts for the Target.

map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,PhaseArtifact>

getPhaseArtifactsOrDefault(String key, TargetArtifact.PhaseArtifact defaultValue)

public TargetArtifact.PhaseArtifact getPhaseArtifactsOrDefault(String key, TargetArtifact.PhaseArtifact defaultValue)

Output only. Map from the phase ID to the phase artifacts for the Target.

map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue TargetArtifact.PhaseArtifact
Returns
Type Description
TargetArtifact.PhaseArtifact

getPhaseArtifactsOrThrow(String key)

public TargetArtifact.PhaseArtifact getPhaseArtifactsOrThrow(String key)

Output only. Map from the phase ID to the phase artifacts for the Target.

map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
TargetArtifact.PhaseArtifact

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkaffoldConfigPath()

public String getSkaffoldConfigPath()

Output only. File path of the resolved Skaffold configuration relative to the URI.

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

Returns
Type Description
String

The skaffoldConfigPath.

getSkaffoldConfigPathBytes()

public ByteString getSkaffoldConfigPathBytes()

Output only. File path of the resolved Skaffold configuration relative to the URI.

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

Returns
Type Description
ByteString

The bytes for skaffoldConfigPath.

getUriCase()

public TargetArtifact.UriCase getUriCase()
Returns
Type Description
TargetArtifact.UriCase

hasArtifactUri()

public boolean hasArtifactUri()

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

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

Returns
Type Description
boolean

Whether the artifactUri field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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