public static final class ZoneSetNestedPolicyRequest.Builder extends GeneratedMessageV3.Builder<ZoneSetNestedPolicyRequest.Builder> implements ZoneSetNestedPolicyRequestOrBuilder
Protobuf type google.cloud.compute.v1.ZoneSetNestedPolicyRequest
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
addAllBindings(Iterable<? extends Binding> values)
public ZoneSetNestedPolicyRequest.Builder addAllBindings(Iterable<? extends Binding> values)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.Binding>
|
addBindings(Binding value)
public ZoneSetNestedPolicyRequest.Builder addBindings(Binding value)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter |
| Name |
Description |
value |
Binding
|
addBindings(Binding.Builder builderForValue)
public ZoneSetNestedPolicyRequest.Builder addBindings(Binding.Builder builderForValue)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
addBindings(int index, Binding value)
public ZoneSetNestedPolicyRequest.Builder addBindings(int index, Binding value)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameters |
| Name |
Description |
index |
int
|
value |
Binding
|
addBindings(int index, Binding.Builder builderForValue)
public ZoneSetNestedPolicyRequest.Builder addBindings(int index, Binding.Builder builderForValue)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
addBindingsBuilder()
public Binding.Builder addBindingsBuilder()
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
addBindingsBuilder(int index)
public Binding.Builder addBindingsBuilder(int index)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter |
| Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ZoneSetNestedPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ZoneSetNestedPolicyRequest build()
buildPartial()
public ZoneSetNestedPolicyRequest buildPartial()
clear()
public ZoneSetNestedPolicyRequest.Builder clear()
Overrides
clearBindings()
public ZoneSetNestedPolicyRequest.Builder clearBindings()
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
clearEtag()
public ZoneSetNestedPolicyRequest.Builder clearEtag()
Flatten Policy to create a backward compatible wire-format.
Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;
clearField(Descriptors.FieldDescriptor field)
public ZoneSetNestedPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ZoneSetNestedPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicy()
public ZoneSetNestedPolicyRequest.Builder clearPolicy()
REQUIRED: The complete policy to be applied to the 'resource'. The size of
the policy is limited to a few 10s of KB. An empty policy is in general a
valid policy but certain services (like Projects) might reject them.
optional .google.cloud.compute.v1.Policy policy = 91071794;
clone()
public ZoneSetNestedPolicyRequest.Builder clone()
Overrides
getBindings(int index)
public Binding getBindings(int index)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter |
| Name |
Description |
index |
int
|
getBindingsBuilder(int index)
public Binding.Builder getBindingsBuilder(int index)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter |
| Name |
Description |
index |
int
|
getBindingsBuilderList()
public List<Binding.Builder> getBindingsBuilderList()
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
getBindingsCount()
public int getBindingsCount()
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Returns |
| Type |
Description |
int |
|
getBindingsList()
public List<Binding> getBindingsList()
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
getBindingsOrBuilder(int index)
public BindingOrBuilder getBindingsOrBuilder(int index)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter |
| Name |
Description |
index |
int
|
getBindingsOrBuilderList()
public List<? extends BindingOrBuilder> getBindingsOrBuilderList()
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.BindingOrBuilder> |
|
getDefaultInstanceForType()
public ZoneSetNestedPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEtag()
Flatten Policy to create a backward compatible wire-format.
Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;
| Returns |
| Type |
Description |
String |
The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Flatten Policy to create a backward compatible wire-format.
Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;
| Returns |
| Type |
Description |
ByteString |
The bytes for etag.
|
getPolicy()
public Policy getPolicy()
REQUIRED: The complete policy to be applied to the 'resource'. The size of
the policy is limited to a few 10s of KB. An empty policy is in general a
valid policy but certain services (like Projects) might reject them.
optional .google.cloud.compute.v1.Policy policy = 91071794;
| Returns |
| Type |
Description |
Policy |
The policy.
|
getPolicyBuilder()
public Policy.Builder getPolicyBuilder()
REQUIRED: The complete policy to be applied to the 'resource'. The size of
the policy is limited to a few 10s of KB. An empty policy is in general a
valid policy but certain services (like Projects) might reject them.
optional .google.cloud.compute.v1.Policy policy = 91071794;
getPolicyOrBuilder()
public PolicyOrBuilder getPolicyOrBuilder()
REQUIRED: The complete policy to be applied to the 'resource'. The size of
the policy is limited to a few 10s of KB. An empty policy is in general a
valid policy but certain services (like Projects) might reject them.
optional .google.cloud.compute.v1.Policy policy = 91071794;
hasEtag()
Flatten Policy to create a backward compatible wire-format.
Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;
| Returns |
| Type |
Description |
boolean |
Whether the etag field is set.
|
hasPolicy()
public boolean hasPolicy()
REQUIRED: The complete policy to be applied to the 'resource'. The size of
the policy is limited to a few 10s of KB. An empty policy is in general a
valid policy but certain services (like Projects) might reject them.
optional .google.cloud.compute.v1.Policy policy = 91071794;
| Returns |
| Type |
Description |
boolean |
Whether the policy field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ZoneSetNestedPolicyRequest other)
public ZoneSetNestedPolicyRequest.Builder mergeFrom(ZoneSetNestedPolicyRequest other)
public ZoneSetNestedPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ZoneSetNestedPolicyRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergePolicy(Policy value)
public ZoneSetNestedPolicyRequest.Builder mergePolicy(Policy value)
REQUIRED: The complete policy to be applied to the 'resource'. The size of
the policy is limited to a few 10s of KB. An empty policy is in general a
valid policy but certain services (like Projects) might reject them.
optional .google.cloud.compute.v1.Policy policy = 91071794;
| Parameter |
| Name |
Description |
value |
Policy
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ZoneSetNestedPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBindings(int index)
public ZoneSetNestedPolicyRequest.Builder removeBindings(int index)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter |
| Name |
Description |
index |
int
|
setBindings(int index, Binding value)
public ZoneSetNestedPolicyRequest.Builder setBindings(int index, Binding value)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameters |
| Name |
Description |
index |
int
|
value |
Binding
|
setBindings(int index, Binding.Builder builderForValue)
public ZoneSetNestedPolicyRequest.Builder setBindings(int index, Binding.Builder builderForValue)
Flatten Policy to create a backwacd compatible wire-format.
Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
setEtag(String value)
public ZoneSetNestedPolicyRequest.Builder setEtag(String value)
Flatten Policy to create a backward compatible wire-format.
Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;
| Parameter |
| Name |
Description |
value |
String
The etag to set.
|
setEtagBytes(ByteString value)
public ZoneSetNestedPolicyRequest.Builder setEtagBytes(ByteString value)
Flatten Policy to create a backward compatible wire-format.
Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for etag to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ZoneSetNestedPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPolicy(Policy value)
public ZoneSetNestedPolicyRequest.Builder setPolicy(Policy value)
REQUIRED: The complete policy to be applied to the 'resource'. The size of
the policy is limited to a few 10s of KB. An empty policy is in general a
valid policy but certain services (like Projects) might reject them.
optional .google.cloud.compute.v1.Policy policy = 91071794;
| Parameter |
| Name |
Description |
value |
Policy
|
setPolicy(Policy.Builder builderForValue)
public ZoneSetNestedPolicyRequest.Builder setPolicy(Policy.Builder builderForValue)
REQUIRED: The complete policy to be applied to the 'resource'. The size of
the policy is limited to a few 10s of KB. An empty policy is in general a
valid policy but certain services (like Projects) might reject them.
optional .google.cloud.compute.v1.Policy policy = 91071794;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ZoneSetNestedPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ZoneSetNestedPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides