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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<DeployArtifact.Builder> implements DeployArtifactOrBuilder
The artifacts produced by a deploy operation.
Protobuf typegoogle.cloud.deploy.v1.DeployArtifact
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployArtifact.BuilderaddAllManifestPaths(Iterable<String> values)Output only.DeployArtifact.BuilderaddManifestPaths(String value)Output only.DeployArtifact.BuilderaddManifestPathsBytes(com.google.protobuf.ByteString value)Output only.DeployArtifact.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeployArtifactbuild()DeployArtifactbuildPartial()DeployArtifact.Builderclear()DeployArtifact.BuilderclearArtifactUri()Output only.DeployArtifact.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DeployArtifact.BuilderclearManifestPaths()Output only.DeployArtifact.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DeployArtifact.Builderclone()StringgetArtifactUri()Output only.com.google.protobuf.ByteStringgetArtifactUriBytes()Output only.DeployArtifactgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetManifestPaths(int index)Output only.com.google.protobuf.ByteStringgetManifestPathsBytes(int index)Output only.intgetManifestPathsCount()Output only.com.google.protobuf.ProtocolStringListgetManifestPathsList()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DeployArtifact.BuildermergeFrom(DeployArtifact other)DeployArtifact.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DeployArtifact.BuildermergeFrom(com.google.protobuf.Message other)DeployArtifact.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DeployArtifact.BuildersetArtifactUri(String value)Output only.DeployArtifact.BuildersetArtifactUriBytes(com.google.protobuf.ByteString value)Output only.DeployArtifact.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeployArtifact.BuildersetManifestPaths(int index, String value)Output only.DeployArtifact.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DeployArtifact.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DeployArtifact.Builder>
-
clear
public DeployArtifact.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<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.GeneratedMessageV3.Builder<DeployArtifact.Builder>
-
getDefaultInstanceForType
public DeployArtifact getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeployArtifact build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeployArtifact buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeployArtifact.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<DeployArtifact.Builder>
-
setField
public DeployArtifact.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<DeployArtifact.Builder>
-
clearField
public DeployArtifact.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployArtifact.Builder>
-
clearOneof
public DeployArtifact.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployArtifact.Builder>
-
setRepeatedField
public DeployArtifact.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<DeployArtifact.Builder>
-
addRepeatedField
public DeployArtifact.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<DeployArtifact.Builder>
-
mergeFrom
public DeployArtifact.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeployArtifact.Builder>
-
mergeFrom
public DeployArtifact.Builder mergeFrom(DeployArtifact other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public DeployArtifact.Builder setArtifactUri(String value)
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
public DeployArtifact.Builder 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
public DeployArtifact.Builder setArtifactUriBytes(com.google.protobuf.ByteString value)
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
public String getManifestPaths(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:
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
public DeployArtifact.Builder setManifestPaths(int index, String value)
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
public DeployArtifact.Builder addManifestPaths(String value)
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
public DeployArtifact.Builder addAllManifestPaths(Iterable<String> values)
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
public DeployArtifact.Builder 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
public DeployArtifact.Builder addManifestPathsBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final DeployArtifact.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployArtifact.Builder>
-
mergeUnknownFields
public final DeployArtifact.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployArtifact.Builder>
-
-