Class InTotoSlsaProvenanceV1.BuildDefinition (2.48.0)

public static final class InTotoSlsaProvenanceV1.BuildDefinition extends GeneratedMessageV3 implements InTotoSlsaProvenanceV1.BuildDefinitionOrBuilder

Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InTotoSlsaProvenanceV1.BuildDefinition

Static Fields

BUILD_TYPE_FIELD_NUMBER

public static final int BUILD_TYPE_FIELD_NUMBER
Field Value
Type Description
int

EXTERNAL_PARAMETERS_FIELD_NUMBER

public static final int EXTERNAL_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

INTERNAL_PARAMETERS_FIELD_NUMBER

public static final int INTERNAL_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

RESOLVED_DEPENDENCIES_FIELD_NUMBER

public static final int RESOLVED_DEPENDENCIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InTotoSlsaProvenanceV1.BuildDefinition getDefaultInstance()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition

getDescriptor()

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

newBuilder()

public static InTotoSlsaProvenanceV1.BuildDefinition.Builder newBuilder()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

newBuilder(InTotoSlsaProvenanceV1.BuildDefinition prototype)

public static InTotoSlsaProvenanceV1.BuildDefinition.Builder newBuilder(InTotoSlsaProvenanceV1.BuildDefinition prototype)
Parameter
Name Description
prototype InTotoSlsaProvenanceV1.BuildDefinition
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

parseDelimitedFrom(InputStream input)

public static InTotoSlsaProvenanceV1.BuildDefinition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InTotoSlsaProvenanceV1.BuildDefinition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InTotoSlsaProvenanceV1.BuildDefinition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InTotoSlsaProvenanceV1.BuildDefinition> parser()
Returns
Type Description
Parser<BuildDefinition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getExternalParameters()

public Struct getExternalParameters()

.google.protobuf.Struct external_parameters = 2;

Returns
Type Description
Struct

The externalParameters.

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.

getInternalParametersOrBuilder()

public StructOrBuilder getInternalParametersOrBuilder()

.google.protobuf.Struct internal_parameters = 3;

Returns
Type Description
StructOrBuilder

getParserForType()

public Parser<InTotoSlsaProvenanceV1.BuildDefinition> getParserForType()
Returns
Type Description
Parser<BuildDefinition>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InTotoSlsaProvenanceV1.BuildDefinition.Builder newBuilderForType()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InTotoSlsaProvenanceV1.BuildDefinition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InTotoSlsaProvenanceV1.BuildDefinition.Builder toBuilder()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException