Class FirewallPoliciesListAssociationsResponse.Builder (1.12.1)

public static final class FirewallPoliciesListAssociationsResponse.Builder extends GeneratedMessageV3.Builder<FirewallPoliciesListAssociationsResponse.Builder> implements FirewallPoliciesListAssociationsResponseOrBuilder

Protobuf type google.cloud.compute.v1.FirewallPoliciesListAssociationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAssociations(Iterable<? extends FirewallPolicyAssociation> values)

public FirewallPoliciesListAssociationsResponse.Builder addAllAssociations(Iterable<? extends FirewallPolicyAssociation> values)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.FirewallPolicyAssociation>
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

addAssociations(FirewallPolicyAssociation value)

public FirewallPoliciesListAssociationsResponse.Builder addAssociations(FirewallPolicyAssociation value)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameter
NameDescription
valueFirewallPolicyAssociation
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

addAssociations(FirewallPolicyAssociation.Builder builderForValue)

public FirewallPoliciesListAssociationsResponse.Builder addAssociations(FirewallPolicyAssociation.Builder builderForValue)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameter
NameDescription
builderForValueFirewallPolicyAssociation.Builder
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

addAssociations(int index, FirewallPolicyAssociation value)

public FirewallPoliciesListAssociationsResponse.Builder addAssociations(int index, FirewallPolicyAssociation value)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameters
NameDescription
indexint
valueFirewallPolicyAssociation
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

addAssociations(int index, FirewallPolicyAssociation.Builder builderForValue)

public FirewallPoliciesListAssociationsResponse.Builder addAssociations(int index, FirewallPolicyAssociation.Builder builderForValue)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameters
NameDescription
indexint
builderForValueFirewallPolicyAssociation.Builder
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

addAssociationsBuilder()

public FirewallPolicyAssociation.Builder addAssociationsBuilder()

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Returns
TypeDescription
FirewallPolicyAssociation.Builder

addAssociationsBuilder(int index)

public FirewallPolicyAssociation.Builder addAssociationsBuilder(int index)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyAssociation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FirewallPoliciesListAssociationsResponse build()
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse

buildPartial()

public FirewallPoliciesListAssociationsResponse buildPartial()
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse

clear()

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

clearAssociations()

public FirewallPoliciesListAssociationsResponse.Builder clearAssociations()

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public FirewallPoliciesListAssociationsResponse.Builder clearKind()

[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.

optional string kind = 3292052;

Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FirewallPoliciesListAssociationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder
Overrides

clone()

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

getAssociations(int index)

public FirewallPolicyAssociation getAssociations(int index)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyAssociation

getAssociationsBuilder(int index)

public FirewallPolicyAssociation.Builder getAssociationsBuilder(int index)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyAssociation.Builder

getAssociationsBuilderList()

public List<FirewallPolicyAssociation.Builder> getAssociationsBuilderList()

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Returns
TypeDescription
List<Builder>

getAssociationsCount()

public int getAssociationsCount()

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Returns
TypeDescription
int

getAssociationsList()

public List<FirewallPolicyAssociation> getAssociationsList()

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Returns
TypeDescription
List<FirewallPolicyAssociation>

getAssociationsOrBuilder(int index)

public FirewallPolicyAssociationOrBuilder getAssociationsOrBuilder(int index)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyAssociationOrBuilder

getAssociationsOrBuilderList()

public List<? extends FirewallPolicyAssociationOrBuilder> getAssociationsOrBuilderList()

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder>

getDefaultInstanceForType()

public FirewallPoliciesListAssociationsResponse getDefaultInstanceForType()
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKind()

public String getKind()

[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

hasKind()

public boolean hasKind()

[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FirewallPoliciesListAssociationsResponse other)

public FirewallPoliciesListAssociationsResponse.Builder mergeFrom(FirewallPoliciesListAssociationsResponse other)
Parameter
NameDescription
otherFirewallPoliciesListAssociationsResponse
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAssociations(int index)

public FirewallPoliciesListAssociationsResponse.Builder removeAssociations(int index)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

setAssociations(int index, FirewallPolicyAssociation value)

public FirewallPoliciesListAssociationsResponse.Builder setAssociations(int index, FirewallPolicyAssociation value)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameters
NameDescription
indexint
valueFirewallPolicyAssociation
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

setAssociations(int index, FirewallPolicyAssociation.Builder builderForValue)

public FirewallPoliciesListAssociationsResponse.Builder setAssociations(int index, FirewallPolicyAssociation.Builder builderForValue)

A list of associations.

repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameters
NameDescription
indexint
builderForValueFirewallPolicyAssociation.Builder
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKind(String value)

public FirewallPoliciesListAssociationsResponse.Builder setKind(String value)

[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.

optional string kind = 3292052;

Parameter
NameDescription
valueString

The kind to set.

Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

This builder for chaining.

setKindBytes(ByteString value)

public FirewallPoliciesListAssociationsResponse.Builder setKindBytes(ByteString value)

[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.

optional string kind = 3292052;

Parameter
NameDescription
valueByteString

The bytes for kind to set.

Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder

This builder for chaining.

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

public FirewallPoliciesListAssociationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FirewallPoliciesListAssociationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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