public final class BuildEventData extends GeneratedMessageV3 implements BuildEventDataOrBuilder
Build event data for Google Cloud Platform API operations.
Protobuf type google.events.cloud.cloudbuild.v1.BuildEventData
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BuildEventDataImplements
BuildEventDataOrBuilderStatic Fields
ARTIFACTS_FIELD_NUMBER
public static final int ARTIFACTS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
BUILD_TRIGGER_ID_FIELD_NUMBER
public static final int BUILD_TRIGGER_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FINISH_TIME_FIELD_NUMBER
public static final int FINISH_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IMAGES_FIELD_NUMBER
public static final int IMAGES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LOGS_BUCKET_FIELD_NUMBER
public static final int LOGS_BUCKET_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LOG_URL_FIELD_NUMBER
public static final int LOG_URL_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
QUEUE_TTL_FIELD_NUMBER
public static final int QUEUE_TTL_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SECRETS_FIELD_NUMBER
public static final int SECRETS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SOURCE_PROVENANCE_FIELD_NUMBER
public static final int SOURCE_PROVENANCE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STATUS_DETAIL_FIELD_NUMBER
public static final int STATUS_DETAIL_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SUBSTITUTIONS_FIELD_NUMBER
public static final int SUBSTITUTIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TIMING_FIELD_NUMBER
public static final int TIMING_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static BuildEventData getDefaultInstance()
Returns | |
---|---|
Type | Description |
BuildEventData |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static BuildEventData.Builder newBuilder()
Returns | |
---|---|
Type | Description |
BuildEventData.Builder |
newBuilder(BuildEventData prototype)
public static BuildEventData.Builder newBuilder(BuildEventData prototype)
Parameter | |
---|---|
Name | Description |
prototype | BuildEventData |
Returns | |
---|---|
Type | Description |
BuildEventData.Builder |
parseDelimitedFrom(InputStream input)
public static BuildEventData parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BuildEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static BuildEventData parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BuildEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static BuildEventData parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BuildEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static BuildEventData parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BuildEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static BuildEventData parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BuildEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static BuildEventData parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BuildEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BuildEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<BuildEventData> parser()
Returns | |
---|---|
Type | Description |
Parser<BuildEventData> |
Methods
containsSubstitutions(String key)
public boolean containsSubstitutions(String key)
Substitutions data for Build
resource.
map<string, string> substitutions = 29;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
containsTiming(String key)
public boolean containsTiming(String key)
Stores timing information for phases of the build. Valid keys are:
- BUILD: time to execute all build steps
- PUSH: time to push all specified images.
- FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.
map<string, .google.events.cloud.cloudbuild.v1.TimeSpan> timing = 33;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getArtifacts()
public Artifacts getArtifacts()
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.events.cloud.cloudbuild.v1.Artifacts artifacts = 37;
Returns | |
---|---|
Type | Description |
Artifacts | The artifacts. |
getArtifactsOrBuilder()
public ArtifactsOrBuilder getArtifactsOrBuilder()
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.events.cloud.cloudbuild.v1.Artifacts artifacts = 37;
Returns | |
---|---|
Type | Description |
ArtifactsOrBuilder |
getBuildTriggerId()
public String getBuildTriggerId()
The ID of the BuildTrigger
that triggered this build, if it
was triggered automatically.
string build_trigger_id = 22;
Returns | |
---|---|
Type | Description |
String | The buildTriggerId. |
getBuildTriggerIdBytes()
public ByteString getBuildTriggerIdBytes()
The ID of the BuildTrigger
that triggered this build, if it
was triggered automatically.
string build_trigger_id = 22;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for buildTriggerId. |
getCreateTime()
public Timestamp getCreateTime()
Time at which the request to create the build was received.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time at which the request to create the build was received.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public BuildEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BuildEventData |
getFinishTime()
public Timestamp getFinishTime()
Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.
.google.protobuf.Timestamp finish_time = 8;
Returns | |
---|---|
Type | Description |
Timestamp | The finishTime. |
getFinishTimeOrBuilder()
public TimestampOrBuilder getFinishTimeOrBuilder()
Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.
.google.protobuf.Timestamp finish_time = 8;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getId()
public String getId()
Unique identifier of the build.
string id = 1;
Returns | |
---|---|
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
Unique identifier of the build.
string id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getImages(int index)
public String getImages(int index)
A list of images to be pushed upon the successful completion of all build
steps.
The images are pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build
resource's
results field.
If any of the images fail to be pushed, the build status is marked
FAILURE
.
repeated string images = 13;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The images at the given index. |
getImagesBytes(int index)
public ByteString getImagesBytes(int index)
A list of images to be pushed upon the successful completion of all build
steps.
The images are pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build
resource's
results field.
If any of the images fail to be pushed, the build status is marked
FAILURE
.
repeated string images = 13;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the images at the given index. |
getImagesCount()
public int getImagesCount()
A list of images to be pushed upon the successful completion of all build
steps.
The images are pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build
resource's
results field.
If any of the images fail to be pushed, the build status is marked
FAILURE
.
repeated string images = 13;
Returns | |
---|---|
Type | Description |
int | The count of images. |
getImagesList()
public ProtocolStringList getImagesList()
A list of images to be pushed upon the successful completion of all build
steps.
The images are pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build
resource's
results field.
If any of the images fail to be pushed, the build status is marked
FAILURE
.
repeated string images = 13;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the images. |
getLogUrl()
public String getLogUrl()
URL to logs for this build in Google Cloud Console.
string log_url = 25;
Returns | |
---|---|
Type | Description |
String | The logUrl. |
getLogUrlBytes()
public ByteString getLogUrlBytes()
URL to logs for this build in Google Cloud Console.
string log_url = 25;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for logUrl. |
getLogsBucket()
public String getLogsBucket()
Google Cloud Storage bucket where logs should be written (see
Bucket Name
Requirements).
Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt
.
string logs_bucket = 19;
Returns | |
---|---|
Type | Description |
String | The logsBucket. |
getLogsBucketBytes()
public ByteString getLogsBucketBytes()
Google Cloud Storage bucket where logs should be written (see
Bucket Name
Requirements).
Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt
.
string logs_bucket = 19;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for logsBucket. |
getOptions()
public BuildOptions getOptions()
Special options for this build.
.google.events.cloud.cloudbuild.v1.BuildOptions options = 23;
Returns | |
---|---|
Type | Description |
BuildOptions | The options. |
getOptionsOrBuilder()
public BuildOptionsOrBuilder getOptionsOrBuilder()
Special options for this build.
.google.events.cloud.cloudbuild.v1.BuildOptions options = 23;
Returns | |
---|---|
Type | Description |
BuildOptionsOrBuilder |
getParserForType()
public Parser<BuildEventData> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<BuildEventData> |
getProjectId()
public String getProjectId()
ID of the project.
string project_id = 16;
Returns | |
---|---|
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
ID of the project.
string project_id = 16;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for projectId. |
getQueueTtl()
public Duration getQueueTtl()
TTL in queue for this build. If provided and the build is enqueued longer
than this value, the build will expire and the build status will be
EXPIRED
.
The TTL starts ticking from create_time.
.google.protobuf.Duration queue_ttl = 40;
Returns | |
---|---|
Type | Description |
Duration | The queueTtl. |
getQueueTtlOrBuilder()
public DurationOrBuilder getQueueTtlOrBuilder()
TTL in queue for this build. If provided and the build is enqueued longer
than this value, the build will expire and the build status will be
EXPIRED
.
The TTL starts ticking from create_time.
.google.protobuf.Duration queue_ttl = 40;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getResults()
public Results getResults()
Results of the build.
.google.events.cloud.cloudbuild.v1.Results results = 10;
Returns | |
---|---|
Type | Description |
Results | The results. |
getResultsOrBuilder()
public ResultsOrBuilder getResultsOrBuilder()
Results of the build.
.google.events.cloud.cloudbuild.v1.Results results = 10;
Returns | |
---|---|
Type | Description |
ResultsOrBuilder |
getSecrets(int index)
public Secret getSecrets(int index)
Secrets to decrypt using Cloud Key Management Service.
repeated .google.events.cloud.cloudbuild.v1.Secret secrets = 32;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Secret |
getSecretsCount()
public int getSecretsCount()
Secrets to decrypt using Cloud Key Management Service.
repeated .google.events.cloud.cloudbuild.v1.Secret secrets = 32;
Returns | |
---|---|
Type | Description |
int |
getSecretsList()
public List<Secret> getSecretsList()
Secrets to decrypt using Cloud Key Management Service.
repeated .google.events.cloud.cloudbuild.v1.Secret secrets = 32;
Returns | |
---|---|
Type | Description |
List<Secret> |
getSecretsOrBuilder(int index)
public SecretOrBuilder getSecretsOrBuilder(int index)
Secrets to decrypt using Cloud Key Management Service.
repeated .google.events.cloud.cloudbuild.v1.Secret secrets = 32;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SecretOrBuilder |
getSecretsOrBuilderList()
public List<? extends SecretOrBuilder> getSecretsOrBuilderList()
Secrets to decrypt using Cloud Key Management Service.
repeated .google.events.cloud.cloudbuild.v1.Secret secrets = 32;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.cloudbuild.v1.SecretOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSource()
public Source getSource()
The location of the source files to build.
.google.events.cloud.cloudbuild.v1.Source source = 3;
Returns | |
---|---|
Type | Description |
Source | The source. |
getSourceOrBuilder()
public SourceOrBuilder getSourceOrBuilder()
The location of the source files to build.
.google.events.cloud.cloudbuild.v1.Source source = 3;
Returns | |
---|---|
Type | Description |
SourceOrBuilder |
getSourceProvenance()
public SourceProvenance getSourceProvenance()
A permanent fixed identifier for source.
.google.events.cloud.cloudbuild.v1.SourceProvenance source_provenance = 21;
Returns | |
---|---|
Type | Description |
SourceProvenance | The sourceProvenance. |
getSourceProvenanceOrBuilder()
public SourceProvenanceOrBuilder getSourceProvenanceOrBuilder()
A permanent fixed identifier for source.
.google.events.cloud.cloudbuild.v1.SourceProvenance source_provenance = 21;
Returns | |
---|---|
Type | Description |
SourceProvenanceOrBuilder |
getStartTime()
public Timestamp getStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp | The startTime. |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStatus()
public BuildEventData.Status getStatus()
Status of the build.
.google.events.cloud.cloudbuild.v1.BuildEventData.Status status = 2;
Returns | |
---|---|
Type | Description |
BuildEventData.Status | The status. |
getStatusDetail()
public String getStatusDetail()
Customer-readable message about the current status.
string status_detail = 24;
Returns | |
---|---|
Type | Description |
String | The statusDetail. |
getStatusDetailBytes()
public ByteString getStatusDetailBytes()
Customer-readable message about the current status.
string status_detail = 24;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for statusDetail. |
getStatusValue()
public int getStatusValue()
Status of the build.
.google.events.cloud.cloudbuild.v1.BuildEventData.Status status = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for status. |
getSteps(int index)
public BuildStep getSteps(int index)
The operations to be performed on the workspace.
repeated .google.events.cloud.cloudbuild.v1.BuildStep steps = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
BuildStep |
getStepsCount()
public int getStepsCount()
The operations to be performed on the workspace.
repeated .google.events.cloud.cloudbuild.v1.BuildStep steps = 11;
Returns | |
---|---|
Type | Description |
int |
getStepsList()
public List<BuildStep> getStepsList()
The operations to be performed on the workspace.
repeated .google.events.cloud.cloudbuild.v1.BuildStep steps = 11;
Returns | |
---|---|
Type | Description |
List<BuildStep> |
getStepsOrBuilder(int index)
public BuildStepOrBuilder getStepsOrBuilder(int index)
The operations to be performed on the workspace.
repeated .google.events.cloud.cloudbuild.v1.BuildStep steps = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
BuildStepOrBuilder |
getStepsOrBuilderList()
public List<? extends BuildStepOrBuilder> getStepsOrBuilderList()
The operations to be performed on the workspace.
repeated .google.events.cloud.cloudbuild.v1.BuildStep steps = 11;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.cloudbuild.v1.BuildStepOrBuilder> |
getSubstitutions()
public Map<String,String> getSubstitutions()
Use #getSubstitutionsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getSubstitutionsCount()
public int getSubstitutionsCount()
Substitutions data for Build
resource.
map<string, string> substitutions = 29;
Returns | |
---|---|
Type | Description |
int |
getSubstitutionsMap()
public Map<String,String> getSubstitutionsMap()
Substitutions data for Build
resource.
map<string, string> substitutions = 29;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getSubstitutionsOrDefault(String key, String defaultValue)
public String getSubstitutionsOrDefault(String key, String defaultValue)
Substitutions data for Build
resource.
map<string, string> substitutions = 29;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getSubstitutionsOrThrow(String key)
public String getSubstitutionsOrThrow(String key)
Substitutions data for Build
resource.
map<string, string> substitutions = 29;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getTags(int index)
public String getTags(int index)
Tags for annotation of a Build
. These are not docker tags.
repeated string tags = 31;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The tags at the given index. |
getTagsBytes(int index)
public ByteString getTagsBytes(int index)
Tags for annotation of a Build
. These are not docker tags.
repeated string tags = 31;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the tags at the given index. |
getTagsCount()
public int getTagsCount()
Tags for annotation of a Build
. These are not docker tags.
repeated string tags = 31;
Returns | |
---|---|
Type | Description |
int | The count of tags. |
getTagsList()
public ProtocolStringList getTagsList()
Tags for annotation of a Build
. These are not docker tags.
repeated string tags = 31;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the tags. |
getTimeout()
public Duration getTimeout()
Amount of time that this build should be allowed to run, to second
granularity. If this amount of time elapses, work on the build will cease
and the build status will be TIMEOUT
.
.google.protobuf.Duration timeout = 12;
Returns | |
---|---|
Type | Description |
Duration | The timeout. |
getTimeoutOrBuilder()
public DurationOrBuilder getTimeoutOrBuilder()
Amount of time that this build should be allowed to run, to second
granularity. If this amount of time elapses, work on the build will cease
and the build status will be TIMEOUT
.
.google.protobuf.Duration timeout = 12;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getTiming()
public Map<String,TimeSpan> getTiming()
Use #getTimingMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,TimeSpan> |
getTimingCount()
public int getTimingCount()
Stores timing information for phases of the build. Valid keys are:
- BUILD: time to execute all build steps
- PUSH: time to push all specified images.
- FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.
map<string, .google.events.cloud.cloudbuild.v1.TimeSpan> timing = 33;
Returns | |
---|---|
Type | Description |
int |
getTimingMap()
public Map<String,TimeSpan> getTimingMap()
Stores timing information for phases of the build. Valid keys are:
- BUILD: time to execute all build steps
- PUSH: time to push all specified images.
- FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.
map<string, .google.events.cloud.cloudbuild.v1.TimeSpan> timing = 33;
Returns | |
---|---|
Type | Description |
Map<String,TimeSpan> |
getTimingOrDefault(String key, TimeSpan defaultValue)
public TimeSpan getTimingOrDefault(String key, TimeSpan defaultValue)
Stores timing information for phases of the build. Valid keys are:
- BUILD: time to execute all build steps
- PUSH: time to push all specified images.
- FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.
map<string, .google.events.cloud.cloudbuild.v1.TimeSpan> timing = 33;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | TimeSpan |
Returns | |
---|---|
Type | Description |
TimeSpan |
getTimingOrThrow(String key)
public TimeSpan getTimingOrThrow(String key)
Stores timing information for phases of the build. Valid keys are:
- BUILD: time to execute all build steps
- PUSH: time to push all specified images.
- FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.
map<string, .google.events.cloud.cloudbuild.v1.TimeSpan> timing = 33;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
TimeSpan |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hasArtifacts()
public boolean hasArtifacts()
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.events.cloud.cloudbuild.v1.Artifacts artifacts = 37;
Returns | |
---|---|
Type | Description |
boolean | Whether the artifacts field is set. |
hasCreateTime()
public boolean hasCreateTime()
Time at which the request to create the build was received.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasFinishTime()
public boolean hasFinishTime()
Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.
.google.protobuf.Timestamp finish_time = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the finishTime field is set. |
hasOptions()
public boolean hasOptions()
Special options for this build.
.google.events.cloud.cloudbuild.v1.BuildOptions options = 23;
Returns | |
---|---|
Type | Description |
boolean | Whether the options field is set. |
hasQueueTtl()
public boolean hasQueueTtl()
TTL in queue for this build. If provided and the build is enqueued longer
than this value, the build will expire and the build status will be
EXPIRED
.
The TTL starts ticking from create_time.
.google.protobuf.Duration queue_ttl = 40;
Returns | |
---|---|
Type | Description |
boolean | Whether the queueTtl field is set. |
hasResults()
public boolean hasResults()
Results of the build.
.google.events.cloud.cloudbuild.v1.Results results = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the results field is set. |
hasSource()
public boolean hasSource()
The location of the source files to build.
.google.events.cloud.cloudbuild.v1.Source source = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the source field is set. |
hasSourceProvenance()
public boolean hasSourceProvenance()
A permanent fixed identifier for source.
.google.events.cloud.cloudbuild.v1.SourceProvenance source_provenance = 21;
Returns | |
---|---|
Type | Description |
boolean | Whether the sourceProvenance field is set. |
hasStartTime()
public boolean hasStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the startTime field is set. |
hasTimeout()
public boolean hasTimeout()
Amount of time that this build should be allowed to run, to second
granularity. If this amount of time elapses, work on the build will cease
and the build status will be TIMEOUT
.
.google.protobuf.Duration timeout = 12;
Returns | |
---|---|
Type | Description |
boolean | Whether the timeout field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public BuildEventData.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
BuildEventData.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BuildEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
BuildEventData.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public BuildEventData.Builder toBuilder()
Returns | |
---|---|
Type | Description |
BuildEventData.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |