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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
clear
public TargetArtifact.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
getDefaultInstanceForType
public TargetArtifact getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TargetArtifact build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TargetArtifact buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TargetArtifact.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
setField
public TargetArtifact.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
clearField
public TargetArtifact.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
clearOneof
public TargetArtifact.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
setRepeatedField
public TargetArtifact.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
addRepeatedField
public TargetArtifact.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
mergeFrom
public TargetArtifact.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetArtifact.Builder>
-
mergeFrom
public TargetArtifact.Builder mergeFrom(TargetArtifact other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
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
public TargetArtifact.UriCase getUriCase()
- Specified by:
getUriCasein 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:
hasArtifactUriin 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:
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
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:
getSkaffoldConfigPathin 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:
getSkaffoldConfigPathBytesin 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:
getManifestPathin 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:
getManifestPathBytesin 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: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
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:
containsPhaseArtifactsin interfaceTargetArtifactOrBuilder
-
getPhaseArtifacts
@Deprecated public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifacts()
Deprecated.UsegetPhaseArtifactsMap()instead.- Specified by:
getPhaseArtifactsin 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:
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
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:
getPhaseArtifactsOrThrowin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
mergeUnknownFields
public final TargetArtifact.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
-
-