Send feedback
Class BuildInfo.Builder (0.58.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class BuildInfo . Builder extends GeneratedMessageV3 . Builder<BuildInfo . Builder > implements BuildInfoOrBuilder
Build information of the image.
Protobuf type google.cloud.run.v2.BuildInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuildInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
buildPartial()
public BuildInfo buildPartial ()
clear()
public BuildInfo . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BuildInfo . Builder clearField ( Descriptors . FieldDescriptor field )
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public BuildInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSourceLocation()
public BuildInfo . Builder clearSourceLocation ()
Output only. Source code location of the image.
string source_location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public BuildInfo . Builder clone ()
Overrides
getDefaultInstanceForType()
public BuildInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(BuildInfo other)
public BuildInfo . Builder mergeFrom ( BuildInfo other )
public BuildInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public BuildInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BuildInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BuildInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BuildInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
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.
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final BuildInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-22 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-22 UTC."],[],[]]