Class ListAssociationsFirewallPolicyRequest.Builder (1.54.0)

public static final class ListAssociationsFirewallPolicyRequest.Builder extends GeneratedMessageV3.Builder<ListAssociationsFirewallPolicyRequest.Builder> implements ListAssociationsFirewallPolicyRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.ListAssociationsFirewallPolicyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAssociationsFirewallPolicyRequest build()
Returns
Type Description
ListAssociationsFirewallPolicyRequest

buildPartial()

public ListAssociationsFirewallPolicyRequest buildPartial()
Returns
Type Description
ListAssociationsFirewallPolicyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetResource()

public ListAssociationsFirewallPolicyRequest.Builder clearTargetResource()

The target resource to list associations. It is an organization, or a folder.

optional string target_resource = 467318524;

Returns
Type Description
ListAssociationsFirewallPolicyRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListAssociationsFirewallPolicyRequest getDefaultInstanceForType()
Returns
Type Description
ListAssociationsFirewallPolicyRequest

getDescriptorForType()

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

getTargetResource()

public String getTargetResource()

The target resource to list associations. It is an organization, or a folder.

optional string target_resource = 467318524;

Returns
Type Description
String

The targetResource.

getTargetResourceBytes()

public ByteString getTargetResourceBytes()

The target resource to list associations. It is an organization, or a folder.

optional string target_resource = 467318524;

Returns
Type Description
ByteString

The bytes for targetResource.

hasTargetResource()

public boolean hasTargetResource()

The target resource to list associations. It is an organization, or a folder.

optional string target_resource = 467318524;

Returns
Type Description
boolean

Whether the targetResource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAssociationsFirewallPolicyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTargetResource(String value)

public ListAssociationsFirewallPolicyRequest.Builder setTargetResource(String value)

The target resource to list associations. It is an organization, or a folder.

optional string target_resource = 467318524;

Parameter
Name Description
value String

The targetResource to set.

Returns
Type Description
ListAssociationsFirewallPolicyRequest.Builder

This builder for chaining.

setTargetResourceBytes(ByteString value)

public ListAssociationsFirewallPolicyRequest.Builder setTargetResourceBytes(ByteString value)

The target resource to list associations. It is an organization, or a folder.

optional string target_resource = 467318524;

Parameter
Name Description
value ByteString

The bytes for targetResource to set.

Returns
Type Description
ListAssociationsFirewallPolicyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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