Class IamPolicyAnalysisResult.Edge.Builder (3.7.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.Edge.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder
Overrides

build()

public IamPolicyAnalysisResult.Edge build()
Returns
TypeDescription
IamPolicyAnalysisResult.Edge

buildPartial()

public IamPolicyAnalysisResult.Edge buildPartial()
Returns
TypeDescription
IamPolicyAnalysisResult.Edge

clear()

public IamPolicyAnalysisResult.Edge.Builder clear()
Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisResult.Edge.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisResult.Edge.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IamPolicyAnalysisResult.Edge.Builder

This builder for chaining.

clone()

public IamPolicyAnalysisResult.Edge.Builder clone()
Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder
Overrides

getDefaultInstanceForType()

public IamPolicyAnalysisResult.Edge getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisResult.Edge

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for targetNode.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IamPolicyAnalysisResult.Edge other)

public IamPolicyAnalysisResult.Edge.Builder mergeFrom(IamPolicyAnalysisResult.Edge other)
Parameter
NameDescription
otherIamPolicyAnalysisResult.Edge
Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisResult.Edge.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IamPolicyAnalysisResult.Edge.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Edge.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.Edge.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sourceNode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sourceNode to set.

Returns
TypeDescription
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
NameDescription
valueString

The targetNode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for targetNode to set.

Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Edge.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IamPolicyAnalysisResult.Edge.Builder
Overrides