public static final class ListFindingsResponse.ListFindingsResult.Resource.Builder extends GeneratedMessageV3.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
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()
public ListFindingsResponse.ListFindingsResult.Resource.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public ListFindingsResponse.ListFindingsResult.Resource getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListFindingsResponse.ListFindingsResult.Resource build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListFindingsResponse.ListFindingsResult.Resource buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListFindingsResponse.ListFindingsResult.Resource.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public ListFindingsResponse.ListFindingsResult.Resource.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public ListFindingsResponse.ListFindingsResult.Resource.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public ListFindingsResponse.ListFindingsResult.Resource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public ListFindingsResponse.ListFindingsResult.Resource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public ListFindingsResponse.ListFindingsResult.Resource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public ListFindingsResponse.ListFindingsResult.Resource.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public ListFindingsResponse.ListFindingsResult.Resource.Builder mergeFrom(ListFindingsResponse.ListFindingsResult.Resource other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public ListFindingsResponse.ListFindingsResult.Resource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
IOException
public String getName()
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;
getName
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ByteString getNameBytes()
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;
getNameBytes
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ListFindingsResponse.ListFindingsResult.Resource.Builder setName(String value)
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;
value
- The name to set.public ListFindingsResponse.ListFindingsResult.Resource.Builder clearName()
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;
public ListFindingsResponse.ListFindingsResult.Resource.Builder setNameBytes(ByteString value)
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string name = 1;
value
- The bytes for name to set.public String getProjectName()
The full resource name of project that the resource belongs to.
string project_name = 2;
getProjectName
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ByteString getProjectNameBytes()
The full resource name of project that the resource belongs to.
string project_name = 2;
getProjectNameBytes
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ListFindingsResponse.ListFindingsResult.Resource.Builder setProjectName(String value)
The full resource name of project that the resource belongs to.
string project_name = 2;
value
- The projectName to set.public ListFindingsResponse.ListFindingsResult.Resource.Builder clearProjectName()
The full resource name of project that the resource belongs to.
string project_name = 2;
public ListFindingsResponse.ListFindingsResult.Resource.Builder setProjectNameBytes(ByteString value)
The full resource name of project that the resource belongs to.
string project_name = 2;
value
- The bytes for projectName to set.public String getProjectDisplayName()
The human readable name of project that the resource belongs to.
string project_display_name = 3;
getProjectDisplayName
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ByteString getProjectDisplayNameBytes()
The human readable name of project that the resource belongs to.
string project_display_name = 3;
getProjectDisplayNameBytes
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ListFindingsResponse.ListFindingsResult.Resource.Builder setProjectDisplayName(String value)
The human readable name of project that the resource belongs to.
string project_display_name = 3;
value
- The projectDisplayName to set.public ListFindingsResponse.ListFindingsResult.Resource.Builder clearProjectDisplayName()
The human readable name of project that the resource belongs to.
string project_display_name = 3;
public ListFindingsResponse.ListFindingsResult.Resource.Builder setProjectDisplayNameBytes(ByteString value)
The human readable name of project that the resource belongs to.
string project_display_name = 3;
value
- The bytes for projectDisplayName to set.public String getParentName()
The full resource name of resource's parent.
string parent_name = 4;
getParentName
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ByteString getParentNameBytes()
The full resource name of resource's parent.
string parent_name = 4;
getParentNameBytes
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ListFindingsResponse.ListFindingsResult.Resource.Builder setParentName(String value)
The full resource name of resource's parent.
string parent_name = 4;
value
- The parentName to set.public ListFindingsResponse.ListFindingsResult.Resource.Builder clearParentName()
The full resource name of resource's parent.
string parent_name = 4;
public ListFindingsResponse.ListFindingsResult.Resource.Builder setParentNameBytes(ByteString value)
The full resource name of resource's parent.
string parent_name = 4;
value
- The bytes for parentName to set.public String getParentDisplayName()
The human readable name of resource's parent.
string parent_display_name = 5;
getParentDisplayName
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ByteString getParentDisplayNameBytes()
The human readable name of resource's parent.
string parent_display_name = 5;
getParentDisplayNameBytes
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ListFindingsResponse.ListFindingsResult.Resource.Builder setParentDisplayName(String value)
The human readable name of resource's parent.
string parent_display_name = 5;
value
- The parentDisplayName to set.public ListFindingsResponse.ListFindingsResult.Resource.Builder clearParentDisplayName()
The human readable name of resource's parent.
string parent_display_name = 5;
public ListFindingsResponse.ListFindingsResult.Resource.Builder setParentDisplayNameBytes(ByteString value)
The human readable name of resource's parent.
string parent_display_name = 5;
value
- The bytes for parentDisplayName to set.public List<Folder> 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;
getFoldersList
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
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;
getFoldersCount
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public Folder getFolders(int index)
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;
getFolders
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public ListFindingsResponse.ListFindingsResult.Resource.Builder setFolders(int index, Folder value)
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;
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;
public ListFindingsResponse.ListFindingsResult.Resource.Builder addFolders(Folder value)
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;
public ListFindingsResponse.ListFindingsResult.Resource.Builder addFolders(int index, Folder value)
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;
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;
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;
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;
public ListFindingsResponse.ListFindingsResult.Resource.Builder 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;
public ListFindingsResponse.ListFindingsResult.Resource.Builder removeFolders(int index)
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;
public Folder.Builder getFoldersBuilder(int index)
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;
public FolderOrBuilder getFoldersOrBuilder(int index)
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
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public List<? extends FolderOrBuilder> 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;
getFoldersOrBuilderList
in interface ListFindingsResponse.ListFindingsResult.ResourceOrBuilder
public Folder.Builder 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;
public Folder.Builder addFoldersBuilder(int index)
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;
public List<Folder.Builder> 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;
public final ListFindingsResponse.ListFindingsResult.Resource.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
public final ListFindingsResponse.ListFindingsResult.Resource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListFindingsResponse.ListFindingsResult.Resource.Builder>
Copyright © 2022 Google LLC. All rights reserved.