Interface CreateGroupRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateGroupRequest, CreateGroupRequest.Builder

@Generated public interface CreateGroupRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    If true, validate this request but do not create the group.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.