Package com.google.cloud.deploy.v1
Class DeployArtifact.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployArtifact.Builder>
com.google.cloud.deploy.v1.DeployArtifact.Builder
- All Implemented Interfaces:
DeployArtifactOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeployArtifact
public static final class DeployArtifact.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DeployArtifact.Builder>
implements DeployArtifactOrBuilder
The artifacts produced by a deploy operation.Protobuf type
google.cloud.deploy.v1.DeployArtifact-
Method Summary
Modifier and TypeMethodDescriptionaddAllManifestPaths(Iterable<String> values) Output only.addManifestPaths(String value) Output only.addManifestPathsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetManifestPaths(int index) Output only.com.google.protobuf.ByteStringgetManifestPathsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DeployArtifact other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setArtifactUri(String value) Output only.setArtifactUriBytes(com.google.protobuf.ByteString value) Output only.setManifestPaths(int index, String 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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeployArtifact.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<DeployArtifact.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<DeployArtifact.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<DeployArtifact.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeployArtifact.Builder>
-
mergeFrom
public DeployArtifact.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<DeployArtifact.Builder>- Throws:
IOException
-
getArtifactUri
Output only. URI of a directory containing the artifacts. All paths are relative to this location.
string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactUriin interfaceDeployArtifactOrBuilder- Returns:
- The artifactUri.
-
getArtifactUriBytes
public com.google.protobuf.ByteString getArtifactUriBytes()Output only. URI of a directory containing the artifacts. All paths are relative to this location.
string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactUriBytesin interfaceDeployArtifactOrBuilder- Returns:
- The bytes for artifactUri.
-
setArtifactUri
Output only. URI of a directory containing the artifacts. All paths are relative to this location.
string artifact_uri = 1 [(.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. All paths are relative to this location.
string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setArtifactUriBytes
Output only. URI of a directory containing the artifacts. All paths are relative to this location.
string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for artifactUri to set.- Returns:
- This builder for chaining.
-
getManifestPathsList
public com.google.protobuf.ProtocolStringList getManifestPathsList()Output only. File paths of the manifests applied during the deploy operation relative to the URI.
repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getManifestPathsListin interfaceDeployArtifactOrBuilder- Returns:
- A list containing the manifestPaths.
-
getManifestPathsCount
public int getManifestPathsCount()Output only. File paths of the manifests applied during the deploy operation relative to the URI.
repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getManifestPathsCountin interfaceDeployArtifactOrBuilder- Returns:
- The count of manifestPaths.
-
getManifestPaths
Output only. File paths of the manifests applied during the deploy operation relative to the URI.
repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getManifestPathsin interfaceDeployArtifactOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The manifestPaths at the given index.
-
getManifestPathsBytes
public com.google.protobuf.ByteString getManifestPathsBytes(int index) Output only. File paths of the manifests applied during the deploy operation relative to the URI.
repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getManifestPathsBytesin interfaceDeployArtifactOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the manifestPaths at the given index.
-
setManifestPaths
Output only. File paths of the manifests applied during the deploy operation relative to the URI.
repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The manifestPaths to set.- Returns:
- This builder for chaining.
-
addManifestPaths
Output only. File paths of the manifests applied during the deploy operation relative to the URI.
repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The manifestPaths to add.- Returns:
- This builder for chaining.
-
addAllManifestPaths
Output only. File paths of the manifests applied during the deploy operation relative to the URI.
repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The manifestPaths to add.- Returns:
- This builder for chaining.
-
clearManifestPaths
Output only. File paths of the manifests applied during the deploy operation relative to the URI.
repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addManifestPathsBytes
Output only. File paths of the manifests applied during the deploy operation relative to the URI.
repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the manifestPaths to add.- Returns:
- This builder for chaining.
-