Interface CreateInstanceRequestOrBuilder (0.83.0)

public interface CreateInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract Instance getInstance()

.google.cloud.run.v2.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance

The instance.

getInstanceId()

public abstract String getInstanceId()

Required. The unique identifier for the Instance. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the instance becomes {parent}/instances/{instance_id}.

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

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Required. The unique identifier for the Instance. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the instance becomes {parent}/instances/{instance_id}.

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

Returns
Type Description
ByteString

The bytes for instanceId.

getInstanceOrBuilder()

public abstract InstanceOrBuilder getInstanceOrBuilder()

.google.cloud.run.v2.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstanceOrBuilder

getParent()

public abstract String getParent()

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasInstance()

public abstract boolean hasInstance()

.google.cloud.run.v2.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.