- 2.61.0 (latest)
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class ResourcePath.ResourcePathNode.Builder extends GeneratedMessageV3.Builder<ResourcePath.ResourcePathNode.Builder> implements ResourcePath.ResourcePathNodeOrBuilder
A node within the resource path. Each node represents a resource within the resource hierarchy.
Protobuf type google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourcePath.ResourcePathNode.BuilderImplements
ResourcePath.ResourcePathNodeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePath.ResourcePathNode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
build()
public ResourcePath.ResourcePathNode build()
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode |
buildPartial()
public ResourcePath.ResourcePathNode buildPartial()
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode |
clear()
public ResourcePath.ResourcePathNode.Builder clear()
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
clearDisplayName()
public ResourcePath.ResourcePathNode.Builder clearDisplayName()
The display name of the resource this node represents.
string display_name = 3;
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourcePath.ResourcePathNode.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
clearId()
public ResourcePath.ResourcePathNode.Builder clearId()
The ID of the resource this node represents.
string id = 2;
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
This builder for chaining. |
clearNodeType()
public ResourcePath.ResourcePathNode.Builder clearNodeType()
The type of resource this node represents.
.google.cloud.securitycenter.v2.ResourcePath.ResourcePathNodeType node_type = 1;
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePath.ResourcePathNode.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
clone()
public ResourcePath.ResourcePathNode.Builder clone()
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
getDefaultInstanceForType()
public ResourcePath.ResourcePathNode getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The display name of the resource this node represents.
string display_name = 3;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of the resource this node represents.
string display_name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getId()
public String getId()
The ID of the resource this node represents.
string id = 2;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()
The ID of the resource this node represents.
string id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getNodeType()
public ResourcePath.ResourcePathNodeType getNodeType()
The type of resource this node represents.
.google.cloud.securitycenter.v2.ResourcePath.ResourcePathNodeType node_type = 1;
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNodeType |
The nodeType. |
getNodeTypeValue()
public int getNodeTypeValue()
The type of resource this node represents.
.google.cloud.securitycenter.v2.ResourcePath.ResourcePathNodeType node_type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for nodeType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ResourcePath.ResourcePathNode other)
public ResourcePath.ResourcePathNode.Builder mergeFrom(ResourcePath.ResourcePathNode other)
Parameter | |
---|---|
Name | Description |
other |
ResourcePath.ResourcePathNode |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourcePath.ResourcePathNode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourcePath.ResourcePathNode.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePath.ResourcePathNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
setDisplayName(String value)
public ResourcePath.ResourcePathNode.Builder setDisplayName(String value)
The display name of the resource this node represents.
string display_name = 3;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ResourcePath.ResourcePathNode.Builder setDisplayNameBytes(ByteString value)
The display name of the resource this node represents.
string display_name = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePath.ResourcePathNode.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
setId(String value)
public ResourcePath.ResourcePathNode.Builder setId(String value)
The ID of the resource this node represents.
string id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public ResourcePath.ResourcePathNode.Builder setIdBytes(ByteString value)
The ID of the resource this node represents.
string id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
This builder for chaining. |
setNodeType(ResourcePath.ResourcePathNodeType value)
public ResourcePath.ResourcePathNode.Builder setNodeType(ResourcePath.ResourcePathNodeType value)
The type of resource this node represents.
.google.cloud.securitycenter.v2.ResourcePath.ResourcePathNodeType node_type = 1;
Parameter | |
---|---|
Name | Description |
value |
ResourcePath.ResourcePathNodeType The nodeType to set. |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
This builder for chaining. |
setNodeTypeValue(int value)
public ResourcePath.ResourcePathNode.Builder setNodeTypeValue(int value)
The type of resource this node represents.
.google.cloud.securitycenter.v2.ResourcePath.ResourcePathNodeType node_type = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for nodeType to set. |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePath.ResourcePathNode.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePath.ResourcePathNode.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourcePath.ResourcePathNode.Builder |