- 2.61.0 (latest)
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GroupResult.BuilderImplements
GroupResultOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GroupResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GroupResult.Builder |
build()
public GroupResult build()
Type | Description |
GroupResult |
buildPartial()
public GroupResult buildPartial()
Type | Description |
GroupResult |
clear()
public GroupResult.Builder clear()
Type | Description |
GroupResult.Builder |
clearCount()
public GroupResult.Builder clearCount()
Total count of resources for the given properties.
int64 count = 2;
Type | Description |
GroupResult.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GroupResult.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GroupResult.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GroupResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GroupResult.Builder |
clearProperties()
public GroupResult.Builder clearProperties()
Type | Description |
GroupResult.Builder |
clone()
public GroupResult.Builder clone()
Type | Description |
GroupResult.Builder |
containsProperties(String key)
public boolean containsProperties(String key)
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Name | Description |
key | String |
Type | Description |
boolean |
getCount()
public long getCount()
Total count of resources for the given properties.
int64 count = 2;
Type | Description |
long | The count. |
getDefaultInstanceForType()
public GroupResult getDefaultInstanceForType()
Type | Description |
GroupResult |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMutableProperties()
public Map<String,Value> getMutableProperties()
Use alternate mutation accessors instead.
Type | Description |
Map<String,Value> |
getProperties()
public Map<String,Value> getProperties()
Use #getPropertiesMap() instead.
Type | Description |
Map<String,Value> |
getPropertiesCount()
public int getPropertiesCount()
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Type | Description |
int |
getPropertiesMap()
public Map<String,Value> getPropertiesMap()
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Type | Description |
Map<String,Value> |
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;
Name | Description |
key | String |
defaultValue | Value |
Type | Description |
Value |
getPropertiesOrThrow(String key)
public Value getPropertiesOrThrow(String key)
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Name | Description |
key | String |
Type | Description |
Value |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GroupResult other)
public GroupResult.Builder mergeFrom(GroupResult other)
Name | Description |
other | GroupResult |
Type | Description |
GroupResult.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GroupResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GroupResult.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GroupResult.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GroupResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GroupResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GroupResult.Builder |
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;
Name | Description |
values | Map<String,Value> |
Type | Description |
GroupResult.Builder |
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;
Name | Description |
key | String |
value | Value |
Type | Description |
GroupResult.Builder |
removeProperties(String key)
public GroupResult.Builder removeProperties(String key)
Properties matching the groupBy fields in the request.
map<string, .google.protobuf.Value> properties = 1;
Name | Description |
key | String |
Type | Description |
GroupResult.Builder |
setCount(long value)
public GroupResult.Builder setCount(long value)
Total count of resources for the given properties.
int64 count = 2;
Name | Description |
value | long The count to set. |
Type | Description |
GroupResult.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GroupResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GroupResult.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GroupResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GroupResult.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GroupResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GroupResult.Builder |