Class IamPolicyAnalysisState.Builder

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

public static final class IamPolicyAnalysisState.Builder extends com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisState.Builder> implements IamPolicyAnalysisStateOrBuilder
 Represents the detailed state of an entity under analysis, such as a
 resource, an identity or an access.
 
Protobuf type google.cloud.asset.v1.IamPolicyAnalysisState
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The human-readable description of the cause of failure.
    The Google standard error code that best describes the state.
    The human-readable description of the cause of failure.
    com.google.protobuf.ByteString
    The human-readable description of the cause of failure.
    The Google standard error code that best describes the state.
    int
    The Google standard error code that best describes the state.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The human-readable description of the cause of failure.
    setCauseBytes(com.google.protobuf.ByteString value)
    The human-readable description of the cause of failure.
    setCode(Code value)
    The Google standard error code that best describes the state.
    setCodeValue(int value)
    The Google standard error code that best describes the state.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<IamPolicyAnalysisState.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<IamPolicyAnalysisState.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<IamPolicyAnalysisState.Builder>
    • getDefaultInstanceForType

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

      public IamPolicyAnalysisState build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public IamPolicyAnalysisState.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<IamPolicyAnalysisState.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<IamPolicyAnalysisState.Builder>
    • mergeFrom

      public IamPolicyAnalysisState.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<IamPolicyAnalysisState.Builder>
      Throws:
      IOException
    • getCodeValue

      public int getCodeValue()
       The Google standard error code that best describes the state.
       For example:
       - OK means the analysis on this entity has been successfully finished;
       - PERMISSION_DENIED means an access denied error is encountered;
       - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started
       in time;
       
      .google.rpc.Code code = 1;
      Specified by:
      getCodeValue in interface IamPolicyAnalysisStateOrBuilder
      Returns:
      The enum numeric value on the wire for code.
    • setCodeValue

      public IamPolicyAnalysisState.Builder setCodeValue(int value)
       The Google standard error code that best describes the state.
       For example:
       - OK means the analysis on this entity has been successfully finished;
       - PERMISSION_DENIED means an access denied error is encountered;
       - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started
       in time;
       
      .google.rpc.Code code = 1;
      Parameters:
      value - The enum numeric value on the wire for code to set.
      Returns:
      This builder for chaining.
    • getCode

      public Code getCode()
       The Google standard error code that best describes the state.
       For example:
       - OK means the analysis on this entity has been successfully finished;
       - PERMISSION_DENIED means an access denied error is encountered;
       - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started
       in time;
       
      .google.rpc.Code code = 1;
      Specified by:
      getCode in interface IamPolicyAnalysisStateOrBuilder
      Returns:
      The code.
    • setCode

      public IamPolicyAnalysisState.Builder setCode(Code value)
       The Google standard error code that best describes the state.
       For example:
       - OK means the analysis on this entity has been successfully finished;
       - PERMISSION_DENIED means an access denied error is encountered;
       - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started
       in time;
       
      .google.rpc.Code code = 1;
      Parameters:
      value - The code to set.
      Returns:
      This builder for chaining.
    • clearCode

      public IamPolicyAnalysisState.Builder clearCode()
       The Google standard error code that best describes the state.
       For example:
       - OK means the analysis on this entity has been successfully finished;
       - PERMISSION_DENIED means an access denied error is encountered;
       - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started
       in time;
       
      .google.rpc.Code code = 1;
      Returns:
      This builder for chaining.
    • getCause

      public String getCause()
       The human-readable description of the cause of failure.
       
      string cause = 2;
      Specified by:
      getCause in interface IamPolicyAnalysisStateOrBuilder
      Returns:
      The cause.
    • getCauseBytes

      public com.google.protobuf.ByteString getCauseBytes()
       The human-readable description of the cause of failure.
       
      string cause = 2;
      Specified by:
      getCauseBytes in interface IamPolicyAnalysisStateOrBuilder
      Returns:
      The bytes for cause.
    • setCause

      public IamPolicyAnalysisState.Builder setCause(String value)
       The human-readable description of the cause of failure.
       
      string cause = 2;
      Parameters:
      value - The cause to set.
      Returns:
      This builder for chaining.
    • clearCause

      public IamPolicyAnalysisState.Builder clearCause()
       The human-readable description of the cause of failure.
       
      string cause = 2;
      Returns:
      This builder for chaining.
    • setCauseBytes

      public IamPolicyAnalysisState.Builder setCauseBytes(com.google.protobuf.ByteString value)
       The human-readable description of the cause of failure.
       
      string cause = 2;
      Parameters:
      value - The bytes for cause to set.
      Returns:
      This builder for chaining.