public static final class DeployArtifact.Builder extends GeneratedMessageV3.Builder<DeployArtifact.Builder> implements DeployArtifactOrBuilder
The artifacts produced by a deploy operation.
Protobuf type google.cloud.deploy.v1.DeployArtifact
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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 |
String The 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 |
ByteString The bytes of the manifestPaths to add. |
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public DeployArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
clone()
public DeployArtifact.Builder clone()
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
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 |
int The 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 |
int The 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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The bytes for artifactUri to set. |
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeployArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
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 |
int The index to set the value at. |
value |
String The manifestPaths to set. |
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |