public static final class GlobalSetPolicyRequest.Builder extends GeneratedMessageV3.Builder<GlobalSetPolicyRequest.Builder> implements GlobalSetPolicyRequestOrBuilder
   
   Protobuf type google.cloud.compute.v1.GlobalSetPolicyRequest
Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  Methods
  
  
  addAllBindings(Iterable<? extends Binding> values)
  
    public GlobalSetPolicyRequest.Builder addAllBindings(Iterable<? extends Binding> values)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
    
      
        | Name | Description | 
      
        | values | Iterable<? extends com.google.cloud.compute.v1.Binding>
 | 
    
  
  Returns
  
  
  addBindings(Binding value)
  
    public GlobalSetPolicyRequest.Builder addBindings(Binding value)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
addBindings(Binding.Builder builderForValue)
  
    public GlobalSetPolicyRequest.Builder addBindings(Binding.Builder builderForValue)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
addBindings(int index, Binding value)
  
    public GlobalSetPolicyRequest.Builder addBindings(int index, Binding value)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
addBindings(int index, Binding.Builder builderForValue)
  
    public GlobalSetPolicyRequest.Builder addBindings(int index, Binding.Builder builderForValue)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
addBindingsBuilder()
  
    public Binding.Builder addBindingsBuilder()
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
addBindingsBuilder(int index)
  
    public Binding.Builder addBindingsBuilder(int index)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public GlobalSetPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  build()
  
    public GlobalSetPolicyRequest build()
   
  Returns
  
  
  buildPartial()
  
    public GlobalSetPolicyRequest buildPartial()
   
  Returns
  
  
  clear()
  
    public GlobalSetPolicyRequest.Builder clear()
   
  Returns
  
  Overrides
  
  
  clearBindings()
  
    public GlobalSetPolicyRequest.Builder clearBindings()
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
clearEtag()
  
    public GlobalSetPolicyRequest.Builder clearEtag()
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
 optional string etag = 3123477;
clearField(Descriptors.FieldDescriptor field)
  
    public GlobalSetPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public GlobalSetPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  clearPolicy()
  
    public GlobalSetPolicyRequest.Builder clearPolicy()
   
   REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
 optional .google.cloud.compute.v1.Policy policy = 91071794;
clone()
  
    public GlobalSetPolicyRequest.Builder clone()
   
  Returns
  
  Overrides
  
  
  getBindings(int index)
  
    public Binding getBindings(int index)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getBindingsBuilder(int index)
  
    public Binding.Builder getBindingsBuilder(int index)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getBindingsBuilderList()
  
    public List<Binding.Builder> getBindingsBuilderList()
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
getBindingsCount()
  
    public int getBindingsCount()
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
getBindingsList()
  
    public List<Binding> getBindingsList()
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
getBindingsOrBuilder(int index)
  
    public BindingOrBuilder getBindingsOrBuilder(int index)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getBindingsOrBuilderList()
  
    public List<? extends BindingOrBuilder> getBindingsOrBuilderList()
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
    
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.compute.v1.BindingOrBuilder> |  | 
    
  
  
  getDefaultInstanceForType()
  
    public GlobalSetPolicyRequest getDefaultInstanceForType()
   
  Returns
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  Returns
  
  Overrides
  
  
  getEtag()
  
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
 optional string etag = 3123477;
    
      
        | Type | Description | 
      
        | String | The etag. | 
    
  
  
  getEtagBytes()
  
    public ByteString getEtagBytes()
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
 optional string etag = 3123477;
getPolicy()
  
    public Policy getPolicy()
   
   REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
 optional .google.cloud.compute.v1.Policy policy = 91071794;
    
      
        | Type | Description | 
      
        | Policy | The policy. | 
    
  
  
  getPolicyBuilder()
  
    public Policy.Builder getPolicyBuilder()
   
   REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
 optional .google.cloud.compute.v1.Policy policy = 91071794;
getPolicyOrBuilder()
  
    public PolicyOrBuilder getPolicyOrBuilder()
   
   REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
 optional .google.cloud.compute.v1.Policy policy = 91071794;
hasEtag()
  
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
 optional string etag = 3123477;
    
      
        | Type | Description | 
      
        | boolean | Whether the etag field is set. | 
    
  
  
  hasPolicy()
  
    public boolean hasPolicy()
   
   REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
 optional .google.cloud.compute.v1.Policy policy = 91071794;
    
      
        | Type | Description | 
      
        | boolean | Whether the policy field is set. | 
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  mergeFrom(GlobalSetPolicyRequest other)
  
    public GlobalSetPolicyRequest.Builder mergeFrom(GlobalSetPolicyRequest other)
   
  Parameter
  
  Returns
  
  
  
  
    public GlobalSetPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Overrides
  
  Exceptions
  
  
  mergeFrom(Message other)
  
    public GlobalSetPolicyRequest.Builder mergeFrom(Message other)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  mergePolicy(Policy value)
  
    public GlobalSetPolicyRequest.Builder mergePolicy(Policy value)
   
   REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
 optional .google.cloud.compute.v1.Policy policy = 91071794;
mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final GlobalSetPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  removeBindings(int index)
  
    public GlobalSetPolicyRequest.Builder removeBindings(int index)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  setBindings(int index, Binding value)
  
    public GlobalSetPolicyRequest.Builder setBindings(int index, Binding value)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
setBindings(int index, Binding.Builder builderForValue)
  
    public GlobalSetPolicyRequest.Builder setBindings(int index, Binding.Builder builderForValue)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
 repeated .google.cloud.compute.v1.Binding bindings = 403251854;
setEtag(String value)
  
    public GlobalSetPolicyRequest.Builder setEtag(String value)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
 optional string etag = 3123477;
    
      
        | Name | Description | 
      
        | value | String
 The etag to set. | 
    
  
  Returns
  
  
  setEtagBytes(ByteString value)
  
    public GlobalSetPolicyRequest.Builder setEtagBytes(ByteString value)
   
   Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
 optional string etag = 3123477;
    
      
        | Name | Description | 
      
        | value | ByteString
 The bytes for etag to set. | 
    
  
  Returns
  
  
  setField(Descriptors.FieldDescriptor field, Object value)
  
    public GlobalSetPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  setPolicy(Policy value)
  
    public GlobalSetPolicyRequest.Builder setPolicy(Policy value)
   
   REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
 optional .google.cloud.compute.v1.Policy policy = 91071794;
setPolicy(Policy.Builder builderForValue)
  
    public GlobalSetPolicyRequest.Builder setPolicy(Policy.Builder builderForValue)
   
   REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
 optional .google.cloud.compute.v1.Policy policy = 91071794;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public GlobalSetPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final GlobalSetPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides