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.v1.ContainerImage
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2;
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()
The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2;
Returns |
---|
Type | Description |
String | The tag.
|
getTagBytes()
public ByteString getTagBytes()
The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2;
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)
The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2;
Parameter |
---|
Name | Description |
value | String
The tag to set.
|
setTagBytes(ByteString value)
public ContainerImage.Builder setTagBytes(ByteString value)
The tag of the container image. If not specified, this defaults
to the latest tag.
string tag = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for tag to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ContainerImage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides