Interface CreateInstanceRequestOrBuilder (1.46.0)

public interface CreateInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract Instance getInstance()

Required. The instance to be created.

.google.cloud.notebooks.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance

The instance.

getInstanceId()

public abstract String getInstanceId()

Required. User-defined unique ID of this instance.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Required. User-defined unique ID of this instance.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instanceId.

getInstanceOrBuilder()

public abstract InstanceOrBuilder getInstanceOrBuilder()

Required. The instance to be created.

.google.cloud.notebooks.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstanceOrBuilder

getParent()

public abstract String getParent()

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

Optional. Idempotent request UUID.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. Idempotent request UUID.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

hasInstance()

public abstract boolean hasInstance()

Required. The instance to be created.

.google.cloud.notebooks.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.