Interface GroupResultOrBuilder (2.54.0)

public interface GroupResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsProperties(String key)

public abstract boolean containsProperties(String key)

Properties matching the groupBy fields in the request.

map<string, .google.protobuf.Value> properties = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCount()

public abstract long getCount()

Total count of resources for the given properties.

int64 count = 2;

Returns
Type Description
long

The count.

getProperties() (deprecated)

public abstract Map<String,Value> getProperties()

Use #getPropertiesMap() instead.

Returns
Type Description
Map<String,Value>

getPropertiesCount()

public abstract int getPropertiesCount()

Properties matching the groupBy fields in the request.

map<string, .google.protobuf.Value> properties = 1;

Returns
Type Description
int

getPropertiesMap()

public abstract Map<String,Value> getPropertiesMap()

Properties matching the groupBy fields in the request.

map<string, .google.protobuf.Value> properties = 1;

Returns
Type Description
Map<String,Value>

getPropertiesOrDefault(String key, Value defaultValue)

public abstract Value getPropertiesOrDefault(String key, Value defaultValue)

Properties matching the groupBy fields in the request.

map<string, .google.protobuf.Value> properties = 1;

Parameters
Name Description
key String
defaultValue Value
Returns
Type Description
Value

getPropertiesOrThrow(String key)

public abstract Value getPropertiesOrThrow(String key)

Properties matching the groupBy fields in the request.

map<string, .google.protobuf.Value> properties = 1;

Parameter
Name Description
key String
Returns
Type Description
Value