Class Build.Builder (2.44.0)

public static final class Build.Builder extends GeneratedMessageV3.Builder<Build.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Build.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Build.Builder
Overrides

build()

public Build build()
Returns
Type Description
Build

buildPartial()

public Build buildPartial()
Returns
Type Description
Build

clear()

public Build.Builder clear()
Returns
Type Description
Build.Builder
Overrides

clearBuilderVersion()

public Build.Builder clearBuilderVersion()

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

string builder_version = 1;

Returns
Type Description
Build.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Build.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Build.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Build.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Build.Builder
Overrides

clearSignature()

public Build.Builder clearSignature()

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

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

Returns
Type Description
Build.Builder

clone()

public Build.Builder clone()
Returns
Type Description
Build.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getSignatureBuilder()

public BuildSignature.Builder getSignatureBuilder()

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

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

Returns
Type Description
BuildSignature.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Build.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Build.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Build.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Build.Builder
Overrides

mergeFrom(Build other)

public Build.Builder mergeFrom(Build other)
Parameter
Name Description
other Build
Returns
Type Description
Build.Builder

mergeSignature(BuildSignature value)

public Build.Builder mergeSignature(BuildSignature value)

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

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

Parameter
Name Description
value BuildSignature
Returns
Type Description
Build.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Build.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Build.Builder
Overrides

setBuilderVersion(String value)

public Build.Builder setBuilderVersion(String value)

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

string builder_version = 1;

Parameter
Name Description
value String

The builderVersion to set.

Returns
Type Description
Build.Builder

This builder for chaining.

setBuilderVersionBytes(ByteString value)

public Build.Builder setBuilderVersionBytes(ByteString value)

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

string builder_version = 1;

Parameter
Name Description
value ByteString

The bytes for builderVersion to set.

Returns
Type Description
Build.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Build.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Build.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Build.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Build.Builder
Overrides

setSignature(BuildSignature value)

public Build.Builder setSignature(BuildSignature value)

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

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

Parameter
Name Description
value BuildSignature
Returns
Type Description
Build.Builder

setSignature(BuildSignature.Builder builderForValue)

public Build.Builder setSignature(BuildSignature.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue BuildSignature.Builder
Returns
Type Description
Build.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Build.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Build.Builder
Overrides