public static final class JupyterConfig.Builder extends GeneratedMessageV3.Builder<JupyterConfig.Builder> implements JupyterConfigOrBuilder
Jupyter configuration for an interactive session.
Protobuf type google.cloud.dataproc.v1.JupyterConfig
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 JupyterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public JupyterConfig build()
buildPartial()
public JupyterConfig buildPartial()
clear()
public JupyterConfig.Builder clear()
Overrides
clearDisplayName()
public JupyterConfig.Builder clearDisplayName()
Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public JupyterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKernel()
public JupyterConfig.Builder clearKernel()
Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public JupyterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public JupyterConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public JupyterConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisplayName()
public String getDisplayName()
Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getKernel()
public JupyterConfig.Kernel getKernel()
Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
getKernelValue()
public int getKernelValue()
Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for kernel.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(JupyterConfig other)
public JupyterConfig.Builder mergeFrom(JupyterConfig other)
public JupyterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public JupyterConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JupyterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDisplayName(String value)
public JupyterConfig.Builder setDisplayName(String value)
Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The displayName to set.
|
setDisplayNameBytes(ByteString value)
public JupyterConfig.Builder setDisplayNameBytes(ByteString value)
Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for displayName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public JupyterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setKernel(JupyterConfig.Kernel value)
public JupyterConfig.Builder setKernel(JupyterConfig.Kernel value)
Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
setKernelValue(int value)
public JupyterConfig.Builder setKernelValue(int value)
Optional. Kernel
.google.cloud.dataproc.v1.JupyterConfig.Kernel kernel = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for kernel to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JupyterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final JupyterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides