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