Package com.google.cloudbuild.v1
Class Artifacts.ArtifactObjects.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Artifacts.ArtifactObjects.Builder>
com.google.cloudbuild.v1.Artifacts.ArtifactObjects.Builder
- All Implemented Interfaces:
Artifacts.ArtifactObjectsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Artifacts.ArtifactObjects
public static final class Artifacts.ArtifactObjects.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Artifacts.ArtifactObjects.Builder>
implements Artifacts.ArtifactObjectsOrBuilder
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.Protobuf type
google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects-
Method Summary
Modifier and TypeMethodDescriptionaddAllPaths(Iterable<String> values) Path globs used to match files in the build's workspace.Path globs used to match files in the build's workspace.addPathsBytes(com.google.protobuf.ByteString value) Path globs used to match files in the build's workspace.build()clear()Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".Path globs used to match files in the build's workspace.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".com.google.protobuf.ByteStringCloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".getPaths(int index) Path globs used to match files in the build's workspace.com.google.protobuf.ByteStringgetPathsBytes(int index) Path globs used to match files in the build's workspace.intPath globs used to match files in the build's workspace.com.google.protobuf.ProtocolStringListPath globs used to match files in the build's workspace.Output only.Output only.Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTiming(TimeSpan value) Output only.setLocation(String value) Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".setLocationBytes(com.google.protobuf.ByteString value) Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".Path globs used to match files in the build's workspace.Output only.setTiming(TimeSpan.Builder builderForValue) 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<Artifacts.ArtifactObjects.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<Artifacts.ArtifactObjects.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<Artifacts.ArtifactObjects.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<Artifacts.ArtifactObjects.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Artifacts.ArtifactObjects.Builder>
-
mergeFrom
public Artifacts.ArtifactObjects.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<Artifacts.ArtifactObjects.Builder>- Throws:
IOException
-
getLocation
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
string location = 1;- Specified by:
getLocationin interfaceArtifacts.ArtifactObjectsOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
string location = 1;- Specified by:
getLocationBytesin interfaceArtifacts.ArtifactObjectsOrBuilder- Returns:
- The bytes for location.
-
setLocation
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
string location = 1;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
string location = 1;- Returns:
- This builder for chaining.
-
setLocationBytes
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
string location = 1;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
getPathsList
public com.google.protobuf.ProtocolStringList getPathsList()Path globs used to match files in the build's workspace.
repeated string paths = 2;- Specified by:
getPathsListin interfaceArtifacts.ArtifactObjectsOrBuilder- Returns:
- A list containing the paths.
-
getPathsCount
public int getPathsCount()Path globs used to match files in the build's workspace.
repeated string paths = 2;- Specified by:
getPathsCountin interfaceArtifacts.ArtifactObjectsOrBuilder- Returns:
- The count of paths.
-
getPaths
Path globs used to match files in the build's workspace.
repeated string paths = 2;- Specified by:
getPathsin interfaceArtifacts.ArtifactObjectsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The paths at the given index.
-
getPathsBytes
public com.google.protobuf.ByteString getPathsBytes(int index) Path globs used to match files in the build's workspace.
repeated string paths = 2;- Specified by:
getPathsBytesin interfaceArtifacts.ArtifactObjectsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the paths at the given index.
-
setPaths
Path globs used to match files in the build's workspace.
repeated string paths = 2;- Parameters:
index- The index to set the value at.value- The paths to set.- Returns:
- This builder for chaining.
-
addPaths
Path globs used to match files in the build's workspace.
repeated string paths = 2;- Parameters:
value- The paths to add.- Returns:
- This builder for chaining.
-
addAllPaths
Path globs used to match files in the build's workspace.
repeated string paths = 2;- Parameters:
values- The paths to add.- Returns:
- This builder for chaining.
-
clearPaths
Path globs used to match files in the build's workspace.
repeated string paths = 2;- Returns:
- This builder for chaining.
-
addPathsBytes
Path globs used to match files in the build's workspace.
repeated string paths = 2;- Parameters:
value- The bytes of the paths to add.- Returns:
- This builder for chaining.
-
hasTiming
public boolean hasTiming()Output only. Stores timing information for pushing all artifact objects.
.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTimingin interfaceArtifacts.ArtifactObjectsOrBuilder- Returns:
- Whether the timing field is set.
-
getTiming
Output only. Stores timing information for pushing all artifact objects.
.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTimingin interfaceArtifacts.ArtifactObjectsOrBuilder- Returns:
- The timing.
-
setTiming
Output only. Stores timing information for pushing all artifact objects.
.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setTiming
Output only. Stores timing information for pushing all artifact objects.
.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeTiming
Output only. Stores timing information for pushing all artifact objects.
.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearTiming
Output only. Stores timing information for pushing all artifact objects.
.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTimingBuilder
Output only. Stores timing information for pushing all artifact objects.
.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTimingOrBuilder
Output only. Stores timing information for pushing all artifact objects.
.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTimingOrBuilderin interfaceArtifacts.ArtifactObjectsOrBuilder
-