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.GeneratedMessage.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.GeneratedMessage.Builder<TargetArtifact.Builder>
implements TargetArtifactOrBuilder
The artifacts produced by a target render operation.Protobuf type
google.cloud.deploy.v1.TargetArtifact-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.clearUri()booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Deprecated.Deprecated.intOutput only.Output only.getPhaseArtifactsOrDefault(String key, TargetArtifact.PhaseArtifact defaultValue) Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(TargetArtifact other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.putPhaseArtifacts(String key, TargetArtifact.PhaseArtifact value) Output only.Output only.Output only.setArtifactUri(String value) Output only.setArtifactUriBytes(com.google.protobuf.ByteString value) Output only.setManifestPath(String value) Output only.setManifestPathBytes(com.google.protobuf.ByteString value) Output only.setSkaffoldConfigPath(String value) Output only.setSkaffoldConfigPathBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<TargetArtifact.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<TargetArtifact.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TargetArtifact.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TargetArtifact.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TargetArtifact.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetArtifact.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TargetArtifact.Builder>
-
mergeFrom
public TargetArtifact.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetArtifact.Builder>- Throws:
IOException
-
getUriCase
- Specified by:
getUriCasein interfaceTargetArtifactOrBuilder
-
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:
hasArtifactUriin interfaceTargetArtifactOrBuilder- Returns:
- Whether the artifactUri field is set.
-
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:
getArtifactUriin 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:
getArtifactUriBytesin interfaceTargetArtifactOrBuilder- Returns:
- The bytes for artifactUri.
-
setArtifactUri
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
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
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
Output only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSkaffoldConfigPathin interfaceTargetArtifactOrBuilder- Returns:
- The skaffoldConfigPath.
-
getSkaffoldConfigPathBytes
public com.google.protobuf.ByteString getSkaffoldConfigPathBytes()Output only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSkaffoldConfigPathBytesin interfaceTargetArtifactOrBuilder- Returns:
- The bytes for skaffoldConfigPath.
-
setSkaffoldConfigPath
Output only. File path of the resolved Skaffold configuration for the stable phase, 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
Output only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setSkaffoldConfigPathBytes
Output only. File path of the resolved Skaffold configuration for the stable phase, 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
Output only. File path of the rendered manifest relative to the URI for the stable phase.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getManifestPathin interfaceTargetArtifactOrBuilder- Returns:
- The manifestPath.
-
getManifestPathBytes
public com.google.protobuf.ByteString getManifestPathBytes()Output only. File path of the rendered manifest relative to the URI for the stable phase.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getManifestPathBytesin interfaceTargetArtifactOrBuilder- Returns:
- The bytes for manifestPath.
-
setManifestPath
Output only. File path of the rendered manifest relative to the URI for the stable phase.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The manifestPath to set.- Returns:
- This builder for chaining.
-
clearManifestPath
Output only. File path of the rendered manifest relative to the URI for the stable phase.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setManifestPathBytes
Output only. File path of the rendered manifest relative to the URI for the stable phase.
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:TargetArtifactOrBuilderOutput 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:
getPhaseArtifactsCountin interfaceTargetArtifactOrBuilder
-
containsPhaseArtifacts
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:
containsPhaseArtifactsin interfaceTargetArtifactOrBuilder
-
getPhaseArtifacts
Deprecated.UsegetPhaseArtifactsMap()instead.- Specified by:
getPhaseArtifactsin interfaceTargetArtifactOrBuilder
-
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:
getPhaseArtifactsMapin 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:
getPhaseArtifactsOrDefaultin interfaceTargetArtifactOrBuilder
-
getPhaseArtifactsOrThrow
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:
getPhaseArtifactsOrThrowin interfaceTargetArtifactOrBuilder
-
clearPhaseArtifacts
-
removePhaseArtifacts
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.Use alternate mutation accessors instead. -
putPhaseArtifacts
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
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]; -
putPhaseArtifactsBuilderIfAbsent
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];
-