Class SetIamPolicyFirewallPolicyRequest.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SetIamPolicyFirewallPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

build()

public SetIamPolicyFirewallPolicyRequest build()
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest

buildPartial()

public SetIamPolicyFirewallPolicyRequest buildPartial()
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest

clear()

public SetIamPolicyFirewallPolicyRequest.Builder clear()
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SetIamPolicyFirewallPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SetIamPolicyFirewallPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder

This builder for chaining.

clone()

public SetIamPolicyFirewallPolicyRequest.Builder clone()
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

getDefaultInstanceForType()

public SetIamPolicyFirewallPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GlobalOrganizationSetPolicyRequestOrBuilder

getResource()

public String getResource()

Name or id of the resource for this request.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the globalOrganizationSetPolicyRequestResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SetIamPolicyFirewallPolicyRequest other)

public SetIamPolicyFirewallPolicyRequest.Builder mergeFrom(SetIamPolicyFirewallPolicyRequest other)
Parameter
NameDescription
otherSetIamPolicyFirewallPolicyRequest
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SetIamPolicyFirewallPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SetIamPolicyFirewallPolicyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGlobalOrganizationSetPolicyRequest
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetIamPolicyFirewallPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SetIamPolicyFirewallPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGlobalOrganizationSetPolicyRequest
Returns
TypeDescription
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
NameDescription
builderForValueGlobalOrganizationSetPolicyRequest.Builder
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder

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

public SetIamPolicyFirewallPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resource to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resource to set.

Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SetIamPolicyFirewallPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SetIamPolicyFirewallPolicyRequest.Builder
Overrides