Class GroupAssetsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GroupAssetsResponse.Builder>
com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse.Builder
- All Implemented Interfaces:
GroupAssetsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GroupAssetsResponse
public static final class GroupAssetsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GroupAssetsResponse.Builder>
implements GroupAssetsResponseOrBuilder
Response message for grouping by assets.Protobuf type
google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllGroupByResults(Iterable<? extends GroupResult> values) Group results.addGroupByResults(int index, GroupResult value) Group results.addGroupByResults(int index, GroupResult.Builder builderForValue) Group results.addGroupByResults(GroupResult value) Group results.addGroupByResults(GroupResult.Builder builderForValue) Group results.Group results.addGroupByResultsBuilder(int index) Group results.build()clear()Group results.Token to retrieve the next page of results, or empty if there are no more results.Time used for executing the groupBy request.The total number of results matching the query.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGroupByResults(int index) Group results.getGroupByResultsBuilder(int index) Group results.Group results.intGroup results.Group results.getGroupByResultsOrBuilder(int index) Group results.List<? extends GroupResultOrBuilder>Group results.Token to retrieve the next page of results, or empty if there are no more results.com.google.protobuf.ByteStringToken to retrieve the next page of results, or empty if there are no more results.com.google.protobuf.TimestampTime used for executing the groupBy request.com.google.protobuf.Timestamp.BuilderTime used for executing the groupBy request.com.google.protobuf.TimestampOrBuilderTime used for executing the groupBy request.intThe total number of results matching the query.booleanTime used for executing the groupBy request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GroupAssetsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeReadTime(com.google.protobuf.Timestamp value) Time used for executing the groupBy request.removeGroupByResults(int index) Group results.setGroupByResults(int index, GroupResult value) Group results.setGroupByResults(int index, GroupResult.Builder builderForValue) Group results.setNextPageToken(String value) Token to retrieve the next page of results, or empty if there are no more results.setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to retrieve the next page of results, or empty if there are no more results.setReadTime(com.google.protobuf.Timestamp value) Time used for executing the groupBy request.setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) Time used for executing the groupBy request.setTotalSize(int value) The total number of results matching the query.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GroupAssetsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GroupAssetsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GroupAssetsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GroupAssetsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GroupAssetsResponse.Builder>
-
mergeFrom
public GroupAssetsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GroupAssetsResponse.Builder>- Throws:
IOException
-
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.v1p1beta1.GroupResult group_by_results = 1;- Specified by:
getGroupByResultsListin interfaceGroupAssetsResponseOrBuilder
-
getGroupByResultsCount
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.v1p1beta1.GroupResult group_by_results = 1;- Specified by:
getGroupByResultsCountin interfaceGroupAssetsResponseOrBuilder
-
getGroupByResults
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.v1p1beta1.GroupResult group_by_results = 1;- Specified by:
getGroupByResultsin interfaceGroupAssetsResponseOrBuilder
-
setGroupByResults
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.v1p1beta1.GroupResult group_by_results = 1; -
setGroupByResults
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.v1p1beta1.GroupResult group_by_results = 1; -
addGroupByResults
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.v1p1beta1.GroupResult group_by_results = 1; -
addGroupByResults
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.v1p1beta1.GroupResult group_by_results = 1; -
addGroupByResults
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.v1p1beta1.GroupResult group_by_results = 1; -
addGroupByResults
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.v1p1beta1.GroupResult group_by_results = 1; -
addAllGroupByResults
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.v1p1beta1.GroupResult group_by_results = 1; -
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.v1p1beta1.GroupResult group_by_results = 1; -
removeGroupByResults
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.v1p1beta1.GroupResult group_by_results = 1; -
getGroupByResultsBuilder
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.v1p1beta1.GroupResult group_by_results = 1; -
getGroupByResultsOrBuilder
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.v1p1beta1.GroupResult group_by_results = 1;- Specified by:
getGroupByResultsOrBuilderin interfaceGroupAssetsResponseOrBuilder
-
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.v1p1beta1.GroupResult group_by_results = 1;- Specified by:
getGroupByResultsOrBuilderListin interfaceGroupAssetsResponseOrBuilder
-
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.v1p1beta1.GroupResult group_by_results = 1; -
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.v1p1beta1.GroupResult group_by_results = 1; -
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.v1p1beta1.GroupResult group_by_results = 1; -
hasReadTime
public boolean hasReadTime()Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;- Specified by:
hasReadTimein interfaceGroupAssetsResponseOrBuilder- Returns:
- Whether the readTime field is set.
-
getReadTime
public com.google.protobuf.Timestamp getReadTime()Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;- Specified by:
getReadTimein interfaceGroupAssetsResponseOrBuilder- Returns:
- The readTime.
-
setReadTime
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2; -
setReadTime
public GroupAssetsResponse.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2; -
mergeReadTime
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2; -
clearReadTime
Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2; -
getReadTimeBuilder
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2; -
getReadTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()Time used for executing the groupBy request.
.google.protobuf.Timestamp read_time = 2;- Specified by:
getReadTimeOrBuilderin interfaceGroupAssetsResponseOrBuilder
-
getNextPageToken
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Specified by:
getNextPageTokenin interfaceGroupAssetsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Specified by:
getNextPageTokenBytesin interfaceGroupAssetsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getTotalSize
public int getTotalSize()The total number of results matching the query.
int32 total_size = 4;- Specified by:
getTotalSizein interfaceGroupAssetsResponseOrBuilder- Returns:
- The totalSize.
-
setTotalSize
The total number of results matching the query.
int32 total_size = 4;- Parameters:
value- The totalSize to set.- Returns:
- This builder for chaining.
-
clearTotalSize
The total number of results matching the query.
int32 total_size = 4;- Returns:
- This builder for chaining.
-