Class SetIamPolicyFirewallPolicyRequest.Builder (1.65.0)

public static final class SetIamPolicyFirewallPolicyRequest.Builder extends GeneratedMessageV3.Builder<SetIamPolicyFirewallPolicyRequest.Builder> implements SetIamPolicyFirewallPolicyRequestOrBuilder

A request message for FirewallPolicies.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyFirewallPolicyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SetIamPolicyFirewallPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

build()

public SetIamPolicyFirewallPolicyRequest build()
Returns
Type Description
SetIamPolicyFirewallPolicyRequest

buildPartial()

public SetIamPolicyFirewallPolicyRequest buildPartial()
Returns
Type Description
SetIamPolicyFirewallPolicyRequest

clear()

public SetIamPolicyFirewallPolicyRequest.Builder clear()
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SetIamPolicyFirewallPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

clearGlobalOrganizationSetPolicyRequestResource()

public SetIamPolicyFirewallPolicyRequest.Builder clearGlobalOrganizationSetPolicyRequestResource()

The body resource for this request

.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest global_organization_set_policy_request_resource = 177408606 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SetIamPolicyFirewallPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

clearResource()

public SetIamPolicyFirewallPolicyRequest.Builder clearResource()

Name or id of the resource for this request.

string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder

This builder for chaining.

clone()

public SetIamPolicyFirewallPolicyRequest.Builder clone()
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

getDefaultInstanceForType()

public SetIamPolicyFirewallPolicyRequest getDefaultInstanceForType()
Returns
Type Description
SetIamPolicyFirewallPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGlobalOrganizationSetPolicyRequestResource()

public GlobalOrganizationSetPolicyRequest getGlobalOrganizationSetPolicyRequestResource()

The body resource for this request

.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest global_organization_set_policy_request_resource = 177408606 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlobalOrganizationSetPolicyRequest

The globalOrganizationSetPolicyRequestResource.

getGlobalOrganizationSetPolicyRequestResourceBuilder()

public GlobalOrganizationSetPolicyRequest.Builder getGlobalOrganizationSetPolicyRequestResourceBuilder()

The body resource for this request

.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest global_organization_set_policy_request_resource = 177408606 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlobalOrganizationSetPolicyRequest.Builder

getGlobalOrganizationSetPolicyRequestResourceOrBuilder()

public GlobalOrganizationSetPolicyRequestOrBuilder getGlobalOrganizationSetPolicyRequestResourceOrBuilder()

The body resource for this request

.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest global_organization_set_policy_request_resource = 177408606 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlobalOrganizationSetPolicyRequestOrBuilder

getResource()

public String getResource()

Name or id of the resource for this request.

string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Name or id of the resource for this request.

string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for resource.

hasGlobalOrganizationSetPolicyRequestResource()

public boolean hasGlobalOrganizationSetPolicyRequestResource()

The body resource for this request

.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest global_organization_set_policy_request_resource = 177408606 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the globalOrganizationSetPolicyRequestResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SetIamPolicyFirewallPolicyRequest other)

public SetIamPolicyFirewallPolicyRequest.Builder mergeFrom(SetIamPolicyFirewallPolicyRequest other)
Parameter
Name Description
other SetIamPolicyFirewallPolicyRequest
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SetIamPolicyFirewallPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SetIamPolicyFirewallPolicyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

mergeGlobalOrganizationSetPolicyRequestResource(GlobalOrganizationSetPolicyRequest value)

public SetIamPolicyFirewallPolicyRequest.Builder mergeGlobalOrganizationSetPolicyRequestResource(GlobalOrganizationSetPolicyRequest value)

The body resource for this request

.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest global_organization_set_policy_request_resource = 177408606 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GlobalOrganizationSetPolicyRequest
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetIamPolicyFirewallPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SetIamPolicyFirewallPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

setGlobalOrganizationSetPolicyRequestResource(GlobalOrganizationSetPolicyRequest value)

public SetIamPolicyFirewallPolicyRequest.Builder setGlobalOrganizationSetPolicyRequestResource(GlobalOrganizationSetPolicyRequest value)

The body resource for this request

.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest global_organization_set_policy_request_resource = 177408606 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GlobalOrganizationSetPolicyRequest
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder

setGlobalOrganizationSetPolicyRequestResource(GlobalOrganizationSetPolicyRequest.Builder builderForValue)

public SetIamPolicyFirewallPolicyRequest.Builder setGlobalOrganizationSetPolicyRequestResource(GlobalOrganizationSetPolicyRequest.Builder builderForValue)

The body resource for this request

.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest global_organization_set_policy_request_resource = 177408606 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GlobalOrganizationSetPolicyRequest.Builder
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SetIamPolicyFirewallPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

setResource(String value)

public SetIamPolicyFirewallPolicyRequest.Builder setResource(String value)

Name or id of the resource for this request.

string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public SetIamPolicyFirewallPolicyRequest.Builder setResourceBytes(ByteString value)

Name or id of the resource for this request.

string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SetIamPolicyFirewallPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SetIamPolicyFirewallPolicyRequest.Builder
Overrides