Class IamPolicyAnalysisResult.Edge.Builder (3.19.0)

public static final class IamPolicyAnalysisResult.Edge.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.Edge.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisResult.Edge.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisResult.Edge.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Edge.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.Edge.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IamPolicyAnalysisResult.Edge.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Edge.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder
Overrides