Class IamPolicyAnalysisResult.Edge.Builder (3.87.0)

public static final class IamPolicyAnalysisResult.Edge.Builder extends GeneratedMessage.Builder<IamPolicyAnalysisResult.Edge.Builder> implements IamPolicyAnalysisResult.EdgeOrBuilder

A directional edge.

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisResult.Edge

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public IamPolicyAnalysisResult.Edge build()
Returns
Type Description
IamPolicyAnalysisResult.Edge

buildPartial()

public IamPolicyAnalysisResult.Edge buildPartial()
Returns
Type Description
IamPolicyAnalysisResult.Edge

clear()

public IamPolicyAnalysisResult.Edge.Builder clear()
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder
Overrides

clearSourceNode()

public IamPolicyAnalysisResult.Edge.Builder clearSourceNode()

The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string source_node = 1;

Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

This builder for chaining.

clearTargetNode()

public IamPolicyAnalysisResult.Edge.Builder clearTargetNode()

The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string target_node = 2;

Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

This builder for chaining.

getDefaultInstanceForType()

public IamPolicyAnalysisResult.Edge getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisResult.Edge

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSourceNode()

public String getSourceNode()

The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string source_node = 1;

Returns
Type Description
String

The sourceNode.

getSourceNodeBytes()

public ByteString getSourceNodeBytes()

The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string source_node = 1;

Returns
Type Description
ByteString

The bytes for sourceNode.

getTargetNode()

public String getTargetNode()

The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string target_node = 2;

Returns
Type Description
String

The targetNode.

getTargetNodeBytes()

public ByteString getTargetNodeBytes()

The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string target_node = 2;

Returns
Type Description
ByteString

The bytes for targetNode.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IamPolicyAnalysisResult.Edge other)

public IamPolicyAnalysisResult.Edge.Builder mergeFrom(IamPolicyAnalysisResult.Edge other)
Parameter
Name Description
other IamPolicyAnalysisResult.Edge
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisResult.Edge.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IamPolicyAnalysisResult.Edge.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder
Overrides

setSourceNode(String value)

public IamPolicyAnalysisResult.Edge.Builder setSourceNode(String value)

The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string source_node = 1;

Parameter
Name Description
value String

The sourceNode to set.

Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

This builder for chaining.

setSourceNodeBytes(ByteString value)

public IamPolicyAnalysisResult.Edge.Builder setSourceNodeBytes(ByteString value)

The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string source_node = 1;

Parameter
Name Description
value ByteString

The bytes for sourceNode to set.

Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

This builder for chaining.

setTargetNode(String value)

public IamPolicyAnalysisResult.Edge.Builder setTargetNode(String value)

The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string target_node = 2;

Parameter
Name Description
value String

The targetNode to set.

Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

This builder for chaining.

setTargetNodeBytes(ByteString value)

public IamPolicyAnalysisResult.Edge.Builder setTargetNodeBytes(ByteString value)

The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

string target_node = 2;

Parameter
Name Description
value ByteString

The bytes for targetNode to set.

Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

This builder for chaining.