Class BuildInfo.Builder (0.83.0)

public static final class BuildInfo.Builder extends GeneratedMessage.Builder<BuildInfo.Builder> implements BuildInfoOrBuilder

Build information of the image.

Protobuf type google.cloud.run.v2.BuildInfo

Implements

BuildInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public BuildInfo build()
Returns
Type Description
BuildInfo

buildPartial()

public BuildInfo buildPartial()
Returns
Type Description
BuildInfo

clear()

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

clearFunctionTarget()

public BuildInfo.Builder clearFunctionTarget()

Output only. Entry point of the function when the image is a Cloud Run function.

string function_target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuildInfo.Builder

This builder for chaining.

clearSourceLocation()

public BuildInfo.Builder clearSourceLocation()

Output only. Source code location of the image.

string source_location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuildInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public BuildInfo getDefaultInstanceForType()
Returns
Type Description
BuildInfo

getDescriptorForType()

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

getFunctionTarget()

public String getFunctionTarget()

Output only. Entry point of the function when the image is a Cloud Run function.

string function_target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The functionTarget.

getFunctionTargetBytes()

public ByteString getFunctionTargetBytes()

Output only. Entry point of the function when the image is a Cloud Run function.

string function_target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for functionTarget.

getSourceLocation()

public String getSourceLocation()

Output only. Source code location of the image.

string source_location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The sourceLocation.

getSourceLocationBytes()

public ByteString getSourceLocationBytes()

Output only. Source code location of the image.

string source_location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for sourceLocation.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BuildInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFunctionTarget(String value)

public BuildInfo.Builder setFunctionTarget(String value)

Output only. Entry point of the function when the image is a Cloud Run function.

string function_target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The functionTarget to set.

Returns
Type Description
BuildInfo.Builder

This builder for chaining.

setFunctionTargetBytes(ByteString value)

public BuildInfo.Builder setFunctionTargetBytes(ByteString value)

Output only. Entry point of the function when the image is a Cloud Run function.

string function_target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for functionTarget to set.

Returns
Type Description
BuildInfo.Builder

This builder for chaining.

setSourceLocation(String value)

public BuildInfo.Builder setSourceLocation(String value)

Output only. Source code location of the image.

string source_location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The sourceLocation to set.

Returns
Type Description
BuildInfo.Builder

This builder for chaining.

setSourceLocationBytes(ByteString value)

public BuildInfo.Builder setSourceLocationBytes(ByteString value)

Output only. Source code location of the image.

string source_location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for sourceLocation to set.

Returns
Type Description
BuildInfo.Builder

This builder for chaining.