Class SlsaProvenance.SlsaBuilder.Builder (2.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public SlsaProvenance.SlsaBuilder.Builder clearId()

string id = 1;

Returns
TypeDescription
SlsaProvenance.SlsaBuilder.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SlsaProvenance.SlsaBuilder getDefaultInstanceForType()
Returns
TypeDescription
SlsaProvenance.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 SlsaProvenance.SlsaBuilder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenance.SlsaBuilder.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(SlsaProvenance.SlsaBuilder other)

public SlsaProvenance.SlsaBuilder.Builder mergeFrom(SlsaProvenance.SlsaBuilder other)
Parameter
NameDescription
otherSlsaProvenance.SlsaBuilder
Returns
TypeDescription
SlsaProvenance.SlsaBuilder.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public SlsaProvenance.SlsaBuilder.Builder setId(String value)

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
SlsaProvenance.SlsaBuilder.Builder

This builder for chaining.

setIdBytes(ByteString value)

public SlsaProvenance.SlsaBuilder.Builder setIdBytes(ByteString value)

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SlsaProvenance.SlsaBuilder.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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