Class SubmitBuildResponse.Builder (0.53.0)

public static final class SubmitBuildResponse.Builder extends GeneratedMessageV3.Builder<SubmitBuildResponse.Builder> implements SubmitBuildResponseOrBuilder

Response message for submitting a Build.

Protobuf type google.cloud.run.v2.SubmitBuildResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubmitBuildResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

build()

public SubmitBuildResponse build()
Returns
Type Description
SubmitBuildResponse

buildPartial()

public SubmitBuildResponse buildPartial()
Returns
Type Description
SubmitBuildResponse

clear()

public SubmitBuildResponse.Builder clear()
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

clearBaseImageUri()

public SubmitBuildResponse.Builder clearBaseImageUri()

URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates.

string base_image_uri = 2;

Returns
Type Description
SubmitBuildResponse.Builder

This builder for chaining.

clearBaseImageWarning()

public SubmitBuildResponse.Builder clearBaseImageWarning()

Warning message for the base image.

string base_image_warning = 3;

Returns
Type Description
SubmitBuildResponse.Builder

This builder for chaining.

clearBuildOperation()

public SubmitBuildResponse.Builder clearBuildOperation()

Cloud Build operation to be polled via CloudBuild API.

.google.longrunning.Operation build_operation = 1;

Returns
Type Description
SubmitBuildResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SubmitBuildResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubmitBuildResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

clone()

public SubmitBuildResponse.Builder clone()
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

getBaseImageUri()

public String getBaseImageUri()

URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates.

string base_image_uri = 2;

Returns
Type Description
String

The baseImageUri.

getBaseImageUriBytes()

public ByteString getBaseImageUriBytes()

URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates.

string base_image_uri = 2;

Returns
Type Description
ByteString

The bytes for baseImageUri.

getBaseImageWarning()

public String getBaseImageWarning()

Warning message for the base image.

string base_image_warning = 3;

Returns
Type Description
String

The baseImageWarning.

getBaseImageWarningBytes()

public ByteString getBaseImageWarningBytes()

Warning message for the base image.

string base_image_warning = 3;

Returns
Type Description
ByteString

The bytes for baseImageWarning.

getBuildOperation()

public Operation getBuildOperation()

Cloud Build operation to be polled via CloudBuild API.

.google.longrunning.Operation build_operation = 1;

Returns
Type Description
Operation

The buildOperation.

getBuildOperationBuilder()

public Operation.Builder getBuildOperationBuilder()

Cloud Build operation to be polled via CloudBuild API.

.google.longrunning.Operation build_operation = 1;

Returns
Type Description
Builder

getBuildOperationOrBuilder()

public OperationOrBuilder getBuildOperationOrBuilder()

Cloud Build operation to be polled via CloudBuild API.

.google.longrunning.Operation build_operation = 1;

Returns
Type Description
OperationOrBuilder

getDefaultInstanceForType()

public SubmitBuildResponse getDefaultInstanceForType()
Returns
Type Description
SubmitBuildResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasBuildOperation()

public boolean hasBuildOperation()

Cloud Build operation to be polled via CloudBuild API.

.google.longrunning.Operation build_operation = 1;

Returns
Type Description
boolean

Whether the buildOperation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBuildOperation(Operation value)

public SubmitBuildResponse.Builder mergeBuildOperation(Operation value)

Cloud Build operation to be polled via CloudBuild API.

.google.longrunning.Operation build_operation = 1;

Parameter
Name Description
value Operation
Returns
Type Description
SubmitBuildResponse.Builder

mergeFrom(SubmitBuildResponse other)

public SubmitBuildResponse.Builder mergeFrom(SubmitBuildResponse other)
Parameter
Name Description
other SubmitBuildResponse
Returns
Type Description
SubmitBuildResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubmitBuildResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubmitBuildResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SubmitBuildResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubmitBuildResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

setBaseImageUri(String value)

public SubmitBuildResponse.Builder setBaseImageUri(String value)

URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates.

string base_image_uri = 2;

Parameter
Name Description
value String

The baseImageUri to set.

Returns
Type Description
SubmitBuildResponse.Builder

This builder for chaining.

setBaseImageUriBytes(ByteString value)

public SubmitBuildResponse.Builder setBaseImageUriBytes(ByteString value)

URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates.

string base_image_uri = 2;

Parameter
Name Description
value ByteString

The bytes for baseImageUri to set.

Returns
Type Description
SubmitBuildResponse.Builder

This builder for chaining.

setBaseImageWarning(String value)

public SubmitBuildResponse.Builder setBaseImageWarning(String value)

Warning message for the base image.

string base_image_warning = 3;

Parameter
Name Description
value String

The baseImageWarning to set.

Returns
Type Description
SubmitBuildResponse.Builder

This builder for chaining.

setBaseImageWarningBytes(ByteString value)

public SubmitBuildResponse.Builder setBaseImageWarningBytes(ByteString value)

Warning message for the base image.

string base_image_warning = 3;

Parameter
Name Description
value ByteString

The bytes for baseImageWarning to set.

Returns
Type Description
SubmitBuildResponse.Builder

This builder for chaining.

setBuildOperation(Operation value)

public SubmitBuildResponse.Builder setBuildOperation(Operation value)

Cloud Build operation to be polled via CloudBuild API.

.google.longrunning.Operation build_operation = 1;

Parameter
Name Description
value Operation
Returns
Type Description
SubmitBuildResponse.Builder

setBuildOperation(Operation.Builder builderForValue)

public SubmitBuildResponse.Builder setBuildOperation(Operation.Builder builderForValue)

Cloud Build operation to be polled via CloudBuild API.

.google.longrunning.Operation build_operation = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SubmitBuildResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SubmitBuildResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SubmitBuildResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SubmitBuildResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubmitBuildResponse.Builder
Overrides