Class TargetArtifact (1.18.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
TypeDescription
int

MANIFEST_PATH_FIELD_NUMBER

public static final int MANIFEST_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

PHASE_ARTIFACTS_FIELD_NUMBER

public static final int PHASE_ARTIFACTS_FIELD_NUMBER
Field Value
TypeDescription
int

SKAFFOLD_CONFIG_PATH_FIELD_NUMBER

public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TargetArtifact getDefaultInstance()
Returns
TypeDescription
TargetArtifact

getDescriptor()

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

newBuilder()

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

newBuilder(TargetArtifact prototype)

public static TargetArtifact.Builder newBuilder(TargetArtifact prototype)
Parameter
NameDescription
prototypeTargetArtifact
Returns
TypeDescription
TargetArtifact.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TargetArtifact> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

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. 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
TypeDescription
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
TypeDescription
ByteString

The bytes for artifactUri.

getDefaultInstanceForType()

public TargetArtifact getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for manifestPath.

getParserForType()

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

getPhaseArtifacts()

public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifacts()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueTargetArtifact.PhaseArtifact
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
TargetArtifact.PhaseArtifact

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for skaffoldConfigPath.

getUriCase()

public TargetArtifact.UriCase getUriCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the artifactUri field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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