public static final class InstanceConfig.Builder extends GeneratedMessageV3.Builder<InstanceConfig.Builder> implements InstanceConfigOrBuilder
Notebook instance configurations that can be updated.
Protobuf type google.cloud.notebooks.v1.InstanceConfig
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InstanceConfig build()
Returns
buildPartial()
public InstanceConfig buildPartial()
Returns
clear()
public InstanceConfig.Builder clear()
Returns
Overrides
clearEnableHealthMonitoring()
public InstanceConfig.Builder clearEnableHealthMonitoring()
Verifies core internal services are running.
bool enable_health_monitoring = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public InstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNotebookUpgradeSchedule()
public InstanceConfig.Builder clearNotebookUpgradeSchedule()
Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the cron format.
string notebook_upgrade_schedule = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public InstanceConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InstanceConfig getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnableHealthMonitoring()
public boolean getEnableHealthMonitoring()
Verifies core internal services are running.
bool enable_health_monitoring = 2;
Returns
Type | Description |
boolean | The enableHealthMonitoring.
|
getNotebookUpgradeSchedule()
public String getNotebookUpgradeSchedule()
Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the cron format.
string notebook_upgrade_schedule = 1;
Returns
Type | Description |
String | The notebookUpgradeSchedule.
|
getNotebookUpgradeScheduleBytes()
public ByteString getNotebookUpgradeScheduleBytes()
Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the cron format.
string notebook_upgrade_schedule = 1;
Returns
Type | Description |
ByteString | The bytes for notebookUpgradeSchedule.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InstanceConfig other)
public InstanceConfig.Builder mergeFrom(InstanceConfig other)
Parameter
Returns
public InstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InstanceConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEnableHealthMonitoring(boolean value)
public InstanceConfig.Builder setEnableHealthMonitoring(boolean value)
Verifies core internal services are running.
bool enable_health_monitoring = 2;
Parameter
Name | Description |
value | boolean
The enableHealthMonitoring to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNotebookUpgradeSchedule(String value)
public InstanceConfig.Builder setNotebookUpgradeSchedule(String value)
Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the cron format.
string notebook_upgrade_schedule = 1;
Parameter
Name | Description |
value | String
The notebookUpgradeSchedule to set.
|
Returns
setNotebookUpgradeScheduleBytes(ByteString value)
public InstanceConfig.Builder setNotebookUpgradeScheduleBytes(ByteString value)
Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the cron format.
string notebook_upgrade_schedule = 1;
Parameter
Name | Description |
value | ByteString
The bytes for notebookUpgradeSchedule to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides