Interface GroupResultOrBuilder (2.37.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
NameDescription
keyString
Returns
TypeDescription
boolean

getCount()

public abstract long getCount()

Total count of resources for the given properties.

int64 count = 2;

Returns
TypeDescription
long

The count.

getProperties()

public abstract Map<String,Value> getProperties()

Use #getPropertiesMap() instead.

Returns
TypeDescription
Map<String,Value>

getPropertiesCount()

public abstract int getPropertiesCount()

Properties matching the groupBy fields in the request.

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

Returns
TypeDescription
int

getPropertiesMap()

public abstract Map<String,Value> getPropertiesMap()

Properties matching the groupBy fields in the request.

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

Returns
TypeDescription
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
NameDescription
keyString
defaultValueValue
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
Value