public static final class InTotoSlsaProvenanceV1.BuildDefinition.Builder extends GeneratedMessageV3.Builder<InTotoSlsaProvenanceV1.BuildDefinition.Builder> implements InTotoSlsaProvenanceV1.BuildDefinitionOrBuilder
Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
addResolvedDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder addResolvedDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor value)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
addResolvedDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder addResolvedDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
addResolvedDependenciesBuilder()
public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder addResolvedDependenciesBuilder()
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
addResolvedDependenciesBuilder(int index)
public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder addResolvedDependenciesBuilder(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
Parameter |
Name |
Description |
index |
int
|
build()
public InTotoSlsaProvenanceV1.BuildDefinition build()
buildPartial()
public InTotoSlsaProvenanceV1.BuildDefinition buildPartial()
clear()
public InTotoSlsaProvenanceV1.BuildDefinition.Builder clear()
Overrides
clearBuildType()
public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearBuildType()
clearExternalParameters()
public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearExternalParameters()
.google.protobuf.Struct external_parameters = 2;
clearField(Descriptors.FieldDescriptor field)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInternalParameters()
public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearInternalParameters()
.google.protobuf.Struct internal_parameters = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResolvedDependencies()
public InTotoSlsaProvenanceV1.BuildDefinition.Builder clearResolvedDependencies()
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
clone()
public InTotoSlsaProvenanceV1.BuildDefinition.Builder clone()
Overrides
getBuildType()
public String getBuildType()
Returns |
Type |
Description |
String |
The buildType.
|
getBuildTypeBytes()
public ByteString getBuildTypeBytes()
Returns |
Type |
Description |
ByteString |
The bytes for buildType.
|
getDefaultInstanceForType()
public InTotoSlsaProvenanceV1.BuildDefinition getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getExternalParametersOrBuilder()
public StructOrBuilder getExternalParametersOrBuilder()
.google.protobuf.Struct external_parameters = 2;
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;
getInternalParametersOrBuilder()
public StructOrBuilder getInternalParametersOrBuilder()
.google.protobuf.Struct internal_parameters = 3;
getResolvedDependencies(int index)
public InTotoSlsaProvenanceV1.ResourceDescriptor getResolvedDependencies(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
Parameter |
Name |
Description |
index |
int
|
getResolvedDependenciesBuilder(int index)
public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder getResolvedDependenciesBuilder(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
Parameter |
Name |
Description |
index |
int
|
getResolvedDependenciesBuilderList()
public List<InTotoSlsaProvenanceV1.ResourceDescriptor.Builder> getResolvedDependenciesBuilderList()
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
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;
getResolvedDependenciesOrBuilder(int index)
public InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder getResolvedDependenciesOrBuilder(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeExternalParameters(Struct value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeExternalParameters(Struct value)
.google.protobuf.Struct external_parameters = 2;
Parameter |
Name |
Description |
value |
Struct
|
public InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(InTotoSlsaProvenanceV1.BuildDefinition other)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeFrom(InTotoSlsaProvenanceV1.BuildDefinition other)
mergeInternalParameters(Struct value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeInternalParameters(Struct value)
.google.protobuf.Struct internal_parameters = 3;
Parameter |
Name |
Description |
value |
Struct
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InTotoSlsaProvenanceV1.BuildDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeResolvedDependencies(int index)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder removeResolvedDependencies(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;
Parameter |
Name |
Description |
index |
int
|
setBuildType(String value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder setBuildType(String value)
Parameter |
Name |
Description |
value |
String
The buildType to set.
|
setBuildTypeBytes(ByteString value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder setBuildTypeBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for buildType to set.
|
setExternalParameters(Struct value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder setExternalParameters(Struct value)
.google.protobuf.Struct external_parameters = 2;
Parameter |
Name |
Description |
value |
Struct
|
setExternalParameters(Struct.Builder builderForValue)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder setExternalParameters(Struct.Builder builderForValue)
.google.protobuf.Struct external_parameters = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInternalParameters(Struct value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder setInternalParameters(Struct value)
.google.protobuf.Struct internal_parameters = 3;
Parameter |
Name |
Description |
value |
Struct
|
setInternalParameters(Struct.Builder builderForValue)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder setInternalParameters(Struct.Builder builderForValue)
.google.protobuf.Struct internal_parameters = 3;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InTotoSlsaProvenanceV1.BuildDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final InTotoSlsaProvenanceV1.BuildDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides