public static final class BuildInfo.Builder extends GeneratedMessage.Builder<BuildInfo.Builder> implements BuildInfoOrBuilderBuild information of the image.
Protobuf type google.cloud.run.v2.BuildInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BuildInfo.BuilderImplements
BuildInfoOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BuildInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BuildInfo.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for sourceLocation to set. |
| Returns | |
|---|---|
| Type | Description |
BuildInfo.Builder |
This builder for chaining. |