Package com.google.cloudbuild.v1
Class Build
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloudbuild.v1.Build
- All Implemented Interfaces:
BuildOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Build
extends com.google.protobuf.GeneratedMessage
implements BuildOrBuilder
A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.Protobuf type
google.devtools.cloudbuild.v1.Build- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA build resource in the Cloud Build API.static final classA fatal problem encountered during the execution of the build.static interfacestatic enumPossible status of a build or build step.static final classA non-fatal problem encountered during the execution of the build.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSubstitutions data for `Build` resource.booleancontainsTiming(String key) Output only.booleanOutput only.Output only.Artifacts produced by the build that should be uploaded upon successful completion of all build steps.Artifacts produced by the build that should be uploaded upon successful completion of all build steps.Secrets and secret environment variables.Secrets and secret environment variables.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static BuildgetDependencies(int index) Optional.intOptional.Optional.getDependenciesOrBuilder(int index) Optional.List<? extends DependencyOrBuilder>Optional.static final com.google.protobuf.Descriptors.DescriptorOutput only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.Optional.getId()Output only.com.google.protobuf.ByteStringOutput only.getImages(int index) A list of images to be pushed upon the successful completion of all build steps.com.google.protobuf.ByteStringgetImagesBytes(int index) A list of images to be pushed upon the successful completion of all build steps.intA list of images to be pushed upon the successful completion of all build steps.com.google.protobuf.ProtocolStringListA list of images to be pushed upon the successful completion of all build steps.Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).com.google.protobuf.ByteStringCloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Special options for this build.Special options for this build.com.google.protobuf.Parser<Build>Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.DurationTTL in queue for this build.com.google.protobuf.DurationOrBuilderTTL in queue for this build.Output only.Output only.getSecrets(int index) Secrets to decrypt using Cloud Key Management Service.intSecrets to decrypt using Cloud Key Management Service.Secrets to decrypt using Cloud Key Management Service.getSecretsOrBuilder(int index) Secrets to decrypt using Cloud Key Management Service.List<? extends SecretOrBuilder>Secrets to decrypt using Cloud Key Management Service.intIAM service account whose credentials will be used at build runtime.com.google.protobuf.ByteStringIAM service account whose credentials will be used at build runtime.Optional.Optional.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.getSteps(int index) Required.intRequired.Required.getStepsOrBuilder(int index) Required.List<? extends BuildStepOrBuilder>Required.Deprecated.intSubstitutions data for `Build` resource.Substitutions data for `Build` resource.getSubstitutionsOrDefault(String key, String defaultValue) Substitutions data for `Build` resource.Substitutions data for `Build` resource.getTags(int index) Tags for annotation of a `Build`.com.google.protobuf.ByteStringgetTagsBytes(int index) Tags for annotation of a `Build`.intTags for annotation of a `Build`.com.google.protobuf.ProtocolStringListTags for annotation of a `Build`.com.google.protobuf.DurationAmount of time that this build should be allowed to run, to second granularity.com.google.protobuf.DurationOrBuilderAmount of time that this build should be allowed to run, to second granularity.Deprecated.intOutput only.Output only.getTimingOrDefault(String key, TimeSpan defaultValue) Output only.getTimingOrThrow(String key) Output only.getWarnings(int index) Output only.intOutput only.Output only.getWarningsOrBuilder(int index) Output only.List<? extends Build.WarningOrBuilder>Output only.booleanOutput only.booleanArtifacts produced by the build that should be uploaded upon successful completion of all build steps.booleanSecrets and secret environment variables.booleanOutput only.booleanOutput only.booleanOutput only.booleanOptional.inthashCode()booleanSpecial options for this build.booleanTTL in queue for this build.booleanOutput only.booleanOptional.booleanOutput only.booleanOutput only.booleanAmount of time that this build should be allowed to run, to second granularity.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Build.Builderstatic Build.BuildernewBuilder(Build prototype) protected Build.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BuildparseDelimitedFrom(InputStream input) static BuildparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildparseFrom(byte[] data) static BuildparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildparseFrom(com.google.protobuf.ByteString data) static BuildparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildparseFrom(com.google.protobuf.CodedInputStream input) static BuildparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildparseFrom(InputStream input) static BuildparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildparseFrom(ByteBuffer data) static BuildparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Build>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
STATUS_DETAIL_FIELD_NUMBER
public static final int STATUS_DETAIL_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER- See Also:
-
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
FINISH_TIME_FIELD_NUMBER
public static final int FINISH_TIME_FIELD_NUMBER- See Also:
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER- See Also:
-
IMAGES_FIELD_NUMBER
public static final int IMAGES_FIELD_NUMBER- See Also:
-
QUEUE_TTL_FIELD_NUMBER
public static final int QUEUE_TTL_FIELD_NUMBER- See Also:
-
ARTIFACTS_FIELD_NUMBER
public static final int ARTIFACTS_FIELD_NUMBER- See Also:
-
LOGS_BUCKET_FIELD_NUMBER
public static final int LOGS_BUCKET_FIELD_NUMBER- See Also:
-
SOURCE_PROVENANCE_FIELD_NUMBER
public static final int SOURCE_PROVENANCE_FIELD_NUMBER- See Also:
-
BUILD_TRIGGER_ID_FIELD_NUMBER
public static final int BUILD_TRIGGER_ID_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
LOG_URL_FIELD_NUMBER
public static final int LOG_URL_FIELD_NUMBER- See Also:
-
SUBSTITUTIONS_FIELD_NUMBER
public static final int SUBSTITUTIONS_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
SECRETS_FIELD_NUMBER
public static final int SECRETS_FIELD_NUMBER- See Also:
-
TIMING_FIELD_NUMBER
public static final int TIMING_FIELD_NUMBER- See Also:
-
APPROVAL_FIELD_NUMBER
public static final int APPROVAL_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
AVAILABLE_SECRETS_FIELD_NUMBER
public static final int AVAILABLE_SECRETS_FIELD_NUMBER- See Also:
-
WARNINGS_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER- See Also:
-
GIT_CONFIG_FIELD_NUMBER
public static final int GIT_CONFIG_FIELD_NUMBER- See Also:
-
FAILURE_INFO_FIELD_NUMBER
public static final int FAILURE_INFO_FIELD_NUMBER- See Also:
-
DEPENDENCIES_FIELD_NUMBER
public static final int DEPENDENCIES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.string name = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceBuildOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.string name = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceBuildOrBuilder- Returns:
- The bytes for name.
-
getId
Output only. Unique identifier of the build.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceBuildOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Output only. Unique identifier of the build.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfaceBuildOrBuilder- Returns:
- The bytes for id.
-
getProjectId
Output only. ID of the project.
string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProjectIdin interfaceBuildOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Output only. ID of the project.
string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProjectIdBytesin interfaceBuildOrBuilder- Returns:
- The bytes for projectId.
-
getStatusValue
public int getStatusValue()Output only. Status of the build.
.google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceBuildOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Output only. Status of the build.
.google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceBuildOrBuilder- Returns:
- The status.
-
getStatusDetail
Output only. Customer-readable message about the current status.
string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusDetailin interfaceBuildOrBuilder- Returns:
- The statusDetail.
-
getStatusDetailBytes
public com.google.protobuf.ByteString getStatusDetailBytes()Output only. Customer-readable message about the current status.
string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusDetailBytesin interfaceBuildOrBuilder- Returns:
- The bytes for statusDetail.
-
hasSource
public boolean hasSource()Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSourcein interfaceBuildOrBuilder- Returns:
- Whether the source field is set.
-
getSource
Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourcein interfaceBuildOrBuilder- Returns:
- The source.
-
getSourceOrBuilder
Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourceOrBuilderin interfaceBuildOrBuilder
-
getStepsList
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;- Specified by:
getStepsListin interfaceBuildOrBuilder
-
getStepsOrBuilderList
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;- Specified by:
getStepsOrBuilderListin interfaceBuildOrBuilder
-
getStepsCount
public int getStepsCount()Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;- Specified by:
getStepsCountin interfaceBuildOrBuilder
-
getSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;- Specified by:
getStepsin interfaceBuildOrBuilder
-
getStepsOrBuilder
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;- Specified by:
getStepsOrBuilderin interfaceBuildOrBuilder
-
hasResults
public boolean hasResults()Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasResultsin interfaceBuildOrBuilder- Returns:
- Whether the results field is set.
-
getResults
Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResultsin interfaceBuildOrBuilder- Returns:
- The results.
-
getResultsOrBuilder
Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResultsOrBuilderin interfaceBuildOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. Time at which the request to create the build was received.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceBuildOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time at which the request to create the build was received.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceBuildOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time at which the request to create the build was received.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceBuildOrBuilder
-
hasStartTime
public boolean hasStartTime()Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceBuildOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceBuildOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceBuildOrBuilder
-
hasFinishTime
public boolean hasFinishTime()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFinishTimein interfaceBuildOrBuilder- Returns:
- Whether the finishTime field is set.
-
getFinishTime
public com.google.protobuf.Timestamp getFinishTime()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFinishTimein interfaceBuildOrBuilder- Returns:
- The finishTime.
-
getFinishTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFinishTimeOrBuilderin interfaceBuildOrBuilder
-
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`. `timeout` starts ticking from `startTime`. Default time is 60 minutes.
.google.protobuf.Duration timeout = 12;- Specified by:
hasTimeoutin interfaceBuildOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.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`. `timeout` starts ticking from `startTime`. Default time is 60 minutes.
.google.protobuf.Duration timeout = 12;- Specified by:
getTimeoutin interfaceBuildOrBuilder- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.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`. `timeout` starts ticking from `startTime`. Default time is 60 minutes.
.google.protobuf.Duration timeout = 12;- Specified by:
getTimeoutOrBuilderin interfaceBuildOrBuilder
-
getImagesList
public com.google.protobuf.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;- Specified by:
getImagesListin interfaceBuildOrBuilder- Returns:
- A list containing the images.
-
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;- Specified by:
getImagesCountin interfaceBuildOrBuilder- Returns:
- The count of images.
-
getImages
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;- Specified by:
getImagesin interfaceBuildOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The images at the given index.
-
getImagesBytes
public com.google.protobuf.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;- Specified by:
getImagesBytesin interfaceBuildOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the images at the given index.
-
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;- Specified by:
hasQueueTtlin interfaceBuildOrBuilder- Returns:
- Whether the queueTtl field is set.
-
getQueueTtl
public com.google.protobuf.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;- Specified by:
getQueueTtlin interfaceBuildOrBuilder- Returns:
- The queueTtl.
-
getQueueTtlOrBuilder
public com.google.protobuf.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;- Specified by:
getQueueTtlOrBuilderin interfaceBuildOrBuilder
-
hasArtifacts
public boolean hasArtifacts()Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;- Specified by:
hasArtifactsin interfaceBuildOrBuilder- Returns:
- Whether the artifacts field is set.
-
getArtifacts
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;- Specified by:
getArtifactsin interfaceBuildOrBuilder- Returns:
- The artifacts.
-
getArtifactsOrBuilder
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;- Specified by:
getArtifactsOrBuilderin interfaceBuildOrBuilder
-
getLogsBucket
Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.string logs_bucket = 19;- Specified by:
getLogsBucketin interfaceBuildOrBuilder- Returns:
- The logsBucket.
-
getLogsBucketBytes
public com.google.protobuf.ByteString getLogsBucketBytes()Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.string logs_bucket = 19;- Specified by:
getLogsBucketBytesin interfaceBuildOrBuilder- Returns:
- The bytes for logsBucket.
-
hasSourceProvenance
public boolean hasSourceProvenance()Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSourceProvenancein interfaceBuildOrBuilder- Returns:
- Whether the sourceProvenance field is set.
-
getSourceProvenance
Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceProvenancein interfaceBuildOrBuilder- Returns:
- The sourceProvenance.
-
getSourceProvenanceOrBuilder
Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceProvenanceOrBuilderin interfaceBuildOrBuilder
-
getBuildTriggerId
Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
string build_trigger_id = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBuildTriggerIdin interfaceBuildOrBuilder- Returns:
- The buildTriggerId.
-
getBuildTriggerIdBytes
public com.google.protobuf.ByteString getBuildTriggerIdBytes()Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
string build_trigger_id = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBuildTriggerIdBytesin interfaceBuildOrBuilder- Returns:
- The bytes for buildTriggerId.
-
hasOptions
public boolean hasOptions()Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23;- Specified by:
hasOptionsin interfaceBuildOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23;- Specified by:
getOptionsin interfaceBuildOrBuilder- Returns:
- The options.
-
getOptionsOrBuilder
Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23;- Specified by:
getOptionsOrBuilderin interfaceBuildOrBuilder
-
getLogUrl
Output only. URL to logs for this build in Google Cloud Console.
string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLogUrlin interfaceBuildOrBuilder- Returns:
- The logUrl.
-
getLogUrlBytes
public com.google.protobuf.ByteString getLogUrlBytes()Output only. URL to logs for this build in Google Cloud Console.
string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLogUrlBytesin interfaceBuildOrBuilder- Returns:
- The bytes for logUrl.
-
getSubstitutionsCount
public int getSubstitutionsCount()Description copied from interface:BuildOrBuilderSubstitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
getSubstitutionsCountin interfaceBuildOrBuilder
-
containsSubstitutions
Substitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
containsSubstitutionsin interfaceBuildOrBuilder
-
getSubstitutions
Deprecated.UsegetSubstitutionsMap()instead.- Specified by:
getSubstitutionsin interfaceBuildOrBuilder
-
getSubstitutionsMap
Substitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
getSubstitutionsMapin interfaceBuildOrBuilder
-
getSubstitutionsOrDefault
Substitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
getSubstitutionsOrDefaultin interfaceBuildOrBuilder
-
getSubstitutionsOrThrow
Substitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
getSubstitutionsOrThrowin interfaceBuildOrBuilder
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Specified by:
getTagsListin interfaceBuildOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Specified by:
getTagsCountin interfaceBuildOrBuilder- Returns:
- The count of tags.
-
getTags
Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Specified by:
getTagsin interfaceBuildOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Specified by:
getTagsBytesin interfaceBuildOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getSecretsList
Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;- Specified by:
getSecretsListin interfaceBuildOrBuilder
-
getSecretsOrBuilderList
Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;- Specified by:
getSecretsOrBuilderListin interfaceBuildOrBuilder
-
getSecretsCount
public int getSecretsCount()Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;- Specified by:
getSecretsCountin interfaceBuildOrBuilder
-
getSecrets
Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;- Specified by:
getSecretsin interfaceBuildOrBuilder
-
getSecretsOrBuilder
Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;- Specified by:
getSecretsOrBuilderin interfaceBuildOrBuilder
-
getTimingCount
public int getTimingCount()Description copied from interface:BuildOrBuilderOutput only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTimingCountin interfaceBuildOrBuilder
-
containsTiming
Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsTimingin interfaceBuildOrBuilder
-
getTiming
Deprecated.UsegetTimingMap()instead.- Specified by:
getTimingin interfaceBuildOrBuilder
-
getTimingMap
Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTimingMapin interfaceBuildOrBuilder
-
getTimingOrDefault
Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTimingOrDefaultin interfaceBuildOrBuilder
-
getTimingOrThrow
Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTimingOrThrowin interfaceBuildOrBuilder
-
hasApproval
public boolean hasApproval()Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasApprovalin interfaceBuildOrBuilder- Returns:
- Whether the approval field is set.
-
getApproval
Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovalin interfaceBuildOrBuilder- Returns:
- The approval.
-
getApprovalOrBuilder
Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovalOrBuilderin interfaceBuildOrBuilder
-
getServiceAccount
IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account.string service_account = 42 [(.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountin interfaceBuildOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account.string service_account = 42 [(.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountBytesin interfaceBuildOrBuilder- Returns:
- The bytes for serviceAccount.
-
hasAvailableSecrets
public boolean hasAvailableSecrets()Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;- Specified by:
hasAvailableSecretsin interfaceBuildOrBuilder- Returns:
- Whether the availableSecrets field is set.
-
getAvailableSecrets
Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;- Specified by:
getAvailableSecretsin interfaceBuildOrBuilder- Returns:
- The availableSecrets.
-
getAvailableSecretsOrBuilder
Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;- Specified by:
getAvailableSecretsOrBuilderin interfaceBuildOrBuilder
-
getWarningsList
Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWarningsListin interfaceBuildOrBuilder
-
getWarningsOrBuilderList
Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWarningsOrBuilderListin interfaceBuildOrBuilder
-
getWarningsCount
public int getWarningsCount()Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWarningsCountin interfaceBuildOrBuilder
-
getWarnings
Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWarningsin interfaceBuildOrBuilder
-
getWarningsOrBuilder
Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWarningsOrBuilderin interfaceBuildOrBuilder
-
hasGitConfig
public boolean hasGitConfig()Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGitConfigin interfaceBuildOrBuilder- Returns:
- Whether the gitConfig field is set.
-
getGitConfig
Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitConfigin interfaceBuildOrBuilder- Returns:
- The gitConfig.
-
getGitConfigOrBuilder
Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitConfigOrBuilderin interfaceBuildOrBuilder
-
hasFailureInfo
public boolean hasFailureInfo()Output only. Contains information about the build when status=FAILURE.
.google.devtools.cloudbuild.v1.Build.FailureInfo failure_info = 51 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFailureInfoin interfaceBuildOrBuilder- Returns:
- Whether the failureInfo field is set.
-
getFailureInfo
Output only. Contains information about the build when status=FAILURE.
.google.devtools.cloudbuild.v1.Build.FailureInfo failure_info = 51 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureInfoin interfaceBuildOrBuilder- Returns:
- The failureInfo.
-
getFailureInfoOrBuilder
Output only. Contains information about the build when status=FAILURE.
.google.devtools.cloudbuild.v1.Build.FailureInfo failure_info = 51 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureInfoOrBuilderin interfaceBuildOrBuilder
-
getDependenciesList
Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDependenciesListin interfaceBuildOrBuilder
-
getDependenciesOrBuilderList
Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDependenciesOrBuilderListin interfaceBuildOrBuilder
-
getDependenciesCount
public int getDependenciesCount()Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDependenciesCountin interfaceBuildOrBuilder
-
getDependencies
Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDependenciesin interfaceBuildOrBuilder
-
getDependenciesOrBuilder
Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDependenciesOrBuilderin interfaceBuildOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Build parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Build parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Build parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Build parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Build parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Build parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Build parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Build parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Build parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-