Package com.google.cloud.notebooks.v2
Class Instance
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.notebooks.v2.Instance
-
- All Implemented Interfaces:
InstanceOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Instance extends com.google.protobuf.GeneratedMessageV3 implements InstanceOrBuilder
The definition of a notebook instance.
Protobuf typegoogle.cloud.notebooks.v2.Instance
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Instance.Builder
The definition of a notebook instance.static class
Instance.InfrastructureCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CREATE_TIME_FIELD_NUMBER
static int
CREATOR_FIELD_NUMBER
static int
DISABLE_PROXY_ACCESS_FIELD_NUMBER
static int
GCE_SETUP_FIELD_NUMBER
static int
HEALTH_INFO_FIELD_NUMBER
static int
HEALTH_STATE_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
INSTANCE_OWNERS_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PROXY_URI_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
UPGRADE_HISTORY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsHealthInfo(String key)
Output only.boolean
containsLabels(String key)
Optional.boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getCreator()
Output only.com.google.protobuf.ByteString
getCreatorBytes()
Output only.static Instance
getDefaultInstance()
Instance
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getDisableProxyAccess()
Optional.GceSetup
getGceSetup()
Optional.GceSetupOrBuilder
getGceSetupOrBuilder()
Optional.Map<String,String>
getHealthInfo()
Deprecated.int
getHealthInfoCount()
Output only.Map<String,String>
getHealthInfoMap()
Output only.String
getHealthInfoOrDefault(String key, String defaultValue)
Output only.String
getHealthInfoOrThrow(String key)
Output only.HealthState
getHealthState()
Output only.int
getHealthStateValue()
Output only.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.Instance.InfrastructureCase
getInfrastructureCase()
String
getInstanceOwners(int index)
Optional.com.google.protobuf.ByteString
getInstanceOwnersBytes(int index)
Optional.int
getInstanceOwnersCount()
Optional.com.google.protobuf.ProtocolStringList
getInstanceOwnersList()
Optional.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<Instance>
getParserForType()
String
getProxyUri()
Output only.com.google.protobuf.ByteString
getProxyUriBytes()
Output only.int
getSerializedSize()
State
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.UpgradeHistoryEntry
getUpgradeHistory(int index)
Output only.int
getUpgradeHistoryCount()
Output only.List<UpgradeHistoryEntry>
getUpgradeHistoryList()
Output only.UpgradeHistoryEntryOrBuilder
getUpgradeHistoryOrBuilder(int index)
Output only.List<? extends UpgradeHistoryEntryOrBuilder>
getUpgradeHistoryOrBuilderList()
Output only.boolean
hasCreateTime()
Output only.boolean
hasGceSetup()
Optional.int
hashCode()
boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Instance.Builder
newBuilder()
static Instance.Builder
newBuilder(Instance prototype)
Instance.Builder
newBuilderForType()
protected Instance.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Instance
parseDelimitedFrom(InputStream input)
static Instance
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(byte[] data)
static Instance
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.ByteString data)
static Instance
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(InputStream input)
static Instance
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(ByteBuffer data)
static Instance
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Instance>
parser()
Instance.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GCE_SETUP_FIELD_NUMBER
public static final int GCE_SETUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROXY_URI_FIELD_NUMBER
public static final int PROXY_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_OWNERS_FIELD_NUMBER
public static final int INSTANCE_OWNERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATOR_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPGRADE_HISTORY_FIELD_NUMBER
public static final int UPGRADE_HISTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEALTH_STATE_FIELD_NUMBER
public static final int HEALTH_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEALTH_INFO_FIELD_NUMBER
public static final int HEALTH_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_PROXY_ACCESS_FIELD_NUMBER
public static final int DISABLE_PROXY_ACCESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getInfrastructureCase
public Instance.InfrastructureCase getInfrastructureCase()
- Specified by:
getInfrastructureCase
in interfaceInstanceOrBuilder
-
getName
public String getName()
Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceInstanceOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for name.
-
hasGceSetup
public boolean hasGceSetup()
Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
.google.cloud.notebooks.v2.GceSetup gce_setup = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasGceSetup
in interfaceInstanceOrBuilder
- Returns:
- Whether the gceSetup field is set.
-
getGceSetup
public GceSetup getGceSetup()
Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
.google.cloud.notebooks.v2.GceSetup gce_setup = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGceSetup
in interfaceInstanceOrBuilder
- Returns:
- The gceSetup.
-
getGceSetupOrBuilder
public GceSetupOrBuilder getGceSetupOrBuilder()
Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
.google.cloud.notebooks.v2.GceSetup gce_setup = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGceSetupOrBuilder
in interfaceInstanceOrBuilder
-
getProxyUri
public String getProxyUri()
Output only. The proxy endpoint that is used to access the Jupyter notebook.
string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getProxyUri
in interfaceInstanceOrBuilder
- Returns:
- The proxyUri.
-
getProxyUriBytes
public com.google.protobuf.ByteString getProxyUriBytes()
Output only. The proxy endpoint that is used to access the Jupyter notebook.
string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getProxyUriBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for proxyUri.
-
getInstanceOwnersList
public com.google.protobuf.ProtocolStringList getInstanceOwnersList()
Optional. Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInstanceOwnersList
in interfaceInstanceOrBuilder
- Returns:
- A list containing the instanceOwners.
-
getInstanceOwnersCount
public int getInstanceOwnersCount()
Optional. Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInstanceOwnersCount
in interfaceInstanceOrBuilder
- Returns:
- The count of instanceOwners.
-
getInstanceOwners
public String getInstanceOwners(int index)
Optional. Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInstanceOwners
in interfaceInstanceOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The instanceOwners at the given index.
-
getInstanceOwnersBytes
public com.google.protobuf.ByteString getInstanceOwnersBytes(int index)
Optional. Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInstanceOwnersBytes
in interfaceInstanceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instanceOwners at the given index.
-
getCreator
public String getCreator()
Output only. Email address of entity that sent original CreateInstance request.
string creator = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreator
in interfaceInstanceOrBuilder
- Returns:
- The creator.
-
getCreatorBytes
public com.google.protobuf.ByteString getCreatorBytes()
Output only. Email address of entity that sent original CreateInstance request.
string creator = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreatorBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for creator.
-
getStateValue
public int getStateValue()
Output only. The state of this instance.
.google.cloud.notebooks.v2.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public State getState()
Output only. The state of this instance.
.google.cloud.notebooks.v2.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceInstanceOrBuilder
- Returns:
- The state.
-
getUpgradeHistoryList
public List<UpgradeHistoryEntry> getUpgradeHistoryList()
Output only. The upgrade history of this instance.
repeated .google.cloud.notebooks.v2.UpgradeHistoryEntry upgrade_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpgradeHistoryList
in interfaceInstanceOrBuilder
-
getUpgradeHistoryOrBuilderList
public List<? extends UpgradeHistoryEntryOrBuilder> getUpgradeHistoryOrBuilderList()
Output only. The upgrade history of this instance.
repeated .google.cloud.notebooks.v2.UpgradeHistoryEntry upgrade_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpgradeHistoryOrBuilderList
in interfaceInstanceOrBuilder
-
getUpgradeHistoryCount
public int getUpgradeHistoryCount()
Output only. The upgrade history of this instance.
repeated .google.cloud.notebooks.v2.UpgradeHistoryEntry upgrade_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpgradeHistoryCount
in interfaceInstanceOrBuilder
-
getUpgradeHistory
public UpgradeHistoryEntry getUpgradeHistory(int index)
Output only. The upgrade history of this instance.
repeated .google.cloud.notebooks.v2.UpgradeHistoryEntry upgrade_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpgradeHistory
in interfaceInstanceOrBuilder
-
getUpgradeHistoryOrBuilder
public UpgradeHistoryEntryOrBuilder getUpgradeHistoryOrBuilder(int index)
Output only. The upgrade history of this instance.
repeated .google.cloud.notebooks.v2.UpgradeHistoryEntry upgrade_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpgradeHistoryOrBuilder
in interfaceInstanceOrBuilder
-
getId
public String getId()
Output only. Unique ID of the resource.
string id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getId
in interfaceInstanceOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Output only. Unique ID of the resource.
string id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getIdBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for id.
-
getHealthStateValue
public int getHealthStateValue()
Output only. Instance health_state.
.google.cloud.notebooks.v2.HealthState health_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getHealthStateValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for healthState.
-
getHealthState
public HealthState getHealthState()
Output only. Instance health_state.
.google.cloud.notebooks.v2.HealthState health_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getHealthState
in interfaceInstanceOrBuilder
- Returns:
- The healthState.
-
getHealthInfoCount
public int getHealthInfoCount()
Description copied from interface:InstanceOrBuilder
Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
map<string, string> health_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getHealthInfoCount
in interfaceInstanceOrBuilder
-
containsHealthInfo
public boolean containsHealthInfo(String key)
Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
map<string, string> health_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsHealthInfo
in interfaceInstanceOrBuilder
-
getHealthInfo
@Deprecated public Map<String,String> getHealthInfo()
Deprecated.UsegetHealthInfoMap()
instead.- Specified by:
getHealthInfo
in interfaceInstanceOrBuilder
-
getHealthInfoMap
public Map<String,String> getHealthInfoMap()
Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
map<string, string> health_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getHealthInfoMap
in interfaceInstanceOrBuilder
-
getHealthInfoOrDefault
public String getHealthInfoOrDefault(String key, String defaultValue)
Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
map<string, string> health_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getHealthInfoOrDefault
in interfaceInstanceOrBuilder
-
getHealthInfoOrThrow
public String getHealthInfoOrThrow(String key)
Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
map<string, string> health_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getHealthInfoOrThrow
in interfaceInstanceOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceInstanceOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceInstanceOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceInstanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceInstanceOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceInstanceOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceInstanceOrBuilder
-
getDisableProxyAccess
public boolean getDisableProxyAccess()
Optional. If true, the notebook instance will not register with the proxy.
bool disable_proxy_access = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisableProxyAccess
in interfaceInstanceOrBuilder
- Returns:
- The disableProxyAccess.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilder
Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceInstanceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Instance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Instance.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Instance.Builder newBuilder()
-
newBuilder
public static Instance.Builder newBuilder(Instance prototype)
-
toBuilder
public Instance.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Instance getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Instance> parser()
-
getParserForType
public com.google.protobuf.Parser<Instance> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-