public static final class InstanceConfig.Builder extends GeneratedMessage.Builder<InstanceConfig.Builder> implements InstanceConfigOrBuilderNotebook instance configurations that can be updated.
Protobuf type google.cloud.notebooks.v1.InstanceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InstanceConfig.BuilderImplements
InstanceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InstanceConfig build()| Returns | |
|---|---|
| Type | Description |
InstanceConfig |
|
buildPartial()
public InstanceConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
InstanceConfig |
|
clear()
public InstanceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
InstanceConfig.Builder |
|
clearEnableHealthMonitoring()
public InstanceConfig.Builder clearEnableHealthMonitoring()Verifies core internal services are running.
bool enable_health_monitoring = 2;
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
InstanceConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public InstanceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InstanceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InstanceConfig other)
public InstanceConfig.Builder mergeFrom(InstanceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
InstanceConfig |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InstanceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.Builder |
|
setEnableHealthMonitoring(boolean value)
public InstanceConfig.Builder setEnableHealthMonitoring(boolean value)Verifies core internal services are running.
bool enable_health_monitoring = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableHealthMonitoring to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.Builder |
This builder for chaining. |
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 |
StringThe notebookUpgradeSchedule to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for notebookUpgradeSchedule to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceConfig.Builder |
This builder for chaining. |