Package com.google.cloudbuild.v1
Class UploadedGoModule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UploadedGoModule.Builder>
com.google.cloudbuild.v1.UploadedGoModule.Builder
- All Implemented Interfaces:
UploadedGoModuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UploadedGoModule
public static final class UploadedGoModule.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UploadedGoModule.Builder>
implements UploadedGoModuleOrBuilder
A Go module artifact uploaded to Artifact Registry using the GoModule directive.Protobuf type
google.devtools.cloudbuild.v1.UploadedGoModule-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Hash types and values of the Go Module 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 Go Module Artifact.Hash types and values of the Go Module Artifact.Hash types and values of the Go Module 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 Go Module Artifact.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFileHashes(FileHashes value) Hash types and values of the Go Module Artifact.mergeFrom(UploadedGoModule 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 Go Module Artifact.setFileHashes(FileHashes.Builder builderForValue) Hash types and values of the Go Module 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<UploadedGoModule.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<UploadedGoModule.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<UploadedGoModule.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<UploadedGoModule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UploadedGoModule.Builder>
-
mergeFrom
public UploadedGoModule.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<UploadedGoModule.Builder>- Throws:
IOException
-
getUri
URI of the uploaded artifact.
string uri = 1;- Specified by:
getUriin interfaceUploadedGoModuleOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI of the uploaded artifact.
string uri = 1;- Specified by:
getUriBytesin interfaceUploadedGoModuleOrBuilder- 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 Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;- Specified by:
hasFileHashesin interfaceUploadedGoModuleOrBuilder- Returns:
- Whether the fileHashes field is set.
-
getFileHashes
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;- Specified by:
getFileHashesin interfaceUploadedGoModuleOrBuilder- Returns:
- The fileHashes.
-
setFileHashes
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
setFileHashes
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
mergeFileHashes
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
clearFileHashes
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
getFileHashesBuilder
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2; -
getFileHashesOrBuilder
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;- Specified by:
getFileHashesOrBuilderin interfaceUploadedGoModuleOrBuilder
-
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 interfaceUploadedGoModuleOrBuilder- 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 interfaceUploadedGoModuleOrBuilder- 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 interfaceUploadedGoModuleOrBuilder
-
getArtifactRegistryPackage
Output only. Path to the artifact in Artifact Registry.
string artifact_registry_package = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactRegistryPackagein interfaceUploadedGoModuleOrBuilder- 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 interfaceUploadedGoModuleOrBuilder- 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 UploadedGoModule.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.
-