Class GetEffectiveFirewallsInstanceRequest.Builder

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

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

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

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

      public GetEffectiveFirewallsInstanceRequest.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<GetEffectiveFirewallsInstanceRequest.Builder>
      Throws:
      IOException
    • getInstance

      public String getInstance()
       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstance in interface GetEffectiveFirewallsInstanceRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstanceBytes in interface GetEffectiveFirewallsInstanceRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public GetEffectiveFirewallsInstanceRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • getNetworkInterface

      public String getNetworkInterface()
       The name of the network interface to get the effective firewalls.
       
      string network_interface = 365387880 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworkInterface in interface GetEffectiveFirewallsInstanceRequestOrBuilder
      Returns:
      The networkInterface.
    • getNetworkInterfaceBytes

      public com.google.protobuf.ByteString getNetworkInterfaceBytes()
       The name of the network interface to get the effective firewalls.
       
      string network_interface = 365387880 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworkInterfaceBytes in interface GetEffectiveFirewallsInstanceRequestOrBuilder
      Returns:
      The bytes for networkInterface.
    • setNetworkInterface

      public GetEffectiveFirewallsInstanceRequest.Builder setNetworkInterface(String value)
       The name of the network interface to get the effective firewalls.
       
      string network_interface = 365387880 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The networkInterface to set.
      Returns:
      This builder for chaining.
    • clearNetworkInterface

      public GetEffectiveFirewallsInstanceRequest.Builder clearNetworkInterface()
       The name of the network interface to get the effective firewalls.
       
      string network_interface = 365387880 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNetworkInterfaceBytes

      public GetEffectiveFirewallsInstanceRequest.Builder setNetworkInterfaceBytes(com.google.protobuf.ByteString value)
       The name of the network interface to get the effective firewalls.
       
      string network_interface = 365387880 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for networkInterface to set.
      Returns:
      This builder for chaining.
    • getProject

      public String getProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProject in interface GetEffectiveFirewallsInstanceRequestOrBuilder
      Returns:
      The project.
    • getProjectBytes

      public com.google.protobuf.ByteString getProjectBytes()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectBytes in interface GetEffectiveFirewallsInstanceRequestOrBuilder
      Returns:
      The bytes for project.
    • setProject

       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The project to set.
      Returns:
      This builder for chaining.
    • clearProject

       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setProjectBytes

      public GetEffectiveFirewallsInstanceRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for project to set.
      Returns:
      This builder for chaining.
    • getZone

      public String getZone()
       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZone in interface GetEffectiveFirewallsInstanceRequestOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZoneBytes in interface GetEffectiveFirewallsInstanceRequestOrBuilder
      Returns:
      The bytes for zone.
    • setZone

       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The zone to set.
      Returns:
      This builder for chaining.
    • clearZone

       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setZoneBytes

      public GetEffectiveFirewallsInstanceRequest.Builder setZoneBytes(com.google.protobuf.ByteString value)
       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for zone to set.
      Returns:
      This builder for chaining.