public static final class ResourcePath.Builder extends GeneratedMessageV3.Builder<ResourcePath.Builder> implements ResourcePathOrBuilder
Represents the path of resources leading up to the resource this finding is
about.
Protobuf type google.cloud.securitycenter.v2.ResourcePath
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNodes(Iterable<? extends ResourcePath.ResourcePathNode> values)
public ResourcePath.Builder addAllNodes(Iterable<? extends ResourcePath.ResourcePathNode> values)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode>
|
addNodes(ResourcePath.ResourcePathNode value)
public ResourcePath.Builder addNodes(ResourcePath.ResourcePathNode value)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
addNodes(ResourcePath.ResourcePathNode.Builder builderForValue)
public ResourcePath.Builder addNodes(ResourcePath.ResourcePathNode.Builder builderForValue)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
addNodes(int index, ResourcePath.ResourcePathNode value)
public ResourcePath.Builder addNodes(int index, ResourcePath.ResourcePathNode value)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
addNodes(int index, ResourcePath.ResourcePathNode.Builder builderForValue)
public ResourcePath.Builder addNodes(int index, ResourcePath.ResourcePathNode.Builder builderForValue)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
addNodesBuilder()
public ResourcePath.ResourcePathNode.Builder addNodesBuilder()
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
addNodesBuilder(int index)
public ResourcePath.ResourcePathNode.Builder addNodesBuilder(int index)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePath.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResourcePath build()
buildPartial()
public ResourcePath buildPartial()
clear()
public ResourcePath.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResourcePath.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNodes()
public ResourcePath.Builder clearNodes()
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePath.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ResourcePath.Builder clone()
Overrides
getDefaultInstanceForType()
public ResourcePath getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNodes(int index)
public ResourcePath.ResourcePathNode getNodes(int index)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
Parameter |
Name |
Description |
index |
int
|
getNodesBuilder(int index)
public ResourcePath.ResourcePathNode.Builder getNodesBuilder(int index)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
Parameter |
Name |
Description |
index |
int
|
getNodesBuilderList()
public List<ResourcePath.ResourcePathNode.Builder> getNodesBuilderList()
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
getNodesCount()
public int getNodesCount()
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
Returns |
Type |
Description |
int |
|
getNodesList()
public List<ResourcePath.ResourcePathNode> getNodesList()
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
getNodesOrBuilder(int index)
public ResourcePath.ResourcePathNodeOrBuilder getNodesOrBuilder(int index)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
Parameter |
Name |
Description |
index |
int
|
getNodesOrBuilderList()
public List<? extends ResourcePath.ResourcePathNodeOrBuilder> getNodesOrBuilderList()
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.securitycenter.v2.ResourcePath.ResourcePathNodeOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResourcePath other)
public ResourcePath.Builder mergeFrom(ResourcePath other)
public ResourcePath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourcePath.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePath.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNodes(int index)
public ResourcePath.Builder removeNodes(int index)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePath.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNodes(int index, ResourcePath.ResourcePathNode value)
public ResourcePath.Builder setNodes(int index, ResourcePath.ResourcePathNode value)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
setNodes(int index, ResourcePath.ResourcePathNode.Builder builderForValue)
public ResourcePath.Builder setNodes(int index, ResourcePath.ResourcePathNode.Builder builderForValue)
The list of nodes that make the up resource path, ordered from lowest
level to highest level.
repeated .google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode nodes = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePath.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePath.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides