Interface CreateServiceRequestOrBuilder (2.48.0)

public interface CreateServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The resource name of the namespace this service will belong to.

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 resource name of the namespace this service will belong to.

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

Returns
Type Description
ByteString

The bytes for parent.

getService()

public abstract Service getService()

Required. A service with initial fields set.

.google.cloud.servicedirectory.v1.Service service = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Service

The service.

getServiceId()

public abstract String getServiceId()

Required. The Resource ID must be 1-63 characters long, and comply with <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

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

Returns
Type Description
String

The serviceId.

getServiceIdBytes()

public abstract ByteString getServiceIdBytes()

Required. The Resource ID must be 1-63 characters long, and comply with <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

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

Returns
Type Description
ByteString

The bytes for serviceId.

getServiceOrBuilder()

public abstract ServiceOrBuilder getServiceOrBuilder()

Required. A service with initial fields set.

.google.cloud.servicedirectory.v1.Service service = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceOrBuilder

hasService()

public abstract boolean hasService()

Required. A service with initial fields set.

.google.cloud.servicedirectory.v1.Service service = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the service field is set.