public static final class GroupResult.Builder extends GeneratedMessageV3.Builder<GroupResult.Builder> implements GroupResultOrBuilder
Result containing the properties and count of a groupBy request.
Protobuf type google.cloud.securitycenter.v1.GroupResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GroupResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GroupResult build()
Returns
buildPartial()
public GroupResult buildPartial()
Returns
clear()
public GroupResult.Builder clear()
Returns
Overrides
clearCount()
public GroupResult.Builder clearCount()
Total count of resources for the given properties.
int64 count = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public GroupResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GroupResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProperties()
public GroupResult.Builder clearProperties()
Returns
clone()
public GroupResult.Builder clone()
Returns
Overrides
containsProperties(String key)
public boolean containsProperties(String key)
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Parameter
Returns
getCount()
Total count of resources for the given properties.
int64 count = 2;
Returns
Type | Description |
long | The count.
|
getDefaultInstanceForType()
public GroupResult getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMutableProperties()
public Map<String,Value> getMutableProperties()
Use alternate mutation accessors instead.
Returns
getProperties()
public Map<String,Value> getProperties()
Returns
getPropertiesCount()
public int getPropertiesCount()
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Returns
getPropertiesMap()
public Map<String,Value> getPropertiesMap()
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Returns
getPropertiesOrDefault(String key, Value defaultValue)
public Value getPropertiesOrDefault(String key, Value defaultValue)
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Parameters
Returns
getPropertiesOrThrow(String key)
public Value getPropertiesOrThrow(String key)
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Parameter
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GroupResult other)
public GroupResult.Builder mergeFrom(GroupResult other)
Parameter
Returns
public GroupResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GroupResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GroupResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllProperties(Map<String,Value> values)
public GroupResult.Builder putAllProperties(Map<String,Value> values)
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Parameter
Returns
putProperties(String key, Value value)
public GroupResult.Builder putProperties(String key, Value value)
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Parameters
Returns
removeProperties(String key)
public GroupResult.Builder removeProperties(String key)
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Parameter
Returns
setCount(long value)
public GroupResult.Builder setCount(long value)
Total count of resources for the given properties.
int64 count = 2;
Parameter
Name | Description |
value | long
The count to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GroupResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GroupResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GroupResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides