Class Build.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Build.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Build.Builder
Overrides

build()

public Build build()
Returns
TypeDescription
Build

buildPartial()

public Build buildPartial()
Returns
TypeDescription
Build

clear()

public Build.Builder clear()
Returns
TypeDescription
Build.Builder
Overrides

clearBuilderVersion()

public Build.Builder clearBuilderVersion()

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

string builder_version = 1;

Returns
TypeDescription
Build.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Build.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Build.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Build.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Build.Builder

clone()

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

getDescriptorForType()

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

Whether the signature field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Build.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Build.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Build.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Build.Builder
Overrides

mergeFrom(Build other)

public Build.Builder mergeFrom(Build other)
Parameter
NameDescription
otherBuild
Returns
TypeDescription
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
NameDescription
valueBuildSignature
Returns
TypeDescription
Build.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Build.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The builderVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for builderVersion to set.

Returns
TypeDescription
Build.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Build.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Build.Builder
Overrides

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

public Build.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueBuildSignature
Returns
TypeDescription
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
NameDescription
builderForValueBuildSignature.Builder
Returns
TypeDescription
Build.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Build.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Build.Builder
Overrides