Class BuildNote.Builder (2.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BuildNote build()
Returns
TypeDescription
BuildNote

buildPartial()

public BuildNote buildPartial()
Returns
TypeDescription
BuildNote

clear()

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

clearBuilderVersion()

public BuildNote.Builder clearBuilderVersion()

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

string builder_version = 1;

Returns
TypeDescription
BuildNote.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public BuildNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BuildNote.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(BuildNote other)

public BuildNote.Builder mergeFrom(BuildNote other)
Parameter
NameDescription
otherBuildNote
Returns
TypeDescription
BuildNote.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The builderVersion to set.

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

The bytes for builderVersion to set.

Returns
TypeDescription
BuildNote.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BuildNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BuildNote.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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