public static final class UploadedGoModule.Builder extends GeneratedMessageV3.Builder<UploadedGoModule.Builder> implements UploadedGoModuleOrBuilder
A Go module artifact uploaded to Artifact Registry using the GoModule
directive.
Protobuf type google.devtools.cloudbuild.v1.UploadedGoModule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UploadedGoModule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UploadedGoModule build()
buildPartial()
public UploadedGoModule buildPartial()
clear()
public UploadedGoModule.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UploadedGoModule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFileHashes()
public UploadedGoModule.Builder clearFileHashes()
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public UploadedGoModule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPushTiming()
public UploadedGoModule.Builder 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];
clearUri()
public UploadedGoModule.Builder clearUri()
URI of the uploaded artifact.
string uri = 1;
clone()
public UploadedGoModule.Builder clone()
Overrides
getDefaultInstanceForType()
public UploadedGoModule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFileHashes()
public FileHashes getFileHashes()
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Returns |
Type |
Description |
FileHashes |
The fileHashes.
|
getFileHashesBuilder()
public FileHashes.Builder getFileHashesBuilder()
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
getFileHashesOrBuilder()
public FileHashesOrBuilder getFileHashesOrBuilder()
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
getPushTiming()
public TimeSpan 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];
Returns |
Type |
Description |
TimeSpan |
The pushTiming.
|
getPushTimingBuilder()
public TimeSpan.Builder 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()
public TimeSpanOrBuilder 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];
getUri()
URI of the uploaded artifact.
string uri = 1;
Returns |
Type |
Description |
String |
The uri.
|
getUriBytes()
public ByteString getUriBytes()
URI of the uploaded artifact.
string uri = 1;
Returns |
Type |
Description |
ByteString |
The bytes for uri.
|
hasFileHashes()
public boolean hasFileHashes()
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Returns |
Type |
Description |
boolean |
Whether the fileHashes field is set.
|
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];
Returns |
Type |
Description |
boolean |
Whether the pushTiming field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFileHashes(FileHashes value)
public UploadedGoModule.Builder mergeFileHashes(FileHashes value)
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
mergeFrom(UploadedGoModule other)
public UploadedGoModule.Builder mergeFrom(UploadedGoModule other)
public UploadedGoModule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UploadedGoModule.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePushTiming(TimeSpan value)
public UploadedGoModule.Builder mergePushTiming(TimeSpan value)
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
TimeSpan
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UploadedGoModule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UploadedGoModule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFileHashes(FileHashes value)
public UploadedGoModule.Builder setFileHashes(FileHashes value)
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
setFileHashes(FileHashes.Builder builderForValue)
public UploadedGoModule.Builder setFileHashes(FileHashes.Builder builderForValue)
Hash types and values of the Go Module Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
setPushTiming(TimeSpan value)
public UploadedGoModule.Builder setPushTiming(TimeSpan value)
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
TimeSpan
|
setPushTiming(TimeSpan.Builder builderForValue)
public UploadedGoModule.Builder setPushTiming(TimeSpan.Builder builderForValue)
Output only. Stores timing information for pushing the specified artifact.
.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UploadedGoModule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UploadedGoModule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUri(String value)
public UploadedGoModule.Builder setUri(String value)
URI of the uploaded artifact.
string uri = 1;
Parameter |
Name |
Description |
value |
String
The uri to set.
|
setUriBytes(ByteString value)
public UploadedGoModule.Builder setUriBytes(ByteString value)
URI of the uploaded artifact.
string uri = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for uri to set.
|