Class TargetArtifact.PhaseArtifact.Builder (1.41.0)

public static final class TargetArtifact.PhaseArtifact.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetArtifact.PhaseArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TargetArtifact.PhaseArtifact.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public TargetArtifact.PhaseArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetArtifact.PhaseArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TargetArtifact.PhaseArtifact.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetArtifact.PhaseArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TargetArtifact.PhaseArtifact.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TargetArtifact.PhaseArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TargetArtifact.PhaseArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TargetArtifact.PhaseArtifact.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetArtifact.PhaseArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TargetArtifact.PhaseArtifact.Builder
Overrides