Class ListAssociationsFirewallPolicyRequest.Builder (1.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAssociationsFirewallPolicyRequest build()
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest

buildPartial()

public ListAssociationsFirewallPolicyRequest buildPartial()
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListAssociationsFirewallPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListAssociationsFirewallPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest

getDescriptorForType()

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

Whether the targetResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAssociationsFirewallPolicyRequest other)

public ListAssociationsFirewallPolicyRequest.Builder mergeFrom(ListAssociationsFirewallPolicyRequest other)
Parameter
NameDescription
otherListAssociationsFirewallPolicyRequest
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ListAssociationsFirewallPolicyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

The targetResource to set.

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

The bytes for targetResource to set.

Returns
TypeDescription
ListAssociationsFirewallPolicyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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