Package com.google.cloud.compute.v1
Class RegionSetPolicyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RegionSetPolicyRequest.Builder>
com.google.cloud.compute.v1.RegionSetPolicyRequest.Builder
- All Implemented Interfaces:
RegionSetPolicyRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RegionSetPolicyRequest
public static final class RegionSetPolicyRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RegionSetPolicyRequest.Builder>
implements RegionSetPolicyRequestOrBuilder
Protobuf type
google.cloud.compute.v1.RegionSetPolicyRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllBindings(Iterable<? extends Binding> values) Flatten Policy to create a backwacd compatible wire-format.addBindings(int index, Binding value) Flatten Policy to create a backwacd compatible wire-format.addBindings(int index, Binding.Builder builderForValue) Flatten Policy to create a backwacd compatible wire-format.addBindings(Binding value) Flatten Policy to create a backwacd compatible wire-format.addBindings(Binding.Builder builderForValue) Flatten Policy to create a backwacd compatible wire-format.Flatten Policy to create a backwacd compatible wire-format.addBindingsBuilder(int index) Flatten Policy to create a backwacd compatible wire-format.build()clear()Flatten Policy to create a backwacd compatible wire-format.Flatten Policy to create a backward compatible wire-format.REQUIRED: The complete policy to be applied to the 'resource'.getBindings(int index) Flatten Policy to create a backwacd compatible wire-format.getBindingsBuilder(int index) Flatten Policy to create a backwacd compatible wire-format.Flatten Policy to create a backwacd compatible wire-format.intFlatten Policy to create a backwacd compatible wire-format.Flatten Policy to create a backwacd compatible wire-format.getBindingsOrBuilder(int index) Flatten Policy to create a backwacd compatible wire-format.List<? extends BindingOrBuilder>Flatten Policy to create a backwacd compatible wire-format.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEtag()Flatten Policy to create a backward compatible wire-format.com.google.protobuf.ByteStringFlatten Policy to create a backward compatible wire-format.REQUIRED: The complete policy to be applied to the 'resource'.REQUIRED: The complete policy to be applied to the 'resource'.REQUIRED: The complete policy to be applied to the 'resource'.booleanhasEtag()Flatten Policy to create a backward compatible wire-format.booleanREQUIRED: The complete policy to be applied to the 'resource'.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RegionSetPolicyRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePolicy(Policy value) REQUIRED: The complete policy to be applied to the 'resource'.removeBindings(int index) Flatten Policy to create a backwacd compatible wire-format.setBindings(int index, Binding value) Flatten Policy to create a backwacd compatible wire-format.setBindings(int index, Binding.Builder builderForValue) Flatten Policy to create a backwacd compatible wire-format.Flatten Policy to create a backward compatible wire-format.setEtagBytes(com.google.protobuf.ByteString value) Flatten Policy to create a backward compatible wire-format.REQUIRED: The complete policy to be applied to the 'resource'.setPolicy(Policy.Builder builderForValue) REQUIRED: The complete policy to be applied to the 'resource'.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RegionSetPolicyRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RegionSetPolicyRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RegionSetPolicyRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegionSetPolicyRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RegionSetPolicyRequest.Builder>
-
mergeFrom
public RegionSetPolicyRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegionSetPolicyRequest.Builder>- Throws:
IOException
-
getBindingsList
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;- Specified by:
getBindingsListin interfaceRegionSetPolicyRequestOrBuilder
-
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;- Specified by:
getBindingsCountin interfaceRegionSetPolicyRequestOrBuilder
-
getBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;- Specified by:
getBindingsin interfaceRegionSetPolicyRequestOrBuilder
-
setBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
setBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
addBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
addBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
addBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
addBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
addAllBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
clearBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
removeBindings
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
getBindingsBuilder
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
getBindingsOrBuilder
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;- Specified by:
getBindingsOrBuilderin interfaceRegionSetPolicyRequestOrBuilder
-
getBindingsOrBuilderList
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854;- Specified by:
getBindingsOrBuilderListin interfaceRegionSetPolicyRequestOrBuilder
-
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
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
getBindingsBuilderList
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
repeated .google.cloud.compute.v1.Binding bindings = 403251854; -
hasEtag
public boolean hasEtag()Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;- Specified by:
hasEtagin interfaceRegionSetPolicyRequestOrBuilder- Returns:
- Whether the etag field is set.
-
getEtag
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;- Specified by:
getEtagin interfaceRegionSetPolicyRequestOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;- Specified by:
getEtagBytesin interfaceRegionSetPolicyRequestOrBuilder- Returns:
- The bytes for etag.
-
setEtag
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;- Returns:
- This builder for chaining.
-
setEtagBytes
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
optional string etag = 3123477;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasPolicyin interfaceRegionSetPolicyRequestOrBuilder- Returns:
- Whether the policy field is set.
-
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;- Specified by:
getPolicyin interfaceRegionSetPolicyRequestOrBuilder- Returns:
- The policy.
-
setPolicy
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; -
setPolicy
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; -
mergePolicy
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; -
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; -
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
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;- Specified by:
getPolicyOrBuilderin interfaceRegionSetPolicyRequestOrBuilder
-