Send feedback
Class FirewallPoliciesListAssociationsResponse.Builder (1.65.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.65.0 keyboard_arrow_down
public static final class FirewallPoliciesListAssociationsResponse . Builder extends GeneratedMessageV3 . Builder<FirewallPoliciesListAssociationsResponse . Builder > implements FirewallPoliciesListAssociationsResponseOrBuilder
Protobuf type google.cloud.compute.v1.FirewallPoliciesListAssociationsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
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
Name
Description
values
Iterable <? extends com.google.cloud.compute.v1.FirewallPolicyAssociation >
addAssociations(FirewallPolicyAssociation value)
public FirewallPoliciesListAssociationsResponse . Builder addAssociations ( FirewallPolicyAssociation value )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
addAssociations(FirewallPolicyAssociation.Builder builderForValue)
public FirewallPoliciesListAssociationsResponse . Builder addAssociations ( FirewallPolicyAssociation . Builder builderForValue )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
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;
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;
addAssociationsBuilder()
public FirewallPolicyAssociation . Builder addAssociationsBuilder ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
addAssociationsBuilder(int index)
public FirewallPolicyAssociation . Builder addAssociationsBuilder ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FirewallPoliciesListAssociationsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public FirewallPoliciesListAssociationsResponse build ()
buildPartial()
public FirewallPoliciesListAssociationsResponse buildPartial ()
clear()
public FirewallPoliciesListAssociationsResponse . Builder clear ()
Overrides
clearAssociations()
public FirewallPoliciesListAssociationsResponse . Builder clearAssociations ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
clearField(Descriptors.FieldDescriptor field)
public FirewallPoliciesListAssociationsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearKind()
public FirewallPoliciesListAssociationsResponse . Builder clearKind ()
[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.
optional string kind = 3292052;
clearOneof(Descriptors.OneofDescriptor oneof)
public FirewallPoliciesListAssociationsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public FirewallPoliciesListAssociationsResponse . Builder clone ()
Overrides
getAssociations(int index)
public FirewallPolicyAssociation getAssociations ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Name
Description
index
int
getAssociationsBuilder(int index)
public FirewallPolicyAssociation . Builder getAssociationsBuilder ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Name
Description
index
int
getAssociationsBuilderList()
public List<FirewallPolicyAssociation . Builder > getAssociationsBuilderList ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
getAssociationsCount()
public int getAssociationsCount ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Returns
Type
Description
int
getAssociationsList()
public List<FirewallPolicyAssociation> getAssociationsList ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
getAssociationsOrBuilder(int index)
public FirewallPolicyAssociationOrBuilder getAssociationsOrBuilder ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Name
Description
index
int
getAssociationsOrBuilderList()
public List <? extends FirewallPolicyAssociationOrBuilder > getAssociationsOrBuilderList ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Returns
Type
Description
List <? extends com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder >
getDefaultInstanceForType()
public FirewallPoliciesListAssociationsResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getKind()
[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.
optional string kind = 3292052;
Returns
Type
Description
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
Type
Description
ByteString
The bytes for kind.
hasKind()
[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.
optional string kind = 3292052;
Returns
Type
Description
boolean
Whether the kind field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(FirewallPoliciesListAssociationsResponse other)
public FirewallPoliciesListAssociationsResponse . Builder mergeFrom ( FirewallPoliciesListAssociationsResponse other )
public FirewallPoliciesListAssociationsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public FirewallPoliciesListAssociationsResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPoliciesListAssociationsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeAssociations(int index)
public FirewallPoliciesListAssociationsResponse . Builder removeAssociations ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Name
Description
index
int
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public FirewallPoliciesListAssociationsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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
Name
Description
value
String
The kind to set.
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
Name
Description
value
ByteString
The bytes for kind to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FirewallPoliciesListAssociationsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPoliciesListAssociationsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]