Class IamPolicyAnalysisResult.Edge.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisResult.Edge.Builder>
com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder
All Implemented Interfaces:
IamPolicyAnalysisResult.EdgeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IamPolicyAnalysisResult.Edge

public static final class IamPolicyAnalysisResult.Edge.Builder extends com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisResult.Edge.Builder> implements IamPolicyAnalysisResult.EdgeOrBuilder
 A directional edge.
 
Protobuf type google.cloud.asset.v1.IamPolicyAnalysisResult.Edge
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisResult.Edge.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisResult.Edge.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisResult.Edge.Builder>
    • getDefaultInstanceForType

      public IamPolicyAnalysisResult.Edge getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public IamPolicyAnalysisResult.Edge buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public IamPolicyAnalysisResult.Edge.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisResult.Edge.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisResult.Edge.Builder>
    • mergeFrom

      public IamPolicyAnalysisResult.Edge.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisResult.Edge.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getSourceNode in interface IamPolicyAnalysisResult.EdgeOrBuilder
      Returns:
      The sourceNode.
    • getSourceNodeBytes

      public com.google.protobuf.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;
      Specified by:
      getSourceNodeBytes in interface IamPolicyAnalysisResult.EdgeOrBuilder
      Returns:
      The bytes for sourceNode.
    • setSourceNode

      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;
      Parameters:
      value - The sourceNode to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setSourceNodeBytes

      public IamPolicyAnalysisResult.Edge.Builder setSourceNodeBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for sourceNode to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getTargetNode in interface IamPolicyAnalysisResult.EdgeOrBuilder
      Returns:
      The targetNode.
    • getTargetNodeBytes

      public com.google.protobuf.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;
      Specified by:
      getTargetNodeBytes in interface IamPolicyAnalysisResult.EdgeOrBuilder
      Returns:
      The bytes for targetNode.
    • setTargetNode

      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;
      Parameters:
      value - The targetNode to set.
      Returns:
      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:
      This builder for chaining.
    • setTargetNodeBytes

      public IamPolicyAnalysisResult.Edge.Builder setTargetNodeBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for targetNode to set.
      Returns:
      This builder for chaining.