Class SlsaProvenanceZeroTwo.SlsaInvocation (2.6.0)

public static final class SlsaProvenanceZeroTwo.SlsaInvocation extends GeneratedMessageV3 implements SlsaProvenanceZeroTwo.SlsaInvocationOrBuilder

Identifies the event that kicked off the build.

Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SlsaProvenanceZeroTwo.SlsaInvocation

Static Fields

CONFIG_SOURCE_FIELD_NUMBER

public static final int CONFIG_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
TypeDescription
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SlsaProvenanceZeroTwo.SlsaInvocation getDefaultInstance()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SlsaProvenanceZeroTwo.SlsaInvocation.Builder newBuilder()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

newBuilder(SlsaProvenanceZeroTwo.SlsaInvocation prototype)

public static SlsaProvenanceZeroTwo.SlsaInvocation.Builder newBuilder(SlsaProvenanceZeroTwo.SlsaInvocation prototype)
Parameter
NameDescription
prototypeSlsaProvenanceZeroTwo.SlsaInvocation
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

parseDelimitedFrom(InputStream input)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaInvocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SlsaProvenanceZeroTwo.SlsaInvocation> parser()
Returns
TypeDescription
Parser<SlsaInvocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConfigSource()

public SlsaProvenanceZeroTwo.SlsaConfigSource getConfigSource()

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

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource

The configSource.

getConfigSourceOrBuilder()

public SlsaProvenanceZeroTwo.SlsaConfigSourceOrBuilder getConfigSourceOrBuilder()

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

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSourceOrBuilder

getDefaultInstanceForType()

public SlsaProvenanceZeroTwo.SlsaInvocation getDefaultInstanceForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation

getEnvironment()

public Struct getEnvironment()

.google.protobuf.Struct environment = 3;

Returns
TypeDescription
Struct

The environment.

getEnvironmentOrBuilder()

public StructOrBuilder getEnvironmentOrBuilder()

.google.protobuf.Struct environment = 3;

Returns
TypeDescription
StructOrBuilder

getParameters()

public Struct getParameters()

.google.protobuf.Struct parameters = 2;

Returns
TypeDescription
Struct

The parameters.

getParametersOrBuilder()

public StructOrBuilder getParametersOrBuilder()

.google.protobuf.Struct parameters = 2;

Returns
TypeDescription
StructOrBuilder

getParserForType()

public Parser<SlsaProvenanceZeroTwo.SlsaInvocation> getParserForType()
Returns
TypeDescription
Parser<SlsaInvocation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConfigSource()

public boolean hasConfigSource()

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

Returns
TypeDescription
boolean

Whether the configSource field is set.

hasEnvironment()

public boolean hasEnvironment()

.google.protobuf.Struct environment = 3;

Returns
TypeDescription
boolean

Whether the environment field is set.

hasParameters()

public boolean hasParameters()

.google.protobuf.Struct parameters = 2;

Returns
TypeDescription
boolean

Whether the parameters field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder newBuilderForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SlsaProvenanceZeroTwo.SlsaInvocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SlsaProvenanceZeroTwo.SlsaInvocation.Builder toBuilder()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaInvocation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException