Class ListFindingsResponse.ListFindingsResult.Resource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource.Builder
- All Implemented Interfaces:
ListFindingsResponse.ListFindingsResult.ResourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListFindingsResponse.ListFindingsResult.Resource
public static final class ListFindingsResponse.ListFindingsResult.Resource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
implements ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
Information related to the Google Cloud resource that is associated with this finding.Protobuf type
google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource-
Method Summary
Modifier and TypeMethodDescriptionaddAllFolders(Iterable<? extends Folder> values) Contains a Folder message for each folder in the assets ancestry.addFolders(int index, Folder value) Contains a Folder message for each folder in the assets ancestry.addFolders(int index, Folder.Builder builderForValue) Contains a Folder message for each folder in the assets ancestry.addFolders(Folder value) Contains a Folder message for each folder in the assets ancestry.addFolders(Folder.Builder builderForValue) Contains a Folder message for each folder in the assets ancestry.Contains a Folder message for each folder in the assets ancestry.addFoldersBuilder(int index) Contains a Folder message for each folder in the assets ancestry.build()clear()Contains a Folder message for each folder in the assets ancestry.The full resource name of the resource.The human readable name of resource's parent.The full resource name of resource's parent.The human readable name of project that the resource belongs to.The full resource name of project that the resource belongs to.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFolders(int index) Contains a Folder message for each folder in the assets ancestry.getFoldersBuilder(int index) Contains a Folder message for each folder in the assets ancestry.Contains a Folder message for each folder in the assets ancestry.intContains a Folder message for each folder in the assets ancestry.Contains a Folder message for each folder in the assets ancestry.getFoldersOrBuilder(int index) Contains a Folder message for each folder in the assets ancestry.List<? extends FolderOrBuilder>Contains a Folder message for each folder in the assets ancestry.getName()The full resource name of the resource.com.google.protobuf.ByteStringThe full resource name of the resource.The human readable name of resource's parent.com.google.protobuf.ByteStringThe human readable name of resource's parent.The full resource name of resource's parent.com.google.protobuf.ByteStringThe full resource name of resource's parent.The human readable name of project that the resource belongs to.com.google.protobuf.ByteStringThe human readable name of project that the resource belongs to.The full resource name of project that the resource belongs to.com.google.protobuf.ByteStringThe full resource name of project that the resource belongs to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFolders(int index) Contains a Folder message for each folder in the assets ancestry.setFolders(int index, Folder value) Contains a Folder message for each folder in the assets ancestry.setFolders(int index, Folder.Builder builderForValue) Contains a Folder message for each folder in the assets ancestry.The full resource name of the resource.setNameBytes(com.google.protobuf.ByteString value) The full resource name of the resource.setParentDisplayName(String value) The human readable name of resource's parent.setParentDisplayNameBytes(com.google.protobuf.ByteString value) The human readable name of resource's parent.setParentName(String value) The full resource name of resource's parent.setParentNameBytes(com.google.protobuf.ByteString value) The full resource name of resource's parent.setProjectDisplayName(String value) The human readable name of project that the resource belongs to.setProjectDisplayNameBytes(com.google.protobuf.ByteString value) The human readable name of project that the resource belongs to.setProjectName(String value) The full resource name of project that the resource belongs to.setProjectNameBytes(com.google.protobuf.ByteString value) The full resource name of project that the resource belongs to.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<ListFindingsResponse.ListFindingsResult.Resource.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<ListFindingsResponse.ListFindingsResult.Resource.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<ListFindingsResponse.ListFindingsResult.Resource.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
public ListFindingsResponse.ListFindingsResult.Resource.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
-
mergeFrom
public ListFindingsResponse.ListFindingsResult.Resource.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<ListFindingsResponse.ListFindingsResult.Resource.Builder>- Throws:
IOException
-
getName
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;- Specified by:
getNamein interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;- Specified by:
getNameBytesin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The bytes for name.
-
setName
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public ListFindingsResponse.ListFindingsResult.Resource.Builder setNameBytes(com.google.protobuf.ByteString value) The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getProjectName
The full resource name of project that the resource belongs to.
string project_name = 2;- Specified by:
getProjectNamein interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The projectName.
-
getProjectNameBytes
public com.google.protobuf.ByteString getProjectNameBytes()The full resource name of project that the resource belongs to.
string project_name = 2;- Specified by:
getProjectNameBytesin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The bytes for projectName.
-
setProjectName
The full resource name of project that the resource belongs to.
string project_name = 2;- Parameters:
value- The projectName to set.- Returns:
- This builder for chaining.
-
clearProjectName
The full resource name of project that the resource belongs to.
string project_name = 2;- Returns:
- This builder for chaining.
-
setProjectNameBytes
public ListFindingsResponse.ListFindingsResult.Resource.Builder setProjectNameBytes(com.google.protobuf.ByteString value) The full resource name of project that the resource belongs to.
string project_name = 2;- Parameters:
value- The bytes for projectName to set.- Returns:
- This builder for chaining.
-
getProjectDisplayName
The human readable name of project that the resource belongs to.
string project_display_name = 3;- Specified by:
getProjectDisplayNamein interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The projectDisplayName.
-
getProjectDisplayNameBytes
public com.google.protobuf.ByteString getProjectDisplayNameBytes()The human readable name of project that the resource belongs to.
string project_display_name = 3;- Specified by:
getProjectDisplayNameBytesin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The bytes for projectDisplayName.
-
setProjectDisplayName
The human readable name of project that the resource belongs to.
string project_display_name = 3;- Parameters:
value- The projectDisplayName to set.- Returns:
- This builder for chaining.
-
clearProjectDisplayName
The human readable name of project that the resource belongs to.
string project_display_name = 3;- Returns:
- This builder for chaining.
-
setProjectDisplayNameBytes
public ListFindingsResponse.ListFindingsResult.Resource.Builder setProjectDisplayNameBytes(com.google.protobuf.ByteString value) The human readable name of project that the resource belongs to.
string project_display_name = 3;- Parameters:
value- The bytes for projectDisplayName to set.- Returns:
- This builder for chaining.
-
getParentName
The full resource name of resource's parent.
string parent_name = 4;- Specified by:
getParentNamein interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The parentName.
-
getParentNameBytes
public com.google.protobuf.ByteString getParentNameBytes()The full resource name of resource's parent.
string parent_name = 4;- Specified by:
getParentNameBytesin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The bytes for parentName.
-
setParentName
The full resource name of resource's parent.
string parent_name = 4;- Parameters:
value- The parentName to set.- Returns:
- This builder for chaining.
-
clearParentName
The full resource name of resource's parent.
string parent_name = 4;- Returns:
- This builder for chaining.
-
setParentNameBytes
public ListFindingsResponse.ListFindingsResult.Resource.Builder setParentNameBytes(com.google.protobuf.ByteString value) The full resource name of resource's parent.
string parent_name = 4;- Parameters:
value- The bytes for parentName to set.- Returns:
- This builder for chaining.
-
getParentDisplayName
The human readable name of resource's parent.
string parent_display_name = 5;- Specified by:
getParentDisplayNamein interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The parentDisplayName.
-
getParentDisplayNameBytes
public com.google.protobuf.ByteString getParentDisplayNameBytes()The human readable name of resource's parent.
string parent_display_name = 5;- Specified by:
getParentDisplayNameBytesin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder- Returns:
- The bytes for parentDisplayName.
-
setParentDisplayName
The human readable name of resource's parent.
string parent_display_name = 5;- Parameters:
value- The parentDisplayName to set.- Returns:
- This builder for chaining.
-
clearParentDisplayName
The human readable name of resource's parent.
string parent_display_name = 5;- Returns:
- This builder for chaining.
-
setParentDisplayNameBytes
public ListFindingsResponse.ListFindingsResult.Resource.Builder setParentDisplayNameBytes(com.google.protobuf.ByteString value) The human readable name of resource's parent.
string parent_display_name = 5;- Parameters:
value- The bytes for parentDisplayName to set.- Returns:
- This builder for chaining.
-
getFoldersList
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;- Specified by:
getFoldersListin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder
-
getFoldersCount
public int getFoldersCount()Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;- Specified by:
getFoldersCountin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder
-
getFolders
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;- Specified by:
getFoldersin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder
-
setFolders
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
setFolders
public ListFindingsResponse.ListFindingsResult.Resource.Builder setFolders(int index, Folder.Builder builderForValue) Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
addFolders
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
addFolders
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
addFolders
public ListFindingsResponse.ListFindingsResult.Resource.Builder addFolders(Folder.Builder builderForValue) Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
addFolders
public ListFindingsResponse.ListFindingsResult.Resource.Builder addFolders(int index, Folder.Builder builderForValue) Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
addAllFolders
public ListFindingsResponse.ListFindingsResult.Resource.Builder addAllFolders(Iterable<? extends Folder> values) Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
clearFolders
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
removeFolders
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
getFoldersBuilder
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
getFoldersOrBuilder
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;- Specified by:
getFoldersOrBuilderin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder
-
getFoldersOrBuilderList
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;- Specified by:
getFoldersOrBuilderListin interfaceListFindingsResponse.ListFindingsResult.ResourceOrBuilder
-
addFoldersBuilder
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
addFoldersBuilder
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10; -
getFoldersBuilderList
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;
-