public static final class SandboxConfiguration.Builder extends GeneratedMessage.Builder<SandboxConfiguration.Builder> implements SandboxConfigurationOrBuilder
Configuration for sandboxes.
Protobuf type google.cloud.run.v2.SandboxConfiguration
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllTemplates(Iterable<? extends SandboxTemplate> values)
public SandboxConfiguration.Builder addAllTemplates(Iterable<? extends SandboxTemplate> values)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.run.v2.SandboxTemplate>
|
addTemplates(SandboxTemplate value)
public SandboxConfiguration.Builder addTemplates(SandboxTemplate value)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
addTemplates(SandboxTemplate.Builder builderForValue)
public SandboxConfiguration.Builder addTemplates(SandboxTemplate.Builder builderForValue)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
addTemplates(int index, SandboxTemplate value)
public SandboxConfiguration.Builder addTemplates(int index, SandboxTemplate value)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
addTemplates(int index, SandboxTemplate.Builder builderForValue)
public SandboxConfiguration.Builder addTemplates(int index, SandboxTemplate.Builder builderForValue)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
addTemplatesBuilder()
public SandboxTemplate.Builder addTemplatesBuilder()
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
addTemplatesBuilder(int index)
public SandboxTemplate.Builder addTemplatesBuilder(int index)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
build()
public SandboxConfiguration build()
buildPartial()
public SandboxConfiguration buildPartial()
clear()
public SandboxConfiguration.Builder clear()
Overrides
clearTemplates()
public SandboxConfiguration.Builder clearTemplates()
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public SandboxConfiguration getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTemplates(int index)
public SandboxTemplate getTemplates(int index)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getTemplatesBuilder(int index)
public SandboxTemplate.Builder getTemplatesBuilder(int index)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getTemplatesBuilderList()
public List<SandboxTemplate.Builder> getTemplatesBuilderList()
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
getTemplatesCount()
public int getTemplatesCount()
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
getTemplatesList()
public List<SandboxTemplate> getTemplatesList()
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
getTemplatesOrBuilder(int index)
public SandboxTemplateOrBuilder getTemplatesOrBuilder(int index)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getTemplatesOrBuilderList()
public List<? extends SandboxTemplateOrBuilder> getTemplatesOrBuilderList()
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.run.v2.SandboxTemplateOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SandboxConfiguration other)
public SandboxConfiguration.Builder mergeFrom(SandboxConfiguration other)
public SandboxConfiguration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SandboxConfiguration.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeTemplates(int index)
public SandboxConfiguration.Builder removeTemplates(int index)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
setTemplates(int index, SandboxTemplate value)
public SandboxConfiguration.Builder setTemplates(int index, SandboxTemplate value)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];
setTemplates(int index, SandboxTemplate.Builder builderForValue)
public SandboxConfiguration.Builder setTemplates(int index, SandboxTemplate.Builder builderForValue)
Required. Sandbox templates that can be launched through the sandbox CLI.
repeated .google.cloud.run.v2.SandboxTemplate templates = 4 [(.google.api.field_behavior) = REQUIRED];