- 1.92.0 (latest)
- 1.91.0
- 1.90.0
- 1.88.0
- 1.86.0
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class GlobalOrganizationSetPolicyRequest.Builder extends GeneratedMessage.Builder<GlobalOrganizationSetPolicyRequest.Builder> implements GlobalOrganizationSetPolicyRequestOrBuilder Protobuf type google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GlobalOrganizationSetPolicyRequest.BuilderImplements
GlobalOrganizationSetPolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBindings(Iterable<? extends Binding> values)
public GlobalOrganizationSetPolicyRequest.Builder addAllBindings(Iterable<? extends Binding> values)Flatten Policy to create a backward 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> |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
addBindings(Binding value)
public GlobalOrganizationSetPolicyRequest.Builder addBindings(Binding value)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter | |
|---|---|
| Name | Description |
value |
Binding |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
addBindings(Binding.Builder builderForValue)
public GlobalOrganizationSetPolicyRequest.Builder addBindings(Binding.Builder builderForValue)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Binding.Builder |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
addBindings(int index, Binding value)
public GlobalOrganizationSetPolicyRequest.Builder addBindings(int index, Binding value)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Binding |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
addBindings(int index, Binding.Builder builderForValue)
public GlobalOrganizationSetPolicyRequest.Builder addBindings(int index, Binding.Builder builderForValue)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Binding.Builder |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
addBindingsBuilder()
public Binding.Builder addBindingsBuilder()Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Returns | |
|---|---|
| Type | Description |
Binding.Builder |
|
addBindingsBuilder(int index)
public Binding.Builder addBindingsBuilder(int index)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Binding.Builder |
|
build()
public GlobalOrganizationSetPolicyRequest build()| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest |
|
buildPartial()
public GlobalOrganizationSetPolicyRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest |
|
clear()
public GlobalOrganizationSetPolicyRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
clearBindings()
public GlobalOrganizationSetPolicyRequest.Builder clearBindings()Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
clearEtag()
public GlobalOrganizationSetPolicyRequest.Builder clearEtag()Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
This builder for chaining. |
clearPolicy()
public GlobalOrganizationSetPolicyRequest.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;
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
getBindings(int index)
public Binding getBindings(int index)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Binding |
|
getBindingsBuilder(int index)
public Binding.Builder getBindingsBuilder(int index)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Binding.Builder |
|
getBindingsBuilderList()
public List<Binding.Builder> getBindingsBuilderList()Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getBindingsCount()
public int getBindingsCount()Flatten Policy to create a backward 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 backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Returns | |
|---|---|
| Type | Description |
List<Binding> |
|
getBindingsOrBuilder(int index)
public BindingOrBuilder getBindingsOrBuilder(int index)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BindingOrBuilder |
|
getBindingsOrBuilderList()
public List<? extends BindingOrBuilder> getBindingsOrBuilderList()Flatten Policy to create a backward 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 GlobalOrganizationSetPolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEtag()
public String 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;
| Returns | |
|---|---|
| Type | Description |
Policy.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
PolicyOrBuilder |
|
hasEtag()
public boolean 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GlobalOrganizationSetPolicyRequest other)
public GlobalOrganizationSetPolicyRequest.Builder mergeFrom(GlobalOrganizationSetPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GlobalOrganizationSetPolicyRequest |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GlobalOrganizationSetPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GlobalOrganizationSetPolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
mergePolicy(Policy value)
public GlobalOrganizationSetPolicyRequest.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 |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
removeBindings(int index)
public GlobalOrganizationSetPolicyRequest.Builder removeBindings(int index)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
setBindings(int index, Binding value)
public GlobalOrganizationSetPolicyRequest.Builder setBindings(int index, Binding value)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Binding |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
setBindings(int index, Binding.Builder builderForValue)
public GlobalOrganizationSetPolicyRequest.Builder setBindings(int index, Binding.Builder builderForValue)Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Binding.Builder |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
setEtag(String value)
public GlobalOrganizationSetPolicyRequest.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 |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public GlobalOrganizationSetPolicyRequest.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 |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
This builder for chaining. |
setPolicy(Policy value)
public GlobalOrganizationSetPolicyRequest.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 |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|
setPolicy(Policy.Builder builderForValue)
public GlobalOrganizationSetPolicyRequest.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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Policy.Builder |
| Returns | |
|---|---|
| Type | Description |
GlobalOrganizationSetPolicyRequest.Builder |
|