Class SlsaProvenanceZeroTwo.SlsaBuilder.Builder (2.29.0)

public static final class SlsaProvenanceZeroTwo.SlsaBuilder.Builder extends GeneratedMessageV3.Builder<SlsaProvenanceZeroTwo.SlsaBuilder.Builder> implements SlsaProvenanceZeroTwo.SlsaBuilderOrBuilder

Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.

Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SlsaProvenanceZeroTwo.SlsaBuilder build()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder

buildPartial()

public SlsaProvenanceZeroTwo.SlsaBuilder buildPartial()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder

clear()

public SlsaProvenanceZeroTwo.SlsaBuilder.Builder clear()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public SlsaProvenanceZeroTwo.SlsaBuilder.Builder clearId()

string id = 1;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SlsaProvenanceZeroTwo.SlsaBuilder.Builder clone()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder.Builder
Overrides

getDefaultInstanceForType()

public SlsaProvenanceZeroTwo.SlsaBuilder getDefaultInstanceForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SlsaProvenanceZeroTwo.SlsaBuilder other)

public SlsaProvenanceZeroTwo.SlsaBuilder.Builder mergeFrom(SlsaProvenanceZeroTwo.SlsaBuilder other)
Parameter
NameDescription
otherSlsaProvenanceZeroTwo.SlsaBuilder
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaBuilder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public SlsaProvenanceZeroTwo.SlsaBuilder.Builder setId(String value)

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder.Builder

This builder for chaining.

setIdBytes(ByteString value)

public SlsaProvenanceZeroTwo.SlsaBuilder.Builder setIdBytes(ByteString value)

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaBuilder.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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