Interface CreateServiceLevelObjectiveRequestOrBuilder (3.36.0)

public interface CreateServiceLevelObjectiveRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

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

 projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]

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 Service. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]

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

Returns
TypeDescription
ByteString

The bytes for parent.

getServiceLevelObjective()

public abstract ServiceLevelObjective getServiceLevelObjective()

Required. The ServiceLevelObjective to create. The provided name will be respected if no ServiceLevelObjective exists with this name.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServiceLevelObjective

The serviceLevelObjective.

getServiceLevelObjectiveId()

public abstract String getServiceLevelObjectiveId()

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

string service_level_objective_id = 3;

Returns
TypeDescription
String

The serviceLevelObjectiveId.

getServiceLevelObjectiveIdBytes()

public abstract ByteString getServiceLevelObjectiveIdBytes()

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

string service_level_objective_id = 3;

Returns
TypeDescription
ByteString

The bytes for serviceLevelObjectiveId.

getServiceLevelObjectiveOrBuilder()

public abstract ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder()

Required. The ServiceLevelObjective to create. The provided name will be respected if no ServiceLevelObjective exists with this name.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServiceLevelObjectiveOrBuilder

hasServiceLevelObjective()

public abstract boolean hasServiceLevelObjective()

Required. The ServiceLevelObjective to create. The provided name will be respected if no ServiceLevelObjective exists with this name.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the serviceLevelObjective field is set.