Package com.google.cloudbuild.v1
Class UploadedPythonPackage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UploadedPythonPackage.Builder>
com.google.cloudbuild.v1.UploadedPythonPackage.Builder
- All Implemented Interfaces:
UploadedPythonPackageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UploadedPythonPackage
public static final class UploadedPythonPackage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UploadedPythonPackage.Builder>
implements UploadedPythonPackageOrBuilder
Artifact uploaded using the PythonPackage directive.Protobuf type
google.devtools.cloudbuild.v1.UploadedPythonPackage-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Hash types and values of the Python Artifact.Output only.clearUri()URI of the uploaded artifact.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHash types and values of the Python Artifact.Hash types and values of the Python Artifact.Hash types and values of the Python Artifact.Output only.Output only.Output only.getUri()URI of the uploaded artifact.com.google.protobuf.ByteStringURI of the uploaded artifact.booleanHash types and values of the Python Artifact.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFileHashes(FileHashes value) Hash types and values of the Python Artifact.mergeFrom(UploadedPythonPackage other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePushTiming(TimeSpan value) Output only.setArtifactRegistryPackage(String value) Output only.setArtifactRegistryPackageBytes(com.google.protobuf.ByteString value) Output only.setFileHashes(FileHashes value) Hash types and values of the Python Artifact.setFileHashes(FileHashes.Builder builderForValue) Hash types and values of the Python Artifact.setPushTiming(TimeSpan value) Output only.setPushTiming(TimeSpan.Builder builderForValue) Output only.URI of the uploaded artifact.setUriBytes(com.google.protobuf.ByteString value) URI of the uploaded artifact.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<UploadedPythonPackage.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<UploadedPythonPackage.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<UploadedPythonPackage.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<UploadedPythonPackage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UploadedPythonPackage.Builder>
-
mergeFrom
public UploadedPythonPackage.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<UploadedPythonPackage.Builder>- Throws:
IOException
-
getUri
URI of the uploaded artifact.
string uri = 1;- Specified by:
getUriin interfaceUploadedPythonPackageOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI of the uploaded artifact.
string uri = 1;- Specified by:
getUriBytesin interfaceUploadedPythonPackageOrBuilder- Returns:
- The bytes for uri.
-
setUri
URI of the uploaded artifact.
string uri = 1;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
URI of the uploaded artifact.
string uri = 1;- Returns:
- This builder for chaining.
-
setUriBytes
URI of the uploaded artifact.
string uri = 1;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
hasFileHashes
public boolean hasFileHashes()Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;- Specified by:
hasFileHashesin interfaceUploadedPythonPackageOrBuilder- Returns:
- Whether the fileHashes field is set.
-
getFileHashes
Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;- Specified by:
getFileHashesin interfaceUploadedPythonPackageOrBuilder- Returns:
- The fileHashes.
-
setFileHashes
Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
setFileHashes
Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
mergeFileHashes
Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
clearFileHashes
Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
getFileHashesBuilder
Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
getFileHashesOrBuilder
Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;- Specified by:
getFileHashesOrBuilderin interfaceUploadedPythonPackageOrBuilder
-
hasPushTiming
public boolean hasPushTiming()Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPushTimingin interfaceUploadedPythonPackageOrBuilder- Returns:
- Whether the pushTiming field is set.
-
getPushTiming
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPushTimingin interfaceUploadedPythonPackageOrBuilder- Returns:
- The pushTiming.
-
setPushTiming
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setPushTiming
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergePushTiming
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearPushTiming
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPushTimingBuilder
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPushTimingOrBuilder
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPushTimingOrBuilderin interfaceUploadedPythonPackageOrBuilder
-
getArtifactRegistryPackage
Output only. Path to the artifact in Artifact Registry.
string artifact_registry_package = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactRegistryPackagein interfaceUploadedPythonPackageOrBuilder- Returns:
- The artifactRegistryPackage.
-
getArtifactRegistryPackageBytes
public com.google.protobuf.ByteString getArtifactRegistryPackageBytes()Output only. Path to the artifact in Artifact Registry.
string artifact_registry_package = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactRegistryPackageBytesin interfaceUploadedPythonPackageOrBuilder- Returns:
- The bytes for artifactRegistryPackage.
-
setArtifactRegistryPackage
Output only. Path to the artifact in Artifact Registry.
string artifact_registry_package = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The artifactRegistryPackage to set.- Returns:
- This builder for chaining.
-
clearArtifactRegistryPackage
Output only. Path to the artifact in Artifact Registry.
string artifact_registry_package = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setArtifactRegistryPackageBytes
public UploadedPythonPackage.Builder setArtifactRegistryPackageBytes(com.google.protobuf.ByteString value) Output only. Path to the artifact in Artifact Registry.
string artifact_registry_package = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for artifactRegistryPackage to set.- Returns:
- This builder for chaining.
-