public final class UploadedMavenArtifact extends GeneratedMessageV3 implements UploadedMavenArtifactOrBuilder
A Maven artifact uploaded using the MavenArtifact directive.
Protobuf type google.devtools.cloudbuild.v1.UploadedMavenArtifact
Static Fields
FILE_HASHES_FIELD_NUMBER
public static final int FILE_HASHES_FIELD_NUMBER
Field Value
PUSH_TIMING_FIELD_NUMBER
public static final int PUSH_TIMING_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UploadedMavenArtifact getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UploadedMavenArtifact.Builder newBuilder()
Returns
newBuilder(UploadedMavenArtifact prototype)
public static UploadedMavenArtifact.Builder newBuilder(UploadedMavenArtifact prototype)
Parameter
Returns
public static UploadedMavenArtifact parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UploadedMavenArtifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UploadedMavenArtifact parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UploadedMavenArtifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UploadedMavenArtifact parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UploadedMavenArtifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UploadedMavenArtifact parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UploadedMavenArtifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UploadedMavenArtifact parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UploadedMavenArtifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UploadedMavenArtifact parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UploadedMavenArtifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UploadedMavenArtifact> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UploadedMavenArtifact getDefaultInstanceForType()
Returns
getFileHashes()
public FileHashes getFileHashes()
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
getParserForType()
public Parser<UploadedMavenArtifact> getParserForType()
Returns
Overrides
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UploadedMavenArtifact.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UploadedMavenArtifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UploadedMavenArtifact.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions