Package com.google.cloudbuild.v1
Class ArtifactResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ArtifactResult.Builder>
com.google.cloudbuild.v1.ArtifactResult.Builder
- All Implemented Interfaces:
ArtifactResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ArtifactResult
public static final class ArtifactResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ArtifactResult.Builder>
implements ArtifactResultOrBuilder
An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.Protobuf type
google.devtools.cloudbuild.v1.ArtifactResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllFileHash(Iterable<? extends FileHashes> values) The file hash of the artifact.addFileHash(int index, FileHashes value) The file hash of the artifact.addFileHash(int index, FileHashes.Builder builderForValue) The file hash of the artifact.addFileHash(FileHashes value) The file hash of the artifact.addFileHash(FileHashes.Builder builderForValue) The file hash of the artifact.The file hash of the artifact.addFileHashBuilder(int index) The file hash of the artifact.build()clear()The file hash of the artifact.The path of an artifact in a Cloud Storage bucket, with the generation number.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFileHash(int index) The file hash of the artifact.getFileHashBuilder(int index) The file hash of the artifact.The file hash of the artifact.intThe file hash of the artifact.The file hash of the artifact.getFileHashOrBuilder(int index) The file hash of the artifact.List<? extends FileHashesOrBuilder>The file hash of the artifact.The path of an artifact in a Cloud Storage bucket, with the generation number.com.google.protobuf.ByteStringThe path of an artifact in a Cloud Storage bucket, with the generation number.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ArtifactResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFileHash(int index) The file hash of the artifact.setFileHash(int index, FileHashes value) The file hash of the artifact.setFileHash(int index, FileHashes.Builder builderForValue) The file hash of the artifact.setLocation(String value) The path of an artifact in a Cloud Storage bucket, with the generation number.setLocationBytes(com.google.protobuf.ByteString value) The path of an artifact in a Cloud Storage bucket, with the generation number.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<ArtifactResult.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<ArtifactResult.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<ArtifactResult.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<ArtifactResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ArtifactResult.Builder>
-
mergeFrom
public ArtifactResult.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<ArtifactResult.Builder>- Throws:
IOException
-
getLocation
The path of an artifact in a Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.
string location = 1;- Specified by:
getLocationin interfaceArtifactResultOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The path of an artifact in a Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.
string location = 1;- Specified by:
getLocationBytesin interfaceArtifactResultOrBuilder- Returns:
- The bytes for location.
-
setLocation
The path of an artifact in a Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.
string location = 1;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The path of an artifact in a Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.
string location = 1;- Returns:
- This builder for chaining.
-
setLocationBytes
The path of an artifact in a Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.
string location = 1;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
getFileHashList
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;- Specified by:
getFileHashListin interfaceArtifactResultOrBuilder
-
getFileHashCount
public int getFileHashCount()The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;- Specified by:
getFileHashCountin interfaceArtifactResultOrBuilder
-
getFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;- Specified by:
getFileHashin interfaceArtifactResultOrBuilder
-
setFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
setFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
addFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
addFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
addFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
addFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
addAllFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
clearFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
removeFileHash
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
getFileHashBuilder
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
getFileHashOrBuilder
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;- Specified by:
getFileHashOrBuilderin interfaceArtifactResultOrBuilder
-
getFileHashOrBuilderList
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;- Specified by:
getFileHashOrBuilderListin interfaceArtifactResultOrBuilder
-
addFileHashBuilder
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
addFileHashBuilder
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2; -
getFileHashBuilderList
The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
-