Interface CreateGroupRequestOrBuilder (3.54.0)

public interface CreateGroupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGroup()

public abstract 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
Type Description
Group

The group.

getGroupOrBuilder()

public abstract 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];

Returns
Type Description
GroupOrBuilder

getName()

public abstract String getName()

Required. The project 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
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The project 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
Type Description
ByteString

The bytes for name.

getValidateOnly()

public abstract boolean getValidateOnly()

If true, validate this request but do not create the group.

bool validate_only = 3;

Returns
Type Description
boolean

The validateOnly.

hasGroup()

public abstract 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
Type Description
boolean

Whether the group field is set.