Class TargetArtifact.PhaseArtifact.Builder (1.81.0)

public static final class TargetArtifact.PhaseArtifact.Builder extends GeneratedMessage.Builder<TargetArtifact.PhaseArtifact.Builder> implements TargetArtifact.PhaseArtifactOrBuilder

Contains the paths to the artifacts, relative to the URI, for a phase.

Protobuf type google.cloud.deploy.v1.TargetArtifact.PhaseArtifact

Static Methods

getDescriptor()

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

Methods

build()

public TargetArtifact.PhaseArtifact build()
Returns
Type Description
TargetArtifact.PhaseArtifact

buildPartial()

public TargetArtifact.PhaseArtifact buildPartial()
Returns
Type Description
TargetArtifact.PhaseArtifact

clear()

public TargetArtifact.PhaseArtifact.Builder clear()
Returns
Type Description
TargetArtifact.PhaseArtifact.Builder
Overrides

clearJobManifestsPath()

public TargetArtifact.PhaseArtifact.Builder clearJobManifestsPath()

Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.

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

Returns
Type Description
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

clearManifestPath()

public TargetArtifact.PhaseArtifact.Builder clearManifestPath()

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
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

clearSkaffoldConfigPath()

public TargetArtifact.PhaseArtifact.Builder clearSkaffoldConfigPath()

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

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

Returns
Type Description
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

getDefaultInstanceForType()

public TargetArtifact.PhaseArtifact getDefaultInstanceForType()
Returns
Type Description
TargetArtifact.PhaseArtifact

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getJobManifestsPath()

public String getJobManifestsPath()

Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.

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

Returns
Type Description
String

The jobManifestsPath.

getJobManifestsPathBytes()

public ByteString getJobManifestsPathBytes()

Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.

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

Returns
Type Description
ByteString

The bytes for jobManifestsPath.

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.

getSkaffoldConfigPath()

public String getSkaffoldConfigPath()

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

string skaffold_config_path = 1 [(.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 = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for skaffoldConfigPath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetArtifact.PhaseArtifact other)

public TargetArtifact.PhaseArtifact.Builder mergeFrom(TargetArtifact.PhaseArtifact other)
Parameter
Name Description
other TargetArtifact.PhaseArtifact
Returns
Type Description
TargetArtifact.PhaseArtifact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TargetArtifact.PhaseArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetArtifact.PhaseArtifact.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TargetArtifact.PhaseArtifact.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TargetArtifact.PhaseArtifact.Builder
Overrides

setJobManifestsPath(String value)

public TargetArtifact.PhaseArtifact.Builder setJobManifestsPath(String value)

Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.

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

Parameter
Name Description
value String

The jobManifestsPath to set.

Returns
Type Description
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

setJobManifestsPathBytes(ByteString value)

public TargetArtifact.PhaseArtifact.Builder setJobManifestsPathBytes(ByteString value)

Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.

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

Parameter
Name Description
value ByteString

The bytes for jobManifestsPath to set.

Returns
Type Description
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

setManifestPath(String value)

public TargetArtifact.PhaseArtifact.Builder setManifestPath(String value)

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

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

Parameter
Name Description
value String

The manifestPath to set.

Returns
Type Description
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

setManifestPathBytes(ByteString value)

public TargetArtifact.PhaseArtifact.Builder setManifestPathBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for manifestPath to set.

Returns
Type Description
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

setSkaffoldConfigPath(String value)

public TargetArtifact.PhaseArtifact.Builder setSkaffoldConfigPath(String value)

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

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

Parameter
Name Description
value String

The skaffoldConfigPath to set.

Returns
Type Description
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

setSkaffoldConfigPathBytes(ByteString value)

public TargetArtifact.PhaseArtifact.Builder setSkaffoldConfigPathBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for skaffoldConfigPath to set.

Returns
Type Description
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.