Send feedback
Class FirewallPoliciesListAssociationsResponse.Builder (1.9.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.9.1 keyboard_arrow_down
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
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 >
Returns
addAssociations(FirewallPolicyAssociation value)
public FirewallPoliciesListAssociationsResponse . Builder addAssociations ( FirewallPolicyAssociation value )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Returns
addAssociations(FirewallPolicyAssociation.Builder builderForValue)
public FirewallPoliciesListAssociationsResponse . Builder addAssociations ( FirewallPolicyAssociation . Builder builderForValue )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Returns
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
Returns
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
Returns
addAssociationsBuilder()
public FirewallPolicyAssociation . Builder addAssociationsBuilder ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Returns
addAssociationsBuilder(int index)
public FirewallPolicyAssociation . Builder addAssociationsBuilder ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FirewallPoliciesListAssociationsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public FirewallPoliciesListAssociationsResponse build ()
Returns
buildPartial()
public FirewallPoliciesListAssociationsResponse buildPartial ()
Returns
clear()
public FirewallPoliciesListAssociationsResponse . Builder clear ()
Returns
Overrides
clearAssociations()
public FirewallPoliciesListAssociationsResponse . Builder clearAssociations ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Returns
clearField(Descriptors.FieldDescriptor field)
public FirewallPoliciesListAssociationsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public FirewallPoliciesListAssociationsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public FirewallPoliciesListAssociationsResponse . Builder clone ()
Returns
Overrides
getAssociations(int index)
public FirewallPolicyAssociation getAssociations ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Returns
getAssociationsBuilder(int index)
public FirewallPolicyAssociation . Builder getAssociationsBuilder ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Returns
getAssociationsBuilderList()
public List<FirewallPolicyAssociation . Builder > getAssociationsBuilderList ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Returns
getAssociationsCount()
public int getAssociationsCount ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Returns
getAssociationsList()
public List<FirewallPolicyAssociation> getAssociationsList ()
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Returns
getAssociationsOrBuilder(int index)
public FirewallPolicyAssociationOrBuilder getAssociationsOrBuilder ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Returns
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 ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(FirewallPoliciesListAssociationsResponse other)
public FirewallPoliciesListAssociationsResponse . Builder mergeFrom ( FirewallPoliciesListAssociationsResponse other )
Parameter
Returns
public FirewallPoliciesListAssociationsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FirewallPoliciesListAssociationsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPoliciesListAssociationsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeAssociations(int index)
public FirewallPoliciesListAssociationsResponse . Builder removeAssociations ( int index )
A list of associations.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public FirewallPoliciesListAssociationsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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.
Returns
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.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FirewallPoliciesListAssociationsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPoliciesListAssociationsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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-28 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-28 UTC."],[],[]]