Class TargetArtifact.PhaseArtifact.Builder (1.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetArtifact.PhaseArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TargetArtifact.PhaseArtifact.Builder
Overrides

build()

public TargetArtifact.PhaseArtifact build()
Returns
TypeDescription
TargetArtifact.PhaseArtifact

buildPartial()

public TargetArtifact.PhaseArtifact buildPartial()
Returns
TypeDescription
TargetArtifact.PhaseArtifact

clear()

public TargetArtifact.PhaseArtifact.Builder clear()
Returns
TypeDescription
TargetArtifact.PhaseArtifact.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TargetArtifact.PhaseArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetArtifact.PhaseArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

clone()

public TargetArtifact.PhaseArtifact.Builder clone()
Returns
TypeDescription
TargetArtifact.PhaseArtifact.Builder
Overrides

getDefaultInstanceForType()

public TargetArtifact.PhaseArtifact getDefaultInstanceForType()
Returns
TypeDescription
TargetArtifact.PhaseArtifact

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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

Returns
TypeDescription
ByteString

The bytes for skaffoldConfigPath.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TargetArtifact.PhaseArtifact other)

public TargetArtifact.PhaseArtifact.Builder mergeFrom(TargetArtifact.PhaseArtifact other)
Parameter
NameDescription
otherTargetArtifact.PhaseArtifact
Returns
TypeDescription
TargetArtifact.PhaseArtifact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TargetArtifact.PhaseArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetArtifact.PhaseArtifact.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TargetArtifact.PhaseArtifact.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TargetArtifact.PhaseArtifact.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetArtifact.PhaseArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetArtifact.PhaseArtifact.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TargetArtifact.PhaseArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The jobManifestsPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for jobManifestsPath to set.

Returns
TypeDescription
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
NameDescription
valueString

The manifestPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for manifestPath to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The skaffoldConfigPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for skaffoldConfigPath to set.

Returns
TypeDescription
TargetArtifact.PhaseArtifact.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetArtifact.PhaseArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetArtifact.PhaseArtifact.Builder
Overrides