Class Build (2.7.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
TypeDescription
int

SIGNATURE_FIELD_NUMBER

public static final int SIGNATURE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Build getDefaultInstance()
Returns
TypeDescription
Build

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Build.Builder newBuilder()
Returns
TypeDescription
Build.Builder

newBuilder(Build prototype)

public static Build.Builder newBuilder(Build prototype)
Parameter
NameDescription
prototypeBuild
Returns
TypeDescription
Build.Builder

parseDelimitedFrom(InputStream input)

public static Build parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Build
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Build parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Build parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Build
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Build parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Build
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Build parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Build
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Build parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Build
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Build parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Build
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Build parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Build> parser()
Returns
TypeDescription
Parser<Build>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBuilderVersion()

public String getBuilderVersion()

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

string builder_version = 1;

Returns
TypeDescription
String

The builderVersion.

getBuilderVersionBytes()

public ByteString getBuilderVersionBytes()

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

string builder_version = 1;

Returns
TypeDescription
ByteString

The bytes for builderVersion.

getDefaultInstanceForType()

public Build getDefaultInstanceForType()
Returns
TypeDescription
Build

getParserForType()

public Parser<Build> getParserForType()
Returns
TypeDescription
Parser<Build>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BuildSignatureOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the signature field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Build.Builder newBuilderForType()
Returns
TypeDescription
Build.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Build.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Build.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Build.Builder toBuilder()
Returns
TypeDescription
Build.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException