Interface CreateInstanceRequestOrBuilder (1.44.0)

public interface CreateInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract Instance getInstance()

Required. An instance resource

.google.cloud.filestore.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance

The instance.

getInstanceId()

public abstract String getInstanceId()

Required. The name of the instance to create. The name must be unique for the specified project and location.

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

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Required. The name of the instance to create. The name must be unique for the specified project and location.

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

Returns
Type Description
ByteString

The bytes for instanceId.

getInstanceOrBuilder()

public abstract InstanceOrBuilder getInstanceOrBuilder()

Required. An instance resource

.google.cloud.filestore.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstanceOrBuilder

getParent()

public abstract String getParent()

Required. The instance's project and location, in the format projects/{project_id}/locations/{location}. In Filestore, locations map to Google Cloud zones, for example us-west1-b.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The instance's project and location, in the format projects/{project_id}/locations/{location}. In Filestore, locations map to Google Cloud zones, for example us-west1-b.

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

Returns
Type Description
ByteString

The bytes for parent.

hasInstance()

public abstract boolean hasInstance()

Required. An instance resource

.google.cloud.filestore.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.