Package com.google.cloud.deploy.v1
Class TargetArtifact.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
- com.google.cloud.deploy.v1.TargetArtifact.Builder
-
- All Implemented Interfaces:
TargetArtifactOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TargetArtifact
public static final class TargetArtifact.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder> implements TargetArtifactOrBuilder
The artifacts produced by a target render operation.
Protobuf typegoogle.cloud.deploy.v1.TargetArtifact
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
clear
public TargetArtifact.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
getDefaultInstanceForType
public TargetArtifact getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TargetArtifact build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TargetArtifact buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TargetArtifact.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
setField
public TargetArtifact.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
clearField
public TargetArtifact.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
clearOneof
public TargetArtifact.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
setRepeatedField
public TargetArtifact.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
addRepeatedField
public TargetArtifact.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
mergeFrom
public TargetArtifact.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TargetArtifact.Builder>
-
mergeFrom
public TargetArtifact.Builder mergeFrom(TargetArtifact other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
mergeFrom
public TargetArtifact.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TargetArtifact.Builder>
- Throws:
IOException
-
getUriCase
public TargetArtifact.UriCase getUriCase()
- Specified by:
getUriCase
in interfaceTargetArtifactOrBuilder
-
clearUri
public TargetArtifact.Builder clearUri()
-
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];
- Specified by:
hasArtifactUri
in interfaceTargetArtifactOrBuilder
- Returns:
- Whether the artifactUri field is set.
-
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];
- Specified by:
getArtifactUri
in interfaceTargetArtifactOrBuilder
- Returns:
- The artifactUri.
-
getArtifactUriBytes
public com.google.protobuf.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];
- Specified by:
getArtifactUriBytes
in interfaceTargetArtifactOrBuilder
- Returns:
- The bytes for artifactUri.
-
setArtifactUri
public TargetArtifact.Builder setArtifactUri(String value)
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];
- Parameters:
value
- The artifactUri to set.- Returns:
- This builder for chaining.
-
clearArtifactUri
public TargetArtifact.Builder clearArtifactUri()
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:
- This builder for chaining.
-
setArtifactUriBytes
public TargetArtifact.Builder setArtifactUriBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for artifactUri to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getSkaffoldConfigPath
in interfaceTargetArtifactOrBuilder
- Returns:
- The skaffoldConfigPath.
-
getSkaffoldConfigPathBytes
public com.google.protobuf.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];
- Specified by:
getSkaffoldConfigPathBytes
in interfaceTargetArtifactOrBuilder
- Returns:
- The bytes for skaffoldConfigPath.
-
setSkaffoldConfigPath
public TargetArtifact.Builder setSkaffoldConfigPath(String value)
Output only. File path of the resolved Skaffold configuration relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The skaffoldConfigPath to set.- Returns:
- This builder for chaining.
-
clearSkaffoldConfigPath
public TargetArtifact.Builder clearSkaffoldConfigPath()
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:
- This builder for chaining.
-
setSkaffoldConfigPathBytes
public TargetArtifact.Builder setSkaffoldConfigPathBytes(com.google.protobuf.ByteString value)
Output only. File path of the resolved Skaffold configuration relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for skaffoldConfigPath to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getManifestPath
in interfaceTargetArtifactOrBuilder
- Returns:
- The manifestPath.
-
getManifestPathBytes
public com.google.protobuf.ByteString getManifestPathBytes()
Output only. File path of the rendered manifest relative to the URI.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getManifestPathBytes
in interfaceTargetArtifactOrBuilder
- Returns:
- The bytes for manifestPath.
-
setManifestPath
public TargetArtifact.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];
- Parameters:
value
- The manifestPath to set.- Returns:
- This builder for chaining.
-
clearManifestPath
public TargetArtifact.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:
- This builder for chaining.
-
setManifestPathBytes
public TargetArtifact.Builder setManifestPathBytes(com.google.protobuf.ByteString value)
Output only. File path of the rendered manifest relative to the URI.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for manifestPath to set.- Returns:
- This builder for chaining.
-
getPhaseArtifactsCount
public int getPhaseArtifactsCount()
Description copied from interface:TargetArtifactOrBuilder
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];
- Specified by:
getPhaseArtifactsCount
in interfaceTargetArtifactOrBuilder
-
containsPhaseArtifacts
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];
- Specified by:
containsPhaseArtifacts
in interfaceTargetArtifactOrBuilder
-
getPhaseArtifacts
@Deprecated public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifacts()
Deprecated.UsegetPhaseArtifactsMap()
instead.- Specified by:
getPhaseArtifacts
in interfaceTargetArtifactOrBuilder
-
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];
- Specified by:
getPhaseArtifactsMap
in interfaceTargetArtifactOrBuilder
-
getPhaseArtifactsOrDefault
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];
- Specified by:
getPhaseArtifactsOrDefault
in interfaceTargetArtifactOrBuilder
-
getPhaseArtifactsOrThrow
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];
- Specified by:
getPhaseArtifactsOrThrow
in interfaceTargetArtifactOrBuilder
-
clearPhaseArtifacts
public TargetArtifact.Builder clearPhaseArtifacts()
-
removePhaseArtifacts
public TargetArtifact.Builder removePhaseArtifacts(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];
-
getMutablePhaseArtifacts
@Deprecated public Map<String,TargetArtifact.PhaseArtifact> getMutablePhaseArtifacts()
Deprecated.Use alternate mutation accessors instead.
-
putPhaseArtifacts
public TargetArtifact.Builder putPhaseArtifacts(String key, TargetArtifact.PhaseArtifact value)
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];
-
putAllPhaseArtifacts
public TargetArtifact.Builder putAllPhaseArtifacts(Map<String,TargetArtifact.PhaseArtifact> values)
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];
-
setUnknownFields
public final TargetArtifact.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
mergeUnknownFields
public final TargetArtifact.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
-