Class SlsaProvenanceZeroTwo.SlsaInvocation.Builder (2.44.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SlsaProvenanceZeroTwo.SlsaInvocation build()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation

buildPartial()

public SlsaProvenanceZeroTwo.SlsaInvocation buildPartial()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation

clear()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clear()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder
Overrides

clearConfigSource()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clearConfigSource()

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

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

clearEnvironment()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clearEnvironment()

.google.protobuf.Struct environment = 3;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

clearField(Descriptors.FieldDescriptor field)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder
Overrides

clearParameters()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clearParameters()

.google.protobuf.Struct parameters = 2;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

clone()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder clone()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder
Overrides

getConfigSource()

public SlsaProvenanceZeroTwo.SlsaConfigSource getConfigSource()

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

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaConfigSource

The configSource.

getConfigSourceBuilder()

public SlsaProvenanceZeroTwo.SlsaConfigSource.Builder getConfigSourceBuilder()

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

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaConfigSource.Builder

getConfigSourceOrBuilder()

public SlsaProvenanceZeroTwo.SlsaConfigSourceOrBuilder getConfigSourceOrBuilder()

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

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaConfigSourceOrBuilder

getDefaultInstanceForType()

public SlsaProvenanceZeroTwo.SlsaInvocation getDefaultInstanceForType()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation

getDescriptorForType()

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

getEnvironment()

public Struct getEnvironment()

.google.protobuf.Struct environment = 3;

Returns
Type Description
Struct

The environment.

getEnvironmentBuilder()

public Struct.Builder getEnvironmentBuilder()

.google.protobuf.Struct environment = 3;

Returns
Type Description
Builder

getEnvironmentOrBuilder()

public StructOrBuilder getEnvironmentOrBuilder()

.google.protobuf.Struct environment = 3;

Returns
Type Description
StructOrBuilder

getParameters()

public Struct getParameters()

.google.protobuf.Struct parameters = 2;

Returns
Type Description
Struct

The parameters.

getParametersBuilder()

public Struct.Builder getParametersBuilder()

.google.protobuf.Struct parameters = 2;

Returns
Type Description
Builder

getParametersOrBuilder()

public StructOrBuilder getParametersOrBuilder()

.google.protobuf.Struct parameters = 2;

Returns
Type Description
StructOrBuilder

hasConfigSource()

public boolean hasConfigSource()

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

Returns
Type Description
boolean

Whether the configSource field is set.

hasEnvironment()

public boolean hasEnvironment()

.google.protobuf.Struct environment = 3;

Returns
Type Description
boolean

Whether the environment field is set.

hasParameters()

public boolean hasParameters()

.google.protobuf.Struct parameters = 2;

Returns
Type Description
boolean

Whether the parameters field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfigSource(SlsaProvenanceZeroTwo.SlsaConfigSource value)

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

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

Parameter
Name Description
value SlsaProvenanceZeroTwo.SlsaConfigSource
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

mergeEnvironment(Struct value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder mergeEnvironment(Struct value)

.google.protobuf.Struct environment = 3;

Parameter
Name Description
value Struct
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder
Overrides

mergeFrom(SlsaProvenanceZeroTwo.SlsaInvocation other)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder mergeFrom(SlsaProvenanceZeroTwo.SlsaInvocation other)
Parameter
Name Description
other SlsaProvenanceZeroTwo.SlsaInvocation
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

mergeParameters(Struct value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder mergeParameters(Struct value)

.google.protobuf.Struct parameters = 2;

Parameter
Name Description
value Struct
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaInvocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder
Overrides

setConfigSource(SlsaProvenanceZeroTwo.SlsaConfigSource value)

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

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

Parameter
Name Description
value SlsaProvenanceZeroTwo.SlsaConfigSource
Returns
Type Description
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
Name Description
builderForValue SlsaProvenanceZeroTwo.SlsaConfigSource.Builder
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

setEnvironment(Struct value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder setEnvironment(Struct value)

.google.protobuf.Struct environment = 3;

Parameter
Name Description
value Struct
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

setEnvironment(Struct.Builder builderForValue)

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

.google.protobuf.Struct environment = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParameters(Struct value)

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder setParameters(Struct value)

.google.protobuf.Struct parameters = 2;

Parameter
Name Description
value Struct
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

setParameters(Struct.Builder builderForValue)

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

.google.protobuf.Struct parameters = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaInvocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaInvocation.Builder
Overrides