public final class LintPolicyRequest extends GeneratedMessageV3 implements LintPolicyRequestOrBuilder
The request to lint a Cloud IAM policy object.
Protobuf type google.iam.admin.v1.LintPolicyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FULL_RESOURCE_NAME_FIELD_NUMBER
public static final int FULL_RESOURCE_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LintPolicyRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LintPolicyRequest.Builder newBuilder()
newBuilder(LintPolicyRequest prototype)
public static LintPolicyRequest.Builder newBuilder(LintPolicyRequest prototype)
public static LintPolicyRequest parseDelimitedFrom(InputStream input)
public static LintPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LintPolicyRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LintPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LintPolicyRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LintPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LintPolicyRequest parseFrom(CodedInputStream input)
public static LintPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LintPolicyRequest parseFrom(InputStream input)
public static LintPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LintPolicyRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LintPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LintPolicyRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCondition()
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.
|
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()
getFullResourceName()
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()
getParserForType()
public Parser<LintPolicyRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LintPolicyRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LintPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public LintPolicyRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides