public static final class Resource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder> implements ResourceOrBuilder
Information related to the Google Cloud resource.Protobuf type
google.cloud.securitycenter.v1.Resource| Modifier and Type | Method and Description |
|---|---|
Resource.Builder |
addAllFolders(Iterable<? extends Folder> values)
Output only.
|
Resource.Builder |
addFolders(Folder.Builder builderForValue)
Output only.
|
Resource.Builder |
addFolders(Folder value)
Output only.
|
Resource.Builder |
addFolders(int index,
Folder.Builder builderForValue)
Output only.
|
Resource.Builder |
addFolders(int index,
Folder value)
Output only.
|
Folder.Builder |
addFoldersBuilder()
Output only.
|
Folder.Builder |
addFoldersBuilder(int index)
Output only.
|
Resource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Resource |
build() |
Resource |
buildPartial() |
Resource.Builder |
clear() |
Resource.Builder |
clearDisplayName()
The human readable name of the resource.
|
Resource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Resource.Builder |
clearFolders()
Output only.
|
Resource.Builder |
clearName()
The full resource name of the resource.
|
Resource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Resource.Builder |
clearParent()
The full resource name of resource's parent.
|
Resource.Builder |
clearParentDisplayName()
The human readable name of resource's parent.
|
Resource.Builder |
clearProject()
The full resource name of project that the resource belongs to.
|
Resource.Builder |
clearProjectDisplayName()
The project ID that the resource belongs to.
|
Resource.Builder |
clearType()
The full resource type of the resource.
|
Resource.Builder |
clone() |
Resource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The human readable name of the resource.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The human readable name of the resource.
|
Folder |
getFolders(int index)
Output only.
|
Folder.Builder |
getFoldersBuilder(int index)
Output only.
|
List<Folder.Builder> |
getFoldersBuilderList()
Output only.
|
int |
getFoldersCount()
Output only.
|
List<Folder> |
getFoldersList()
Output only.
|
FolderOrBuilder |
getFoldersOrBuilder(int index)
Output only.
|
List<? extends FolderOrBuilder> |
getFoldersOrBuilderList()
Output only.
|
String |
getName()
The full resource name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
The full resource name of the resource.
|
String |
getParent()
The full resource name of resource's parent.
|
com.google.protobuf.ByteString |
getParentBytes()
The full resource name of resource's parent.
|
String |
getParentDisplayName()
The human readable name of resource's parent.
|
com.google.protobuf.ByteString |
getParentDisplayNameBytes()
The human readable name of resource's parent.
|
String |
getProject()
The full resource name of project that the resource belongs to.
|
com.google.protobuf.ByteString |
getProjectBytes()
The full resource name of project that the resource belongs to.
|
String |
getProjectDisplayName()
The project ID that the resource belongs to.
|
com.google.protobuf.ByteString |
getProjectDisplayNameBytes()
The project ID that the resource belongs to.
|
String |
getType()
The full resource type of the resource.
|
com.google.protobuf.ByteString |
getTypeBytes()
The full resource type of the resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Resource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Resource.Builder |
mergeFrom(com.google.protobuf.Message other) |
Resource.Builder |
mergeFrom(Resource other) |
Resource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Resource.Builder |
removeFolders(int index)
Output only.
|
Resource.Builder |
setDisplayName(String value)
The human readable name of the resource.
|
Resource.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The human readable name of the resource.
|
Resource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Resource.Builder |
setFolders(int index,
Folder.Builder builderForValue)
Output only.
|
Resource.Builder |
setFolders(int index,
Folder value)
Output only.
|
Resource.Builder |
setName(String value)
The full resource name of the resource.
|
Resource.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The full resource name of the resource.
|
Resource.Builder |
setParent(String value)
The full resource name of resource's parent.
|
Resource.Builder |
setParentBytes(com.google.protobuf.ByteString value)
The full resource name of resource's parent.
|
Resource.Builder |
setParentDisplayName(String value)
The human readable name of resource's parent.
|
Resource.Builder |
setParentDisplayNameBytes(com.google.protobuf.ByteString value)
The human readable name of resource's parent.
|
Resource.Builder |
setProject(String value)
The full resource name of project that the resource belongs to.
|
Resource.Builder |
setProjectBytes(com.google.protobuf.ByteString value)
The full resource name of project that the resource belongs to.
|
Resource.Builder |
setProjectDisplayName(String value)
The project ID that the resource belongs to.
|
Resource.Builder |
setProjectDisplayNameBytes(com.google.protobuf.ByteString value)
The project ID that the resource belongs to.
|
Resource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Resource.Builder |
setType(String value)
The full resource type of the resource.
|
Resource.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
The full resource type of the resource.
|
Resource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public Resource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public Resource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Resource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Resource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Resource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public Resource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public Resource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public Resource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public Resource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public Resource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public Resource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Resource.Builder>public Resource.Builder mergeFrom(Resource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public Resource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Resource.Builder>IOExceptionpublic 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 ResourceOrBuilderpublic 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;getNameBytes in interface ResourceOrBuilderpublic 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 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 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;value - The bytes for name to set.public String getDisplayName()
The human readable name of the resource.
string display_name = 8;getDisplayName in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The human readable name of the resource.
string display_name = 8;getDisplayNameBytes in interface ResourceOrBuilderpublic Resource.Builder setDisplayName(String value)
The human readable name of the resource.
string display_name = 8;value - The displayName to set.public Resource.Builder clearDisplayName()
The human readable name of the resource.
string display_name = 8;public Resource.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The human readable name of the resource.
string display_name = 8;value - The bytes for displayName to set.public String getType()
The full resource type of the resource.
string type = 6;getType in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The full resource type of the resource.
string type = 6;getTypeBytes in interface ResourceOrBuilderpublic Resource.Builder setType(String value)
The full resource type of the resource.
string type = 6;value - The type to set.public Resource.Builder clearType()
The full resource type of the resource.
string type = 6;public Resource.Builder setTypeBytes(com.google.protobuf.ByteString value)
The full resource type of the resource.
string type = 6;value - The bytes for type to set.public String getProject()
The full resource name of project that the resource belongs to.
string project = 2;getProject in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getProjectBytes()
The full resource name of project that the resource belongs to.
string project = 2;getProjectBytes in interface ResourceOrBuilderpublic Resource.Builder setProject(String value)
The full resource name of project that the resource belongs to.
string project = 2;value - The project to set.public Resource.Builder clearProject()
The full resource name of project that the resource belongs to.
string project = 2;public Resource.Builder setProjectBytes(com.google.protobuf.ByteString value)
The full resource name of project that the resource belongs to.
string project = 2;value - The bytes for project to set.public String getProjectDisplayName()
The project ID that the resource belongs to.
string project_display_name = 3;getProjectDisplayName in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getProjectDisplayNameBytes()
The project ID that the resource belongs to.
string project_display_name = 3;getProjectDisplayNameBytes in interface ResourceOrBuilderpublic Resource.Builder setProjectDisplayName(String value)
The project ID that the resource belongs to.
string project_display_name = 3;value - The projectDisplayName to set.public Resource.Builder clearProjectDisplayName()
The project ID that the resource belongs to.
string project_display_name = 3;public Resource.Builder setProjectDisplayNameBytes(com.google.protobuf.ByteString value)
The project ID that the resource belongs to.
string project_display_name = 3;value - The bytes for projectDisplayName to set.public String getParent()
The full resource name of resource's parent.
string parent = 4;getParent in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
The full resource name of resource's parent.
string parent = 4;getParentBytes in interface ResourceOrBuilderpublic Resource.Builder setParent(String value)
The full resource name of resource's parent.
string parent = 4;value - The parent to set.public Resource.Builder clearParent()
The full resource name of resource's parent.
string parent = 4;public Resource.Builder setParentBytes(com.google.protobuf.ByteString value)
The full resource name of resource's parent.
string parent = 4;value - The bytes for parent to set.public String getParentDisplayName()
The human readable name of resource's parent.
string parent_display_name = 5;getParentDisplayName in interface ResourceOrBuilderpublic com.google.protobuf.ByteString getParentDisplayNameBytes()
The human readable name of resource's parent.
string parent_display_name = 5;getParentDisplayNameBytes in interface ResourceOrBuilderpublic Resource.Builder setParentDisplayName(String value)
The human readable name of resource's parent.
string parent_display_name = 5;value - The parentDisplayName to set.public Resource.Builder clearParentDisplayName()
The human readable name of resource's parent.
string parent_display_name = 5;public Resource.Builder setParentDisplayNameBytes(com.google.protobuf.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()
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFoldersList in interface ResourceOrBuilderpublic int getFoldersCount()
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFoldersCount in interface ResourceOrBuilderpublic Folder getFolders(int index)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFolders in interface ResourceOrBuilderpublic Resource.Builder setFolders(int index, Folder value)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Resource.Builder setFolders(int index, Folder.Builder builderForValue)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Resource.Builder addFolders(Folder value)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Resource.Builder addFolders(int index, Folder value)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Resource.Builder addFolders(Folder.Builder builderForValue)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Resource.Builder addFolders(int index, Folder.Builder builderForValue)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Resource.Builder addAllFolders(Iterable<? extends Folder> values)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Resource.Builder clearFolders()
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Resource.Builder removeFolders(int index)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Folder.Builder getFoldersBuilder(int index)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public FolderOrBuilder getFoldersOrBuilder(int index)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFoldersOrBuilder in interface ResourceOrBuilderpublic List<? extends FolderOrBuilder> getFoldersOrBuilderList()
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFoldersOrBuilderList in interface ResourceOrBuilderpublic Folder.Builder addFoldersBuilder()
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Folder.Builder addFoldersBuilder(int index)
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Folder.Builder> getFoldersBuilderList()
Output only. 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.v1.Folder folders = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Resource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>public final Resource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Resource.Builder>Copyright © 2024 Google LLC. All rights reserved.