public static final class UploadedMavenArtifact.Builder extends GeneratedMessageV3.Builder<UploadedMavenArtifact.Builder> implements UploadedMavenArtifactOrBuilder
A Maven artifact uploaded using the MavenArtifact directive.
Protobuf type google.devtools.cloudbuild.v1.UploadedMavenArtifact
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UploadedMavenArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UploadedMavenArtifact build()
Returns
buildPartial()
public UploadedMavenArtifact buildPartial()
Returns
clear()
public UploadedMavenArtifact.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UploadedMavenArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFileHashes()
public UploadedMavenArtifact.Builder clearFileHashes()
Hash types and values of the Maven Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UploadedMavenArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPushTiming()
public UploadedMavenArtifact.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];
Returns
clearUri()
public UploadedMavenArtifact.Builder clearUri()
URI of the uploaded artifact.
string uri = 1;
Returns
clone()
public UploadedMavenArtifact.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UploadedMavenArtifact getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFileHashes()
public FileHashes getFileHashes()
Hash types and values of the Maven Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Returns
getFileHashesBuilder()
public FileHashes.Builder getFileHashesBuilder()
Hash types and values of the Maven Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Returns
getFileHashesOrBuilder()
public FileHashesOrBuilder getFileHashesOrBuilder()
Hash types and values of the Maven Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Returns
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
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];
Returns
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];
Returns
getUri()
URI of the uploaded artifact.
string uri = 1;
Returns
getUriBytes()
public ByteString getUriBytes()
URI of the uploaded artifact.
string uri = 1;
Returns
hasFileHashes()
public boolean hasFileHashes()
Hash types and values of the Maven 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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFileHashes(FileHashes value)
public UploadedMavenArtifact.Builder mergeFileHashes(FileHashes value)
Hash types and values of the Maven Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Parameter
Returns
mergeFrom(UploadedMavenArtifact other)
public UploadedMavenArtifact.Builder mergeFrom(UploadedMavenArtifact other)
Parameter
Returns
public UploadedMavenArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UploadedMavenArtifact.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePushTiming(TimeSpan value)
public UploadedMavenArtifact.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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UploadedMavenArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UploadedMavenArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFileHashes(FileHashes value)
public UploadedMavenArtifact.Builder setFileHashes(FileHashes value)
Hash types and values of the Maven Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Parameter
Returns
setFileHashes(FileHashes.Builder builderForValue)
public UploadedMavenArtifact.Builder setFileHashes(FileHashes.Builder builderForValue)
Hash types and values of the Maven Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Parameter
Returns
setPushTiming(TimeSpan value)
public UploadedMavenArtifact.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
Returns
setPushTiming(TimeSpan.Builder builderForValue)
public UploadedMavenArtifact.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];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UploadedMavenArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UploadedMavenArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUri(String value)
public UploadedMavenArtifact.Builder setUri(String value)
URI of the uploaded artifact.
string uri = 1;
Parameter
Name | Description |
value | String
The uri to set.
|
Returns
setUriBytes(ByteString value)
public UploadedMavenArtifact.Builder setUriBytes(ByteString value)
URI of the uploaded artifact.
string uri = 1;
Parameter
Name | Description |
value | ByteString
The bytes for uri to set.
|
Returns