public final class InstanceConfig extends GeneratedMessageV3 implements InstanceConfigOrBuilder
Notebook instance configurations that can be updated.
Protobuf type google.cloud.notebooks.v1.InstanceConfig
Static Fields
ENABLE_HEALTH_MONITORING_FIELD_NUMBER
public static final int ENABLE_HEALTH_MONITORING_FIELD_NUMBER
Field Value
NOTEBOOK_UPGRADE_SCHEDULE_FIELD_NUMBER
public static final int NOTEBOOK_UPGRADE_SCHEDULE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InstanceConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InstanceConfig.Builder newBuilder()
Returns
newBuilder(InstanceConfig prototype)
public static InstanceConfig.Builder newBuilder(InstanceConfig prototype)
Parameter
Returns
public static InstanceConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InstanceConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InstanceConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InstanceConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InstanceConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InstanceConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InstanceConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public InstanceConfig getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<InstanceConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InstanceConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InstanceConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions