Class SubmitBuildResponse (0.53.0)

public final class SubmitBuildResponse extends GeneratedMessageV3 implements SubmitBuildResponseOrBuilder

Response message for submitting a Build.

Protobuf type google.cloud.run.v2.SubmitBuildResponse

Static Fields

BASE_IMAGE_URI_FIELD_NUMBER

public static final int BASE_IMAGE_URI_FIELD_NUMBER
Field Value
Type Description
int

BASE_IMAGE_WARNING_FIELD_NUMBER

public static final int BASE_IMAGE_WARNING_FIELD_NUMBER
Field Value
Type Description
int

BUILD_OPERATION_FIELD_NUMBER

public static final int BUILD_OPERATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SubmitBuildResponse getDefaultInstance()
Returns
Type Description
SubmitBuildResponse

getDescriptor()

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

newBuilder()

public static SubmitBuildResponse.Builder newBuilder()
Returns
Type Description
SubmitBuildResponse.Builder

newBuilder(SubmitBuildResponse prototype)

public static SubmitBuildResponse.Builder newBuilder(SubmitBuildResponse prototype)
Parameter
Name Description
prototype SubmitBuildResponse
Returns
Type Description
SubmitBuildResponse.Builder

parseDelimitedFrom(InputStream input)

public static SubmitBuildResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubmitBuildResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SubmitBuildResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SubmitBuildResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SubmitBuildResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SubmitBuildResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SubmitBuildResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SubmitBuildResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SubmitBuildResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubmitBuildResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SubmitBuildResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SubmitBuildResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubmitBuildResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SubmitBuildResponse> parser()
Returns
Type Description
Parser<SubmitBuildResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

getParserForType()

public Parser<SubmitBuildResponse> getParserForType()
Returns
Type Description
Parser<SubmitBuildResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SubmitBuildResponse.Builder newBuilderForType()
Returns
Type Description
SubmitBuildResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SubmitBuildResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SubmitBuildResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SubmitBuildResponse.Builder toBuilder()
Returns
Type Description
SubmitBuildResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException