- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
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.v1beta1.ContainerImage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ContainerImage.BuilderImplements
ContainerImageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContainerImage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
build()
public ContainerImage build()
Returns | |
---|---|
Type | Description |
ContainerImage |
buildPartial()
public ContainerImage buildPartial()
Returns | |
---|---|
Type | Description |
ContainerImage |
clear()
public ContainerImage.Builder clear()
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
clearField(Descriptors.FieldDescriptor field)
public ContainerImage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContainerImage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
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];
Returns | |
---|---|
Type | Description |
ContainerImage.Builder | This builder for chaining. |
clearTag()
public ContainerImage.Builder clearTag()
The tag of the container image. If not specified, this defaults to the latest tag.
string tag = 2;
Returns | |
---|---|
Type | Description |
ContainerImage.Builder | This builder for chaining. |
clone()
public ContainerImage.Builder clone()
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
getDefaultInstanceForType()
public ContainerImage getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ContainerImage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
public String 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ContainerImage other)
public ContainerImage.Builder mergeFrom(ContainerImage other)
Parameter | |
---|---|
Name | Description |
other | ContainerImage |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContainerImage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ContainerImage.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContainerImage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ContainerImage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContainerImage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
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. |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder | This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder | This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder | This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContainerImage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |