Class SlsaProvenanceZeroTwo.SlsaInvocation.Builder (2.21.0)

public static final class SlsaProvenanceZeroTwo.SlsaInvocation.Builder extends GeneratedMessageV3.Builder<SlsaProvenanceZeroTwo.SlsaInvocation.Builder> implements SlsaProvenanceZeroTwo.SlsaInvocationOrBuilder

Identifies the event that kicked off the build.

Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearConfigSource()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clearConfigSource()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

clearEnvironment()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clearEnvironment()

.google.protobuf.Struct environment = 3;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clearParameters()

.google.protobuf.Struct parameters = 2;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

clone()

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

getConfigSource()

public SlsaProvenanceZeroTwo.SlsaConfigSource getConfigSource()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource

The configSource.

getConfigSourceBuilder()

public SlsaProvenanceZeroTwo.SlsaConfigSource.Builder getConfigSourceBuilder()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource.Builder

getConfigSourceOrBuilder()

public SlsaProvenanceZeroTwo.SlsaConfigSourceOrBuilder getConfigSourceOrBuilder()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSourceOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironment()

public Struct getEnvironment()

.google.protobuf.Struct environment = 3;

Returns
TypeDescription
Struct

The environment.

getEnvironmentBuilder()

public Struct.Builder getEnvironmentBuilder()

.google.protobuf.Struct environment = 3;

Returns
TypeDescription
Builder

getEnvironmentOrBuilder()

public StructOrBuilder getEnvironmentOrBuilder()

.google.protobuf.Struct environment = 3;

Returns
TypeDescription
StructOrBuilder

getParameters()

public Struct getParameters()

.google.protobuf.Struct parameters = 2;

Returns
TypeDescription
Struct

The parameters.

getParametersBuilder()

public Struct.Builder getParametersBuilder()

.google.protobuf.Struct parameters = 2;

Returns
TypeDescription
Builder

getParametersOrBuilder()

public StructOrBuilder getParametersOrBuilder()

.google.protobuf.Struct parameters = 2;

Returns
TypeDescription
StructOrBuilder

hasConfigSource()

public boolean hasConfigSource()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Returns
TypeDescription
boolean

Whether the configSource field is set.

hasEnvironment()

public boolean hasEnvironment()

.google.protobuf.Struct environment = 3;

Returns
TypeDescription
boolean

Whether the environment field is set.

hasParameters()

public boolean hasParameters()

.google.protobuf.Struct parameters = 2;

Returns
TypeDescription
boolean

Whether the parameters field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConfigSource(SlsaProvenanceZeroTwo.SlsaConfigSource value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder mergeConfigSource(SlsaProvenanceZeroTwo.SlsaConfigSource value)

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Parameter
NameDescription
valueSlsaProvenanceZeroTwo.SlsaConfigSource
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

mergeEnvironment(Struct value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder mergeEnvironment(Struct value)

.google.protobuf.Struct environment = 3;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SlsaProvenanceZeroTwo.SlsaInvocation other)

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

mergeParameters(Struct value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder mergeParameters(Struct value)

.google.protobuf.Struct parameters = 2;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfigSource(SlsaProvenanceZeroTwo.SlsaConfigSource value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder setConfigSource(SlsaProvenanceZeroTwo.SlsaConfigSource value)

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Parameter
NameDescription
valueSlsaProvenanceZeroTwo.SlsaConfigSource
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

setConfigSource(SlsaProvenanceZeroTwo.SlsaConfigSource.Builder builderForValue)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder setConfigSource(SlsaProvenanceZeroTwo.SlsaConfigSource.Builder builderForValue)

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Parameter
NameDescription
builderForValueSlsaProvenanceZeroTwo.SlsaConfigSource.Builder
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

setEnvironment(Struct value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder setEnvironment(Struct value)

.google.protobuf.Struct environment = 3;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

setEnvironment(Struct.Builder builderForValue)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder setEnvironment(Struct.Builder builderForValue)

.google.protobuf.Struct environment = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParameters(Struct value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder setParameters(Struct value)

.google.protobuf.Struct parameters = 2;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

setParameters(Struct.Builder builderForValue)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder setParameters(Struct.Builder builderForValue)

.google.protobuf.Struct parameters = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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