public static final class SetIamPolicyRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder> implements SetIamPolicyRequestOrBuilder
Request message for `SetIamPolicy` method.Protobuf type
google.iam.v1.SetIamPolicyRequest| Modifier and Type | Method and Description |
|---|---|
SetIamPolicyRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
SetIamPolicyRequest |
build() |
SetIamPolicyRequest |
buildPartial() |
SetIamPolicyRequest.Builder |
clear() |
SetIamPolicyRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SetIamPolicyRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SetIamPolicyRequest.Builder |
clearPolicy()
REQUIRED: The complete policy to be applied to the `resource`.
|
SetIamPolicyRequest.Builder |
clearResource()
REQUIRED: The resource for which the policy is being specified.
|
SetIamPolicyRequest.Builder |
clone() |
SetIamPolicyRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Policy |
getPolicy()
REQUIRED: The complete policy to be applied to the `resource`.
|
Policy.Builder |
getPolicyBuilder()
REQUIRED: The complete policy to be applied to the `resource`.
|
PolicyOrBuilder |
getPolicyOrBuilder()
REQUIRED: The complete policy to be applied to the `resource`.
|
java.lang.String |
getResource()
REQUIRED: The resource for which the policy is being specified.
|
com.google.protobuf.ByteString |
getResourceBytes()
REQUIRED: The resource for which the policy is being specified.
|
boolean |
hasPolicy()
REQUIRED: The complete policy to be applied to the `resource`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SetIamPolicyRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SetIamPolicyRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
SetIamPolicyRequest.Builder |
mergeFrom(SetIamPolicyRequest other) |
SetIamPolicyRequest.Builder |
mergePolicy(Policy value)
REQUIRED: The complete policy to be applied to the `resource`.
|
SetIamPolicyRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SetIamPolicyRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
SetIamPolicyRequest.Builder |
setPolicy(Policy.Builder builderForValue)
REQUIRED: The complete policy to be applied to the `resource`.
|
SetIamPolicyRequest.Builder |
setPolicy(Policy value)
REQUIRED: The complete policy to be applied to the `resource`.
|
SetIamPolicyRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
SetIamPolicyRequest.Builder |
setResource(java.lang.String value)
REQUIRED: The resource for which the policy is being specified.
|
SetIamPolicyRequest.Builder |
setResourceBytes(com.google.protobuf.ByteString value)
REQUIRED: The resource for which the policy is being specified.
|
SetIamPolicyRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SetIamPolicyRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SetIamPolicyRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SetIamPolicyRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest.Builder mergeFrom(SetIamPolicyRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public SetIamPolicyRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetIamPolicyRequest.Builder>java.io.IOExceptionpublic java.lang.String getResource()
REQUIRED: The resource for which the policy is being specified.
`resource` is usually specified as a path. For example, a Project
resource is specified as `projects/{project}`.
string resource = 1;getResource in interface SetIamPolicyRequestOrBuilderpublic com.google.protobuf.ByteString getResourceBytes()
REQUIRED: The resource for which the policy is being specified.
`resource` is usually specified as a path. For example, a Project
resource is specified as `projects/{project}`.
string resource = 1;getResourceBytes in interface SetIamPolicyRequestOrBuilderpublic SetIamPolicyRequest.Builder setResource(java.lang.String value)
REQUIRED: The resource for which the policy is being specified.
`resource` is usually specified as a path. For example, a Project
resource is specified as `projects/{project}`.
string resource = 1;public SetIamPolicyRequest.Builder clearResource()
REQUIRED: The resource for which the policy is being specified.
`resource` is usually specified as a path. For example, a Project
resource is specified as `projects/{project}`.
string resource = 1;public SetIamPolicyRequest.Builder setResourceBytes(com.google.protobuf.ByteString value)
REQUIRED: The resource for which the policy is being specified.
`resource` is usually specified as a path. For example, a Project
resource is specified as `projects/{project}`.
string resource = 1;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 a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;hasPolicy in interface SetIamPolicyRequestOrBuilderpublic 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 a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;getPolicy in interface SetIamPolicyRequestOrBuilderpublic SetIamPolicyRequest.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 a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;public SetIamPolicyRequest.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 a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;public SetIamPolicyRequest.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 a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;public SetIamPolicyRequest.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 a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;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 a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;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 a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;getPolicyOrBuilder in interface SetIamPolicyRequestOrBuilderpublic final SetIamPolicyRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>public final SetIamPolicyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyRequest.Builder>