public static final class LintPolicyRequest.Builder extends GeneratedMessageV3.Builder<LintPolicyRequest.Builder> implements LintPolicyRequestOrBuilder
The request to lint a Cloud IAM policy object.
Protobuf type google.iam.admin.v1.LintPolicyRequest
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LintPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overridesbuild()
public LintPolicyRequest build()
buildPartial()
public LintPolicyRequest buildPartial()
clear()
public LintPolicyRequest.Builder clear()
OverridesclearCondition()
public LintPolicyRequest.Builder clearCondition()
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;
clearField(Descriptors.FieldDescriptor field)
public LintPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearFullResourceName()
public LintPolicyRequest.Builder clearFullResourceName()
The full resource name of the policy this lint request is about.
The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID my-project
will be named //cloudresourcemanager.googleapis.com/projects/my-project
.
The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;
clearLintObject()
public LintPolicyRequest.Builder clearLintObject()
clearOneof(Descriptors.OneofDescriptor oneof)
public LintPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overridesclone()
public LintPolicyRequest.Builder clone()
OverridesgetCondition()
public Expr getCondition()
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;
Returns |
---|
Type | Description |
com.google.type.Expr | The condition. |
getConditionBuilder()
public Expr.Builder getConditionBuilder()
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;
Returns |
---|
Type | Description |
com.google.type.Expr.Builder | |
getConditionOrBuilder()
public ExprOrBuilder getConditionOrBuilder()
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;
Returns |
---|
Type | Description |
com.google.type.ExprOrBuilder | |
getDefaultInstanceForType()
public LintPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverridesgetFullResourceName()
public String getFullResourceName()
The full resource name of the policy this lint request is about.
The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID my-project
will be named //cloudresourcemanager.googleapis.com/projects/my-project
.
The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;
Returns |
---|
Type | Description |
String | The fullResourceName. |
getFullResourceNameBytes()
public ByteString getFullResourceNameBytes()
The full resource name of the policy this lint request is about.
The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID my-project
will be named //cloudresourcemanager.googleapis.com/projects/my-project
.
The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for fullResourceName. |
getLintObjectCase()
public LintPolicyRequest.LintObjectCase getLintObjectCase()
hasCondition()
public boolean hasCondition()
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;
Returns |
---|
Type | Description |
boolean | Whether the condition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
OverridesisInitialized()
public final boolean isInitialized()
OverridesmergeCondition(Expr value)
public LintPolicyRequest.Builder mergeCondition(Expr value)
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;
Parameter |
---|
Name | Description |
value | com.google.type.Expr
|
mergeFrom(LintPolicyRequest other)
public LintPolicyRequest.Builder mergeFrom(LintPolicyRequest other)
public LintPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public LintPolicyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeUnknownFields(UnknownFieldSet unknownFields)
public final LintPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridessetCondition(Expr value)
public LintPolicyRequest.Builder setCondition(Expr value)
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;
Parameter |
---|
Name | Description |
value | com.google.type.Expr
|
setCondition(Expr.Builder builderForValue)
public LintPolicyRequest.Builder setCondition(Expr.Builder builderForValue)
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;
Parameter |
---|
Name | Description |
builderForValue | com.google.type.Expr.Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public LintPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetFullResourceName(String value)
public LintPolicyRequest.Builder setFullResourceName(String value)
The full resource name of the policy this lint request is about.
The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID my-project
will be named //cloudresourcemanager.googleapis.com/projects/my-project
.
The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;
Parameter |
---|
Name | Description |
value | String
The fullResourceName to set. |
setFullResourceNameBytes(ByteString value)
public LintPolicyRequest.Builder setFullResourceNameBytes(ByteString value)
The full resource name of the policy this lint request is about.
The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID my-project
will be named //cloudresourcemanager.googleapis.com/projects/my-project
.
The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for fullResourceName to set. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LintPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetUnknownFields(UnknownFieldSet unknownFields)
public final LintPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides