Interface CreateInstanceRequestOrBuilder (1.42.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the instance field is set.