public static final class ResourcePoliciesScopedList.Builder extends GeneratedMessageV3.Builder<ResourcePoliciesScopedList.Builder> implements ResourcePoliciesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.ResourcePoliciesScopedList
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllResourcePolicies(Iterable<? extends ResourcePolicy> values)
public ResourcePoliciesScopedList.Builder addAllResourcePolicies(Iterable<? extends ResourcePolicy> values)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.ResourcePolicy>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePoliciesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addResourcePolicies(ResourcePolicy value)
public ResourcePoliciesScopedList.Builder addResourcePolicies(ResourcePolicy value)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameter
Returns
addResourcePolicies(ResourcePolicy.Builder builderForValue)
public ResourcePoliciesScopedList.Builder addResourcePolicies(ResourcePolicy.Builder builderForValue)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameter
Returns
addResourcePolicies(int index, ResourcePolicy value)
public ResourcePoliciesScopedList.Builder addResourcePolicies(int index, ResourcePolicy value)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameters
Returns
addResourcePolicies(int index, ResourcePolicy.Builder builderForValue)
public ResourcePoliciesScopedList.Builder addResourcePolicies(int index, ResourcePolicy.Builder builderForValue)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameters
Returns
addResourcePoliciesBuilder()
public ResourcePolicy.Builder addResourcePoliciesBuilder()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Returns
addResourcePoliciesBuilder(int index)
public ResourcePolicy.Builder addResourcePoliciesBuilder(int index)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameter
Returns
build()
public ResourcePoliciesScopedList build()
Returns
buildPartial()
public ResourcePoliciesScopedList buildPartial()
Returns
clear()
public ResourcePoliciesScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResourcePoliciesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePoliciesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResourcePolicies()
public ResourcePoliciesScopedList.Builder clearResourcePolicies()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Returns
clearWarning()
public ResourcePoliciesScopedList.Builder clearWarning()
Informational warning which replaces the list of resourcePolicies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
clone()
public ResourcePoliciesScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ResourcePoliciesScopedList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getResourcePolicies(int index)
public ResourcePolicy getResourcePolicies(int index)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameter
Returns
getResourcePoliciesBuilder(int index)
public ResourcePolicy.Builder getResourcePoliciesBuilder(int index)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameter
Returns
getResourcePoliciesBuilderList()
public List<ResourcePolicy.Builder> getResourcePoliciesBuilderList()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Returns
getResourcePoliciesCount()
public int getResourcePoliciesCount()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Returns
getResourcePoliciesList()
public List<ResourcePolicy> getResourcePoliciesList()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Returns
getResourcePoliciesOrBuilder(int index)
public ResourcePolicyOrBuilder getResourcePoliciesOrBuilder(int index)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameter
Returns
getResourcePoliciesOrBuilderList()
public List<? extends ResourcePolicyOrBuilder> getResourcePoliciesOrBuilderList()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.ResourcePolicyOrBuilder> | |
getWarning()
public Warning getWarning()
Informational warning which replaces the list of resourcePolicies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningBuilder()
public Warning.Builder getWarningBuilder()
Informational warning which replaces the list of resourcePolicies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
Informational warning which replaces the list of resourcePolicies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
hasWarning()
public boolean hasWarning()
Informational warning which replaces the list of resourcePolicies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
Type | Description |
boolean | Whether the warning field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResourcePoliciesScopedList other)
public ResourcePoliciesScopedList.Builder mergeFrom(ResourcePoliciesScopedList other)
Parameter
Returns
public ResourcePoliciesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResourcePoliciesScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePoliciesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWarning(Warning value)
public ResourcePoliciesScopedList.Builder mergeWarning(Warning value)
Informational warning which replaces the list of resourcePolicies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
removeResourcePolicies(int index)
public ResourcePoliciesScopedList.Builder removeResourcePolicies(int index)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePoliciesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePoliciesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResourcePolicies(int index, ResourcePolicy value)
public ResourcePoliciesScopedList.Builder setResourcePolicies(int index, ResourcePolicy value)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameters
Returns
setResourcePolicies(int index, ResourcePolicy.Builder builderForValue)
public ResourcePoliciesScopedList.Builder setResourcePolicies(int index, ResourcePolicy.Builder builderForValue)
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePoliciesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWarning(Warning value)
public ResourcePoliciesScopedList.Builder setWarning(Warning value)
Informational warning which replaces the list of resourcePolicies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
setWarning(Warning.Builder builderForValue)
public ResourcePoliciesScopedList.Builder setWarning(Warning.Builder builderForValue)
Informational warning which replaces the list of resourcePolicies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns