Package com.google.monitoring.v3
Interface CreateServiceLevelObjectiveRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateServiceLevelObjectiveRequest,CreateServiceLevelObjectiveRequest.Builder
@Generated
public interface CreateServiceLevelObjectiveRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Optional.com.google.protobuf.ByteStringOptional.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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-zA-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-zA-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];
-