Package com.google.monitoring.v3
Interface CreateServiceLevelObjectiveRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateServiceLevelObjectiveRequest,CreateServiceLevelObjectiveRequest.Builder
public interface CreateServiceLevelObjectiveRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.ServiceLevelObjectivegetServiceLevelObjective()Required.StringgetServiceLevelObjectiveId()Optional.com.google.protobuf.ByteStringgetServiceLevelObjectiveIdBytes()Optional.ServiceLevelObjectiveOrBuildergetServiceLevelObjectiveOrBuilder()Required.booleanhasServiceLevelObjective()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getServiceLevelObjectiveId
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:
- The serviceLevelObjectiveId.
-
getServiceLevelObjectiveIdBytes
com.google.protobuf.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:
- The bytes for serviceLevelObjectiveId.
-
hasServiceLevelObjective
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:
- Whether the serviceLevelObjective field is set.
-
getServiceLevelObjective
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:
- The serviceLevelObjective.
-
getServiceLevelObjectiveOrBuilder
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];
-
-