
io.grafeas.v1beta1.provenance.BuildProvenanceOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/devtools/containeranalysis/v1beta1/provenance/provenance.proto
// Protobuf Java Version: 3.25.5
package io.grafeas.v1beta1.provenance;
public interface BuildProvenanceOrBuilder
extends
// @@protoc_insertion_point(interface_extends:grafeas.v1beta1.provenance.BuildProvenance)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. Unique identifier of the build.
*
*
* string id = 1;
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* Required. Unique identifier of the build.
*
*
* string id = 1;
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* ID of the project.
*
*
* string project_id = 2;
*
* @return The projectId.
*/
java.lang.String getProjectId();
/**
*
*
*
* ID of the project.
*
*
* string project_id = 2;
*
* @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
/**
*
*
*
* Commands requested by the build.
*
*
* repeated .grafeas.v1beta1.provenance.Command commands = 3;
*/
java.util.List getCommandsList();
/**
*
*
*
* Commands requested by the build.
*
*
* repeated .grafeas.v1beta1.provenance.Command commands = 3;
*/
io.grafeas.v1beta1.provenance.Command getCommands(int index);
/**
*
*
*
* Commands requested by the build.
*
*
* repeated .grafeas.v1beta1.provenance.Command commands = 3;
*/
int getCommandsCount();
/**
*
*
*
* Commands requested by the build.
*
*
* repeated .grafeas.v1beta1.provenance.Command commands = 3;
*/
java.util.List extends io.grafeas.v1beta1.provenance.CommandOrBuilder>
getCommandsOrBuilderList();
/**
*
*
*
* Commands requested by the build.
*
*
* repeated .grafeas.v1beta1.provenance.Command commands = 3;
*/
io.grafeas.v1beta1.provenance.CommandOrBuilder getCommandsOrBuilder(int index);
/**
*
*
*
* Output of the build.
*
*
* repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
*/
java.util.List getBuiltArtifactsList();
/**
*
*
*
* Output of the build.
*
*
* repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
*/
io.grafeas.v1beta1.provenance.Artifact getBuiltArtifacts(int index);
/**
*
*
*
* Output of the build.
*
*
* repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
*/
int getBuiltArtifactsCount();
/**
*
*
*
* Output of the build.
*
*
* repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
*/
java.util.List extends io.grafeas.v1beta1.provenance.ArtifactOrBuilder>
getBuiltArtifactsOrBuilderList();
/**
*
*
*
* Output of the build.
*
*
* repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
*/
io.grafeas.v1beta1.provenance.ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index);
/**
*
*
*
* Time at which the build was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Time at which the build was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Time at which the build was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Time at which execution of the build was started.
*
*
* .google.protobuf.Timestamp start_time = 6;
*
* @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
*
*
*
* Time at which execution of the build was started.
*
*
* .google.protobuf.Timestamp start_time = 6;
*
* @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
*
*
*
* Time at which execution of the build was started.
*
*
* .google.protobuf.Timestamp start_time = 6;
*/
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
/**
*
*
*
* Time at which execution of the build was finished.
*
*
* .google.protobuf.Timestamp end_time = 7;
*
* @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
*
*
*
* Time at which execution of the build was finished.
*
*
* .google.protobuf.Timestamp end_time = 7;
*
* @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
*
*
*
* Time at which execution of the build was finished.
*
*
* .google.protobuf.Timestamp end_time = 7;
*/
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
/**
*
*
*
* E-mail address of the user who initiated this build. Note that this was the
* user's e-mail address at the time the build was initiated; this address may
* not represent the same end-user for all time.
*
*
* string creator = 8;
*
* @return The creator.
*/
java.lang.String getCreator();
/**
*
*
*
* E-mail address of the user who initiated this build. Note that this was the
* user's e-mail address at the time the build was initiated; this address may
* not represent the same end-user for all time.
*
*
* string creator = 8;
*
* @return The bytes for creator.
*/
com.google.protobuf.ByteString getCreatorBytes();
/**
*
*
*
* URI where any logs for this provenance were written.
*
*
* string logs_uri = 9;
*
* @return The logsUri.
*/
java.lang.String getLogsUri();
/**
*
*
*
* URI where any logs for this provenance were written.
*
*
* string logs_uri = 9;
*
* @return The bytes for logsUri.
*/
com.google.protobuf.ByteString getLogsUriBytes();
/**
*
*
*
* Details of the Source input to the build.
*
*
* .grafeas.v1beta1.provenance.Source source_provenance = 10;
*
* @return Whether the sourceProvenance field is set.
*/
boolean hasSourceProvenance();
/**
*
*
*
* Details of the Source input to the build.
*
*
* .grafeas.v1beta1.provenance.Source source_provenance = 10;
*
* @return The sourceProvenance.
*/
io.grafeas.v1beta1.provenance.Source getSourceProvenance();
/**
*
*
*
* Details of the Source input to the build.
*
*
* .grafeas.v1beta1.provenance.Source source_provenance = 10;
*/
io.grafeas.v1beta1.provenance.SourceOrBuilder getSourceProvenanceOrBuilder();
/**
*
*
*
* Trigger identifier if the build was triggered automatically; empty if not.
*
*
* string trigger_id = 11;
*
* @return The triggerId.
*/
java.lang.String getTriggerId();
/**
*
*
*
* Trigger identifier if the build was triggered automatically; empty if not.
*
*
* string trigger_id = 11;
*
* @return The bytes for triggerId.
*/
com.google.protobuf.ByteString getTriggerIdBytes();
/**
*
*
*
* Special options applied to this build. This is a catch-all field where
* build providers can enter any desired additional details.
*
*
* map<string, string> build_options = 12;
*/
int getBuildOptionsCount();
/**
*
*
*
* Special options applied to this build. This is a catch-all field where
* build providers can enter any desired additional details.
*
*
* map<string, string> build_options = 12;
*/
boolean containsBuildOptions(java.lang.String key);
/** Use {@link #getBuildOptionsMap()} instead. */
@java.lang.Deprecated
java.util.Map getBuildOptions();
/**
*
*
*
* Special options applied to this build. This is a catch-all field where
* build providers can enter any desired additional details.
*
*
* map<string, string> build_options = 12;
*/
java.util.Map getBuildOptionsMap();
/**
*
*
*
* Special options applied to this build. This is a catch-all field where
* build providers can enter any desired additional details.
*
*
* map<string, string> build_options = 12;
*/
/* nullable */
java.lang.String getBuildOptionsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Special options applied to this build. This is a catch-all field where
* build providers can enter any desired additional details.
*
*
* map<string, string> build_options = 12;
*/
java.lang.String getBuildOptionsOrThrow(java.lang.String key);
/**
*
*
*
* Version string of the builder at the time this build was executed.
*
*
* string builder_version = 13;
*
* @return The builderVersion.
*/
java.lang.String getBuilderVersion();
/**
*
*
*
* Version string of the builder at the time this build was executed.
*
*
* string builder_version = 13;
*
* @return The bytes for builderVersion.
*/
com.google.protobuf.ByteString getBuilderVersionBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy