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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePoliciesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addResourcePoliciesBuilder()
public ResourcePolicy.Builder addResourcePoliciesBuilder()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
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 |
---|
Name | Description |
index | int
|
build()
public ResourcePoliciesScopedList build()
buildPartial()
public ResourcePoliciesScopedList buildPartial()
clear()
public ResourcePoliciesScopedList.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResourcePoliciesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePoliciesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResourcePolicies()
public ResourcePoliciesScopedList.Builder clearResourcePolicies()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
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;
clone()
public ResourcePoliciesScopedList.Builder clone()
Overrides
getDefaultInstanceForType()
public ResourcePoliciesScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getResourcePoliciesBuilderList()
public List<ResourcePolicy.Builder> getResourcePoliciesBuilderList()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
getResourcePoliciesCount()
public int getResourcePoliciesCount()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
Returns |
---|
Type | Description |
int | |
getResourcePoliciesList()
public List<ResourcePolicy> getResourcePoliciesList()
A list of resourcePolicies contained in this scope.
repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
Warning | The warning.
|
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResourcePoliciesScopedList other)
public ResourcePoliciesScopedList.Builder mergeFrom(ResourcePoliciesScopedList other)
public ResourcePoliciesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourcePoliciesScopedList.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePoliciesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
value | Warning
|
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePoliciesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePoliciesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePoliciesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
value | Warning
|
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;