Interface CreateGroupRequestOrBuilder (3.15.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the group field is set.