Class TroubleshootIamPolicyRequest.Builder

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

public static final class TroubleshootIamPolicyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<TroubleshootIamPolicyRequest.Builder> implements TroubleshootIamPolicyRequestOrBuilder
 Request for
 [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].
 
Protobuf type google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyRequest
  • 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<TroubleshootIamPolicyRequest.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<TroubleshootIamPolicyRequest.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<TroubleshootIamPolicyRequest.Builder>
    • getDefaultInstanceForType

      public TroubleshootIamPolicyRequest 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 TroubleshootIamPolicyRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public TroubleshootIamPolicyRequest.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<TroubleshootIamPolicyRequest.Builder>
      Throws:
      IOException
    • hasAccessTuple

      public boolean hasAccessTuple()
       The information to use for checking whether a principal has a permission
       for a resource.
       
      .google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;
      Specified by:
      hasAccessTuple in interface TroubleshootIamPolicyRequestOrBuilder
      Returns:
      Whether the accessTuple field is set.
    • getAccessTuple

      public Explanations.AccessTuple getAccessTuple()
       The information to use for checking whether a principal has a permission
       for a resource.
       
      .google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;
      Specified by:
      getAccessTuple in interface TroubleshootIamPolicyRequestOrBuilder
      Returns:
      The accessTuple.
    • setAccessTuple

       The information to use for checking whether a principal has a permission
       for a resource.
       
      .google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;
    • setAccessTuple

       The information to use for checking whether a principal has a permission
       for a resource.
       
      .google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;
    • mergeAccessTuple

       The information to use for checking whether a principal has a permission
       for a resource.
       
      .google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;
    • clearAccessTuple

      public TroubleshootIamPolicyRequest.Builder clearAccessTuple()
       The information to use for checking whether a principal has a permission
       for a resource.
       
      .google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;
    • getAccessTupleBuilder

      public Explanations.AccessTuple.Builder getAccessTupleBuilder()
       The information to use for checking whether a principal has a permission
       for a resource.
       
      .google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;
    • getAccessTupleOrBuilder

      public Explanations.AccessTupleOrBuilder getAccessTupleOrBuilder()
       The information to use for checking whether a principal has a permission
       for a resource.
       
      .google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;
      Specified by:
      getAccessTupleOrBuilder in interface TroubleshootIamPolicyRequestOrBuilder