public static final class GroupAssetsResponse.Builder extends GeneratedMessageV3.Builder<GroupAssetsResponse.Builder> implements GroupAssetsResponseOrBuilder
Response message for grouping by assets.Protobuf type
google.cloud.securitycenter.v1.GroupAssetsResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GroupAssetsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GroupAssetsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GroupAssetsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse.Builder mergeFrom(GroupAssetsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public GroupAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GroupAssetsResponse.Builder>
IOException
public List<GroupResult> getGroupByResultsList()
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
getGroupByResultsList
in interface GroupAssetsResponseOrBuilder
public int getGroupByResultsCount()
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
getGroupByResultsCount
in interface GroupAssetsResponseOrBuilder
public GroupResult getGroupByResults(int index)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
getGroupByResults
in interface GroupAssetsResponseOrBuilder
public GroupAssetsResponse.Builder setGroupByResults(int index, GroupResult value)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupAssetsResponse.Builder setGroupByResults(int index, GroupResult.Builder builderForValue)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupAssetsResponse.Builder addGroupByResults(GroupResult value)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupAssetsResponse.Builder addGroupByResults(int index, GroupResult value)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupAssetsResponse.Builder addGroupByResults(GroupResult.Builder builderForValue)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupAssetsResponse.Builder addGroupByResults(int index, GroupResult.Builder builderForValue)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupAssetsResponse.Builder addAllGroupByResults(Iterable<? extends GroupResult> values)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupAssetsResponse.Builder clearGroupByResults()
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupAssetsResponse.Builder removeGroupByResults(int index)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupResult.Builder getGroupByResultsBuilder(int index)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupResultOrBuilder getGroupByResultsOrBuilder(int index)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
getGroupByResultsOrBuilder
in interface GroupAssetsResponseOrBuilder
public List<? extends GroupResultOrBuilder> getGroupByResultsOrBuilderList()
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
getGroupByResultsOrBuilderList
in interface GroupAssetsResponseOrBuilder
public GroupResult.Builder addGroupByResultsBuilder()
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public GroupResult.Builder addGroupByResultsBuilder(int index)
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public List<GroupResult.Builder> getGroupByResultsBuilderList()
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
public boolean hasReadTime()
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;
hasReadTime
in interface GroupAssetsResponseOrBuilder
public Timestamp getReadTime()
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;
getReadTime
in interface GroupAssetsResponseOrBuilder
public GroupAssetsResponse.Builder setReadTime(Timestamp value)
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;
public GroupAssetsResponse.Builder setReadTime(Timestamp.Builder builderForValue)
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;
public GroupAssetsResponse.Builder mergeReadTime(Timestamp value)
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;
public GroupAssetsResponse.Builder clearReadTime()
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;
public Timestamp.Builder getReadTimeBuilder()
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;
public TimestampOrBuilder getReadTimeOrBuilder()
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;
getReadTimeOrBuilder
in interface GroupAssetsResponseOrBuilder
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;
getNextPageToken
in interface GroupAssetsResponseOrBuilder
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;
getNextPageTokenBytes
in interface GroupAssetsResponseOrBuilder
public GroupAssetsResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;
value
- The nextPageToken to set.public GroupAssetsResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;
public GroupAssetsResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;
value
- The bytes for nextPageToken to set.public int getTotalSize()
The total number of results matching the query.
int32 total_size = 4;
getTotalSize
in interface GroupAssetsResponseOrBuilder
public GroupAssetsResponse.Builder setTotalSize(int value)
The total number of results matching the query.
int32 total_size = 4;
value
- The totalSize to set.public GroupAssetsResponse.Builder clearTotalSize()
The total number of results matching the query.
int32 total_size = 4;
public final GroupAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
public final GroupAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GroupAssetsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.