public static final class InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder extends GeneratedMessageV3.Builder<InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder> implements InTotoSlsaProvenanceV1.ProvenanceBuilderOrBuilder
Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder
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
addAllBuilderDependencies(Iterable<? extends InTotoSlsaProvenanceV1.ResourceDescriptor> values)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder addAllBuilderDependencies(Iterable<? extends InTotoSlsaProvenanceV1.ResourceDescriptor> values)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Parameter |
Name |
Description |
values |
Iterable<? extends io.grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor>
|
addBuilderDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder addBuilderDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
addBuilderDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder addBuilderDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
addBuilderDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor value)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder addBuilderDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor value)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
addBuilderDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder addBuilderDependencies(InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
addBuilderDependenciesBuilder()
public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder addBuilderDependenciesBuilder()
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
addBuilderDependenciesBuilder(int index)
public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder addBuilderDependenciesBuilder(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InTotoSlsaProvenanceV1.ProvenanceBuilder build()
buildPartial()
public InTotoSlsaProvenanceV1.ProvenanceBuilder buildPartial()
clear()
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder clear()
Overrides
clearBuilderDependencies()
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder clearBuilderDependencies()
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
clearField(Descriptors.FieldDescriptor field)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearId()
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder clearId()
clearOneof(Descriptors.OneofDescriptor oneof)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVersion()
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder clearVersion()
clone()
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder clone()
Overrides
containsVersion(String key)
public boolean containsVersion(String key)
map<string, string> version = 2;
Parameter |
Name |
Description |
key |
String
|
getBuilderDependencies(int index)
public InTotoSlsaProvenanceV1.ResourceDescriptor getBuilderDependencies(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Parameter |
Name |
Description |
index |
int
|
getBuilderDependenciesBuilder(int index)
public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder getBuilderDependenciesBuilder(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Parameter |
Name |
Description |
index |
int
|
getBuilderDependenciesBuilderList()
public List<InTotoSlsaProvenanceV1.ResourceDescriptor.Builder> getBuilderDependenciesBuilderList()
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
getBuilderDependenciesCount()
public int getBuilderDependenciesCount()
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Returns |
Type |
Description |
int |
|
getBuilderDependenciesList()
public List<InTotoSlsaProvenanceV1.ResourceDescriptor> getBuilderDependenciesList()
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
getBuilderDependenciesOrBuilder(int index)
public InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder getBuilderDependenciesOrBuilder(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Parameter |
Name |
Description |
index |
int
|
getBuilderDependenciesOrBuilderList()
public List<? extends InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder> getBuilderDependenciesOrBuilderList()
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Returns |
Type |
Description |
List<? extends io.grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder> |
|
getDefaultInstanceForType()
public InTotoSlsaProvenanceV1.ProvenanceBuilder getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getId()
Returns |
Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
getMutableVersion() (deprecated)
public Map<String,String> getMutableVersion()
Use alternate mutation accessors instead.
getVersion() (deprecated)
public Map<String,String> getVersion()
getVersionCount()
public int getVersionCount()
map<string, string> version = 2;
Returns |
Type |
Description |
int |
|
getVersionMap()
public Map<String,String> getVersionMap()
map<string, string> version = 2;
getVersionOrDefault(String key, String defaultValue)
public String getVersionOrDefault(String key, String defaultValue)
map<string, string> version = 2;
Returns |
Type |
Description |
String |
|
getVersionOrThrow(String key)
public String getVersionOrThrow(String key)
map<string, string> version = 2;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(InTotoSlsaProvenanceV1.ProvenanceBuilder other)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder mergeFrom(InTotoSlsaProvenanceV1.ProvenanceBuilder other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllVersion(Map<String,String> values)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder putAllVersion(Map<String,String> values)
map<string, string> version = 2;
putVersion(String key, String value)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder putVersion(String key, String value)
map<string, string> version = 2;
removeBuilderDependencies(int index)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder removeBuilderDependencies(int index)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Parameter |
Name |
Description |
index |
int
|
removeVersion(String key)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder removeVersion(String key)
map<string, string> version = 2;
Parameter |
Name |
Description |
key |
String
|
setBuilderDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder setBuilderDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
setBuilderDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder setBuilderDependencies(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)
repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setId(String value)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder setId(String value)
Parameter |
Name |
Description |
value |
String
The id to set.
|
setIdBytes(ByteString value)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder setIdBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for id to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides