Interface CreateServiceRequestOrBuilder (0.23.0)

public interface CreateServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The location and project in which this service should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The location and project in which this service should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getService()

public abstract Service getService()

Required. The Service instance to create.

.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Service

The service.

getServiceId()

public abstract String getServiceId()

Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.

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

Returns
TypeDescription
String

The serviceId.

getServiceIdBytes()

public abstract ByteString getServiceIdBytes()

Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.

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

Returns
TypeDescription
ByteString

The bytes for serviceId.

getServiceOrBuilder()

public abstract ServiceOrBuilder getServiceOrBuilder()

Required. The Service instance to create.

.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServiceOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

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

bool validate_only = 4;

Returns
TypeDescription
boolean

The validateOnly.

hasService()

public abstract boolean hasService()

Required. The Service instance to create.

.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the service field is set.