Class SlsaProvenance.SlsaBuilder.Builder (2.55.0)

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

Protobuf type grafeas.v1.SlsaProvenance.SlsaBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SlsaProvenance.SlsaBuilder build()
Returns
Type Description
SlsaProvenance.SlsaBuilder

buildPartial()

public SlsaProvenance.SlsaBuilder buildPartial()
Returns
Type Description
SlsaProvenance.SlsaBuilder

clear()

public SlsaProvenance.SlsaBuilder.Builder clear()
Returns
Type Description
SlsaProvenance.SlsaBuilder.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public SlsaProvenance.SlsaBuilder.Builder clearId()

string id = 1;

Returns
Type Description
SlsaProvenance.SlsaBuilder.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SlsaProvenance.SlsaBuilder.Builder clone()
Returns
Type Description
SlsaProvenance.SlsaBuilder.Builder
Overrides

getDefaultInstanceForType()

public SlsaProvenance.SlsaBuilder getDefaultInstanceForType()
Returns
Type Description
SlsaProvenance.SlsaBuilder

getDescriptorForType()

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

getId()

public String getId()

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

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

mergeFrom(Message other)

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

mergeFrom(SlsaProvenance.SlsaBuilder other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public SlsaProvenance.SlsaBuilder.Builder setId(String value)

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
SlsaProvenance.SlsaBuilder.Builder

This builder for chaining.

setIdBytes(ByteString value)

public SlsaProvenance.SlsaBuilder.Builder setIdBytes(ByteString value)

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
SlsaProvenance.SlsaBuilder.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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