Class Build (2.43.0)

public final class Build extends GeneratedMessageV3 implements BuildOrBuilder

Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence.

Protobuf type grafeas.v1beta1.build.Build

Implements

BuildOrBuilder

Static Fields

BUILDER_VERSION_FIELD_NUMBER

public static final int BUILDER_VERSION_FIELD_NUMBER
Field Value
Type Description
int

SIGNATURE_FIELD_NUMBER

public static final int SIGNATURE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Build getDefaultInstance()
Returns
Type Description
Build

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Build.Builder newBuilder()
Returns
Type Description
Build.Builder

newBuilder(Build prototype)

public static Build.Builder newBuilder(Build prototype)
Parameter
Name Description
prototype Build
Returns
Type Description
Build.Builder

parseDelimitedFrom(InputStream input)

public static Build parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Build
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Build parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Build
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Build parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Build
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Build
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Build parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Build
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Build
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Build parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Build
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Build
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Build parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Build
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Build
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Build parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Build
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Build
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Build> parser()
Returns
Type Description
Parser<Build>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBuilderVersion()

public String getBuilderVersion()

Required. Immutable. Version of the builder which produced this build.

string builder_version = 1;

Returns
Type Description
String

The builderVersion.

getBuilderVersionBytes()

public ByteString getBuilderVersionBytes()

Required. Immutable. Version of the builder which produced this build.

string builder_version = 1;

Returns
Type Description
ByteString

The bytes for builderVersion.

getDefaultInstanceForType()

public Build getDefaultInstanceForType()
Returns
Type Description
Build

getParserForType()

public Parser<Build> getParserForType()
Returns
Type Description
Parser<Build>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSignature()

public BuildSignature getSignature()

Signature of the build in occurrences pointing to this build note containing build details.

.grafeas.v1beta1.build.BuildSignature signature = 2;

Returns
Type Description
BuildSignature

The signature.

getSignatureOrBuilder()

public BuildSignatureOrBuilder getSignatureOrBuilder()

Signature of the build in occurrences pointing to this build note containing build details.

.grafeas.v1beta1.build.BuildSignature signature = 2;

Returns
Type Description
BuildSignatureOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasSignature()

public boolean hasSignature()

Signature of the build in occurrences pointing to this build note containing build details.

.grafeas.v1beta1.build.BuildSignature signature = 2;

Returns
Type Description
boolean

Whether the signature field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Build.Builder newBuilderForType()
Returns
Type Description
Build.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Build.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Build.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Build.Builder toBuilder()
Returns
Type Description
Build.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException