public static final class DeployArtifact.Builder extends GeneratedMessage.Builder<DeployArtifact.Builder> implements DeployArtifactOrBuilderThe artifacts produced by a deploy operation.
Protobuf type google.cloud.deploy.v1.DeployArtifact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeployArtifact.BuilderImplements
DeployArtifactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllManifestPaths(Iterable<String> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The manifestPaths to add. |
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
This builder for chaining. |
addManifestPaths(String value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe manifestPaths to add. |
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
This builder for chaining. |
addManifestPathsBytes(ByteString value)
public DeployArtifact.Builder addManifestPathsBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the manifestPaths to add. |
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
This builder for chaining. |
build()
public DeployArtifact build()| Returns | |
|---|---|
| Type | Description |
DeployArtifact |
|
buildPartial()
public DeployArtifact buildPartial()| Returns | |
|---|---|
| Type | Description |
DeployArtifact |
|
clear()
public DeployArtifact.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
|
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 | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
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 | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
String |
The artifactUri. |
getArtifactUriBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for artifactUri. |
getDefaultInstanceForType()
public DeployArtifact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeployArtifact |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getManifestPaths(int index)
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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The manifestPaths at the given index. |
getManifestPathsBytes(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the manifestPaths at the given index. |
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];
| Returns | |
|---|---|
| Type | Description |
int |
The count of manifestPaths. |
getManifestPathsList()
public 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the manifestPaths. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeployArtifact other)
public DeployArtifact.Builder mergeFrom(DeployArtifact other)| Parameter | |
|---|---|
| Name | Description |
other |
DeployArtifact |
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeployArtifact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
|
setArtifactUri(String value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe artifactUri to set. |
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
This builder for chaining. |
setArtifactUriBytes(ByteString value)
public DeployArtifact.Builder setArtifactUriBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for artifactUri to set. |
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
This builder for chaining. |
setManifestPaths(int index, String value)
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 | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe manifestPaths to set. |
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
This builder for chaining. |