Package com.google.monitoring.v3
Interface CreateGroupRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateGroupRequest
,CreateGroupRequest.Builder
public interface CreateGroupRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Group
getGroup()
Required.GroupOrBuilder
getGroupOrBuilder()
Required.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.boolean
getValidateOnly()
If true, validate this request but do not create the group.boolean
hasGroup()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER]
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER]
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for name.
-
hasGroup
boolean hasGroup()
Required. A group definition. It is an error to define the `name` field because the system assigns the name.
.google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the group field is set.
-
getGroup
Group getGroup()
Required. A group definition. It is an error to define the `name` field because the system assigns the name.
.google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The group.
-
getGroupOrBuilder
GroupOrBuilder getGroupOrBuilder()
Required. A group definition. It is an error to define the `name` field because the system assigns the name.
.google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
-
getValidateOnly
boolean getValidateOnly()
If true, validate this request but do not create the group.
bool validate_only = 3;
- Returns:
- The validateOnly.
-
-