Send feedback
Class ContainerImage.Builder (1.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.33.0 keyboard_arrow_down
public static final class ContainerImage . Builder extends GeneratedMessageV3 . Builder<ContainerImage . Builder > implements ContainerImageOrBuilder
Definition of a container image for starting a notebook instance with the
environment installed in a container.
Protobuf type google.cloud.notebooks.v2.ContainerImage
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 ContainerImage . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ContainerImage build ()
buildPartial()
public ContainerImage buildPartial ()
clear()
public ContainerImage . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ContainerImage . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ContainerImage . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRepository()
public ContainerImage . Builder clearRepository ()
Required. The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
string repository = 1 [(.google.api.field_behavior) = REQUIRED];
clearTag()
public ContainerImage . Builder clearTag ()
Optional. The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public ContainerImage . Builder clone ()
Overrides
getDefaultInstanceForType()
public ContainerImage getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getRepository()
public String getRepository ()
Required. The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
string repository = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The repository.
getRepositoryBytes()
public ByteString getRepositoryBytes ()
Required. The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
string repository = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for repository.
getTag()
Optional. The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description String
The tag.
getTagBytes()
public ByteString getTagBytes ()
Optional. The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description ByteString
The bytes for tag.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ContainerImage other)
public ContainerImage . Builder mergeFrom ( ContainerImage other )
public ContainerImage . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ContainerImage . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContainerImage . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ContainerImage . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContainerImage . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setRepository(String value)
public ContainerImage . Builder setRepository ( String value )
Required. The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
string repository = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
String
The repository to set.
setRepositoryBytes(ByteString value)
public ContainerImage . Builder setRepositoryBytes ( ByteString value )
Required. The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
string repository = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
ByteString
The bytes for repository to set.
setTag(String value)
public ContainerImage . Builder setTag ( String value )
Optional. The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description value
String
The tag to set.
setTagBytes(ByteString value)
public ContainerImage . Builder setTagBytes ( ByteString value )
Optional. The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description value
ByteString
The bytes for tag to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final ContainerImage . 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-01-27 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-01-27 UTC."],[],[]]