Class BuildNote.Builder (2.54.0)

public static final class BuildNote.Builder extends GeneratedMessageV3.Builder<BuildNote.Builder> implements BuildNoteOrBuilder

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

Protobuf type grafeas.v1.BuildNote

Implements

BuildNoteOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BuildNote build()
Returns
Type Description
BuildNote

buildPartial()

public BuildNote buildPartial()
Returns
Type Description
BuildNote

clear()

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

clearBuilderVersion()

public BuildNote.Builder clearBuilderVersion()

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

string builder_version = 1;

Returns
Type Description
BuildNote.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 BuildNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuildNote.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(BuildNote other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBuilderVersion(String value)

public BuildNote.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
BuildNote.Builder

This builder for chaining.

setBuilderVersionBytes(ByteString value)

public BuildNote.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
BuildNote.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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