Interface CreateServiceRequestOrBuilder (3.25.0)

public interface CreateServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Resource name of the parent workspace. The format is:

 projects/[PROJECT_ID_OR_NUMBER]

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Resource name of the parent workspace. The format is:

 projects/[PROJECT_ID_OR_NUMBER]

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 to create.

.google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Service

The service.

getServiceId()

public abstract String getServiceId()

Optional. The Service id to use for this Service. If omitted, an id will be generated instead. Must match the pattern [a-z0-9\-]+

string service_id = 3;

Returns
TypeDescription
String

The serviceId.

getServiceIdBytes()

public abstract ByteString getServiceIdBytes()

Optional. The Service id to use for this Service. If omitted, an id will be generated instead. Must match the pattern [a-z0-9\-]+

string service_id = 3;

Returns
TypeDescription
ByteString

The bytes for serviceId.

getServiceOrBuilder()

public abstract ServiceOrBuilder getServiceOrBuilder()

Required. The Service to create.

.google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServiceOrBuilder

hasService()

public abstract boolean hasService()

Required. The Service to create.

.google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the service field is set.