public interface CreateServiceRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ServiceOrBuilder |
hasService()
public abstract boolean hasService()
Required. The Service
to create.
.google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the service field is set. |