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.Builder
addAllManifestPaths(Iterable<String> values)
Output only.DeployArtifact.Builder
addManifestPaths(String value)
Output only.DeployArtifact.Builder
addManifestPathsBytes(com.google.protobuf.ByteString value)
Output only.DeployArtifact.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeployArtifact
build()
DeployArtifact
buildPartial()
DeployArtifact.Builder
clear()
DeployArtifact.Builder
clearArtifactUri()
Output only.DeployArtifact.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DeployArtifact.Builder
clearManifestPaths()
Output only.DeployArtifact.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DeployArtifact.Builder
clone()
String
getArtifactUri()
Output only.com.google.protobuf.ByteString
getArtifactUriBytes()
Output only.DeployArtifact
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getManifestPaths(int index)
Output only.com.google.protobuf.ByteString
getManifestPathsBytes(int index)
Output only.int
getManifestPathsCount()
Output only.com.google.protobuf.ProtocolStringList
getManifestPathsList()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DeployArtifact.Builder
mergeFrom(DeployArtifact other)
DeployArtifact.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DeployArtifact.Builder
mergeFrom(com.google.protobuf.Message other)
DeployArtifact.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DeployArtifact.Builder
setArtifactUri(String value)
Output only.DeployArtifact.Builder
setArtifactUriBytes(com.google.protobuf.ByteString value)
Output only.DeployArtifact.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeployArtifact.Builder
setManifestPaths(int index, String value)
Output only.DeployArtifact.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DeployArtifact.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployArtifact.Builder>
-
clear
public DeployArtifact.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<DeployArtifact.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<DeployArtifact.Builder>
-
getDefaultInstanceForType
public DeployArtifact getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeployArtifact build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeployArtifact buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeployArtifact.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<DeployArtifact.Builder>
-
setField
public DeployArtifact.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<DeployArtifact.Builder>
-
clearField
public DeployArtifact.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<DeployArtifact.Builder>
-
clearOneof
public DeployArtifact.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<DeployArtifact.Builder>
-
setRepeatedField
public DeployArtifact.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<DeployArtifact.Builder>
-
addRepeatedField
public DeployArtifact.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<DeployArtifact.Builder>
-
mergeFrom
public DeployArtifact.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DeployArtifact.Builder>
-
mergeFrom
public DeployArtifact.Builder mergeFrom(DeployArtifact other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getArtifactUri
in 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:
getArtifactUriBytes
in 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:
getManifestPathsList
in 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:
getManifestPathsCount
in 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:
getManifestPaths
in 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:
getManifestPathsBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployArtifact.Builder>
-
mergeUnknownFields
public final DeployArtifact.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployArtifact.Builder>
-
-