Class ListAssociationsFirewallPolicyRequest.Builder

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

public static final class ListAssociationsFirewallPolicyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAssociationsFirewallPolicyRequest.Builder> implements ListAssociationsFirewallPolicyRequestOrBuilder
 A request message for FirewallPolicies.ListAssociations. See the method description for details.
 
Protobuf type google.cloud.compute.v1.ListAssociationsFirewallPolicyRequest
  • 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<ListAssociationsFirewallPolicyRequest.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<ListAssociationsFirewallPolicyRequest.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<ListAssociationsFirewallPolicyRequest.Builder>
    • getDefaultInstanceForType

      public ListAssociationsFirewallPolicyRequest 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

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

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

      public ListAssociationsFirewallPolicyRequest.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<ListAssociationsFirewallPolicyRequest.Builder>
      Throws:
      IOException
    • hasIncludeInheritedPolicies

      public boolean hasIncludeInheritedPolicies()
       If set to "true", the response will contain a list of all associations for
       the containing folders and the containing organization of the target. The
       parameter has no effect if the target is an organization.
       
      optional bool include_inherited_policies = 32280076;
      Specified by:
      hasIncludeInheritedPolicies in interface ListAssociationsFirewallPolicyRequestOrBuilder
      Returns:
      Whether the includeInheritedPolicies field is set.
    • getIncludeInheritedPolicies

      public boolean getIncludeInheritedPolicies()
       If set to "true", the response will contain a list of all associations for
       the containing folders and the containing organization of the target. The
       parameter has no effect if the target is an organization.
       
      optional bool include_inherited_policies = 32280076;
      Specified by:
      getIncludeInheritedPolicies in interface ListAssociationsFirewallPolicyRequestOrBuilder
      Returns:
      The includeInheritedPolicies.
    • setIncludeInheritedPolicies

      public ListAssociationsFirewallPolicyRequest.Builder setIncludeInheritedPolicies(boolean value)
       If set to "true", the response will contain a list of all associations for
       the containing folders and the containing organization of the target. The
       parameter has no effect if the target is an organization.
       
      optional bool include_inherited_policies = 32280076;
      Parameters:
      value - The includeInheritedPolicies to set.
      Returns:
      This builder for chaining.
    • clearIncludeInheritedPolicies

      public ListAssociationsFirewallPolicyRequest.Builder clearIncludeInheritedPolicies()
       If set to "true", the response will contain a list of all associations for
       the containing folders and the containing organization of the target. The
       parameter has no effect if the target is an organization.
       
      optional bool include_inherited_policies = 32280076;
      Returns:
      This builder for chaining.
    • hasTargetResource

      public boolean hasTargetResource()
       The target resource to list associations. It is an organization, or a
       folder.
       
      optional string target_resource = 467318524;
      Specified by:
      hasTargetResource in interface ListAssociationsFirewallPolicyRequestOrBuilder
      Returns:
      Whether the targetResource field is set.
    • getTargetResource

      public String getTargetResource()
       The target resource to list associations. It is an organization, or a
       folder.
       
      optional string target_resource = 467318524;
      Specified by:
      getTargetResource in interface ListAssociationsFirewallPolicyRequestOrBuilder
      Returns:
      The targetResource.
    • getTargetResourceBytes

      public com.google.protobuf.ByteString getTargetResourceBytes()
       The target resource to list associations. It is an organization, or a
       folder.
       
      optional string target_resource = 467318524;
      Specified by:
      getTargetResourceBytes in interface ListAssociationsFirewallPolicyRequestOrBuilder
      Returns:
      The bytes for targetResource.
    • setTargetResource

      public ListAssociationsFirewallPolicyRequest.Builder setTargetResource(String value)
       The target resource to list associations. It is an organization, or a
       folder.
       
      optional string target_resource = 467318524;
      Parameters:
      value - The targetResource to set.
      Returns:
      This builder for chaining.
    • clearTargetResource

      public ListAssociationsFirewallPolicyRequest.Builder clearTargetResource()
       The target resource to list associations. It is an organization, or a
       folder.
       
      optional string target_resource = 467318524;
      Returns:
      This builder for chaining.
    • setTargetResourceBytes

      public ListAssociationsFirewallPolicyRequest.Builder setTargetResourceBytes(com.google.protobuf.ByteString value)
       The target resource to list associations. It is an organization, or a
       folder.
       
      optional string target_resource = 467318524;
      Parameters:
      value - The bytes for targetResource to set.
      Returns:
      This builder for chaining.