public static final class ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder extends GeneratedMessage.Builder<ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder> implements ReasoningEngineSpec.SourceCodeSpec.ImageSpecOrBuilder
The image spec for building an image (within a single build step), based
on the config file (i.e. Dockerfile) in the source directory.
Protobuf type
google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec build()
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec buildPartial()
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder clear()
Overrides
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder clearBuildArgs()
public boolean containsBuildArgs(String key)
Optional. Build arguments to be used. They will be passed through
--build-arg flags.
map<string, string> build_args = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
public Map<String,String> getBuildArgs()
public int getBuildArgsCount()
Optional. Build arguments to be used. They will be passed through
--build-arg flags.
map<string, string> build_args = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
public Map<String,String> getBuildArgsMap()
Optional. Build arguments to be used. They will be passed through
--build-arg flags.
map<string, string> build_args = 1 [(.google.api.field_behavior) = OPTIONAL];
public String getBuildArgsOrDefault(String key, String defaultValue)
Optional. Build arguments to be used. They will be passed through
--build-arg flags.
map<string, string> build_args = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
|
public String getBuildArgsOrThrow(String key)
Optional. Build arguments to be used. They will be passed through
--build-arg flags.
map<string, string> build_args = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
|
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,String> getMutableBuildArgs()
Use alternate mutation accessors instead.
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder mergeFrom(ReasoningEngineSpec.SourceCodeSpec.ImageSpec other)
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder putAllBuildArgs(Map<String,String> values)
Optional. Build arguments to be used. They will be passed through
--build-arg flags.
map<string, string> build_args = 1 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder putBuildArgs(String key, String value)
Optional. Build arguments to be used. They will be passed through
--build-arg flags.
map<string, string> build_args = 1 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.SourceCodeSpec.ImageSpec.Builder removeBuildArgs(String key)
Optional. Build arguments to be used. They will be passed through
--build-arg flags.
map<string, string> build_args = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|