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
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 InstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstanceConfig build()
buildPartial()
public InstanceConfig buildPartial()
clear()
public InstanceConfig.Builder clear()
Overrides
clearEnableHealthMonitoring()
public InstanceConfig.Builder clearEnableHealthMonitoring()
Verifies core internal services are running.
bool enable_health_monitoring = 2;
clearField(Descriptors.FieldDescriptor field)
public InstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InstanceConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public InstanceConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstanceConfig other)
public InstanceConfig.Builder mergeFrom(InstanceConfig other)
public InstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides