Send feedback
Class GroupResult.Builder (2.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.10.0 keyboard_arrow_down
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.v1p1beta1.GroupResult
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]