Class InTotoSlsaProvenanceV1.BuildDefinition.Builder (2.54.0)

public static final class InTotoSlsaProvenanceV1.BuildDefinition.Builder extends GeneratedMessageV3.Builder<InTotoSlsaProvenanceV1.BuildDefinition.Builder> implements InTotoSlsaProvenanceV1.BuildDefinitionOrBuilder

Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition

Static Methods

getDescriptor()

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

Methods

addAllResolvedDependencies(Iterable<? extends InTotoSlsaProvenanceV1.ResourceDescriptor> values)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder addAllResolvedDependencies(Iterable<? extends InTotoSlsaProvenanceV1.ResourceDescriptor> values)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameter
Name Description
values Iterable<? extends io.grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor>
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResolvedDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder addResolvedDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameters
Name Description
index int
value InTotoSlsaProvenanceV1.ResourceDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

addResolvedDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder addResolvedDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameters
Name Description
index int
builderForValue InTotoSlsaProvenanceV1.ResourceDescriptor.Builder
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

addResolvedDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor value)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder addResolvedDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor value)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameter
Name Description
value InTotoSlsaProvenanceV1.ResourceDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

addResolvedDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder addResolvedDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameter
Name Description
builderForValue InTotoSlsaProvenanceV1.ResourceDescriptor.Builder
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

addResolvedDependenciesBuilder()

public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder addResolvedDependenciesBuilder()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptor.Builder

addResolvedDependenciesBuilder(int index)

public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder addResolvedDependenciesBuilder(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptor.Builder

build()

public InTotoSlsaProvenanceV1.BuildDefinition build()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition

buildPartial()

public InTotoSlsaProvenanceV1.BuildDefinition buildPartial()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition

clear()

public InTotoSlsaProvenanceV1.BuildDefinition.Builder clear()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder
Overrides

clearBuildType()

public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearBuildType()

string build_type = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

This builder for chaining.

clearExternalParameters()

public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearExternalParameters()

.google.protobuf.Struct external_parameters = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

clearField(Descriptors.FieldDescriptor field)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder
Overrides

clearInternalParameters()

public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearInternalParameters()

.google.protobuf.Struct internal_parameters = 3;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder
Overrides

clearResolvedDependencies()

public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearResolvedDependencies()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

clone()

public InTotoSlsaProvenanceV1.BuildDefinition.Builder clone()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder
Overrides

getBuildType()

public String getBuildType()

string build_type = 1;

Returns
Type Description
String

The buildType.

getBuildTypeBytes()

public ByteString getBuildTypeBytes()

string build_type = 1;

Returns
Type Description
ByteString

The bytes for buildType.

getDefaultInstanceForType()

public InTotoSlsaProvenanceV1.BuildDefinition getDefaultInstanceForType()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition

getDescriptorForType()

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

getExternalParameters()

public Struct getExternalParameters()

.google.protobuf.Struct external_parameters = 2;

Returns
Type Description
Struct

The externalParameters.

getExternalParametersBuilder()

public Struct.Builder getExternalParametersBuilder()

.google.protobuf.Struct external_parameters = 2;

Returns
Type Description
Builder

getExternalParametersOrBuilder()

public StructOrBuilder getExternalParametersOrBuilder()

.google.protobuf.Struct external_parameters = 2;

Returns
Type Description
StructOrBuilder

getInternalParameters()

public Struct getInternalParameters()

.google.protobuf.Struct internal_parameters = 3;

Returns
Type Description
Struct

The internalParameters.

getInternalParametersBuilder()

public Struct.Builder getInternalParametersBuilder()

.google.protobuf.Struct internal_parameters = 3;

Returns
Type Description
Builder

getInternalParametersOrBuilder()

public StructOrBuilder getInternalParametersOrBuilder()

.google.protobuf.Struct internal_parameters = 3;

Returns
Type Description
StructOrBuilder

getResolvedDependencies(int index)

public InTotoSlsaProvenanceV1.ResourceDescriptor getResolvedDependencies(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptor

getResolvedDependenciesBuilder(int index)

public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder getResolvedDependenciesBuilder(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptor.Builder

getResolvedDependenciesBuilderList()

public List<InTotoSlsaProvenanceV1.ResourceDescriptor.Builder> getResolvedDependenciesBuilderList()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Returns
Type Description
List<Builder>

getResolvedDependenciesCount()

public int getResolvedDependenciesCount()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Returns
Type Description
int

getResolvedDependenciesList()

public List<InTotoSlsaProvenanceV1.ResourceDescriptor> getResolvedDependenciesList()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Returns
Type Description
List<ResourceDescriptor>

getResolvedDependenciesOrBuilder(int index)

public InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder getResolvedDependenciesOrBuilder(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder

getResolvedDependenciesOrBuilderList()

public List<? extends InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder> getResolvedDependenciesOrBuilderList()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Returns
Type Description
List<? extends io.grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder>

hasExternalParameters()

public boolean hasExternalParameters()

.google.protobuf.Struct external_parameters = 2;

Returns
Type Description
boolean

Whether the externalParameters field is set.

hasInternalParameters()

public boolean hasInternalParameters()

.google.protobuf.Struct internal_parameters = 3;

Returns
Type Description
boolean

Whether the internalParameters field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExternalParameters(Struct value)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeExternalParameters(Struct value)

.google.protobuf.Struct external_parameters = 2;

Parameter
Name Description
value Struct
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder
Overrides

mergeFrom(InTotoSlsaProvenanceV1.BuildDefinition other)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeFrom(InTotoSlsaProvenanceV1.BuildDefinition other)
Parameter
Name Description
other InTotoSlsaProvenanceV1.BuildDefinition
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

mergeInternalParameters(Struct value)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeInternalParameters(Struct value)

.google.protobuf.Struct internal_parameters = 3;

Parameter
Name Description
value Struct
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder
Overrides

removeResolvedDependencies(int index)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder removeResolvedDependencies(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

setBuildType(String value)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder setBuildType(String value)

string build_type = 1;

Parameter
Name Description
value String

The buildType to set.

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

This builder for chaining.

setBuildTypeBytes(ByteString value)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder setBuildTypeBytes(ByteString value)

string build_type = 1;

Parameter
Name Description
value ByteString

The bytes for buildType to set.

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

This builder for chaining.

setExternalParameters(Struct value)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder setExternalParameters(Struct value)

.google.protobuf.Struct external_parameters = 2;

Parameter
Name Description
value Struct
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

setExternalParameters(Struct.Builder builderForValue)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder setExternalParameters(Struct.Builder builderForValue)

.google.protobuf.Struct external_parameters = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInternalParameters(Struct value)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder setInternalParameters(Struct value)

.google.protobuf.Struct internal_parameters = 3;

Parameter
Name Description
value Struct
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

setInternalParameters(Struct.Builder builderForValue)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder setInternalParameters(Struct.Builder builderForValue)

.google.protobuf.Struct internal_parameters = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

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

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

setResolvedDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder setResolvedDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameters
Name Description
index int
value InTotoSlsaProvenanceV1.ResourceDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

setResolvedDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

public InTotoSlsaProvenanceV1.BuildDefinition.Builder setResolvedDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Parameters
Name Description
index int
builderForValue InTotoSlsaProvenanceV1.ResourceDescriptor.Builder
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final InTotoSlsaProvenanceV1.BuildDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder
Overrides