Class TroubleshootIamPolicyRequest (1.17.0)

public final class TroubleshootIamPolicyRequest extends GeneratedMessageV3 implements TroubleshootIamPolicyRequestOrBuilder

Request for TroubleshootIamPolicy.

Protobuf type google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyRequest

Static Fields

ACCESS_TUPLE_FIELD_NUMBER

public static final int ACCESS_TUPLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TroubleshootIamPolicyRequest getDefaultInstance()
Returns
TypeDescription
TroubleshootIamPolicyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TroubleshootIamPolicyRequest.Builder newBuilder()
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder

newBuilder(TroubleshootIamPolicyRequest prototype)

public static TroubleshootIamPolicyRequest.Builder newBuilder(TroubleshootIamPolicyRequest prototype)
Parameter
NameDescription
prototypeTroubleshootIamPolicyRequest
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder

parseDelimitedFrom(InputStream input)

public static TroubleshootIamPolicyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TroubleshootIamPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TroubleshootIamPolicyRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TroubleshootIamPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TroubleshootIamPolicyRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TroubleshootIamPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TroubleshootIamPolicyRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TroubleshootIamPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TroubleshootIamPolicyRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TroubleshootIamPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TroubleshootIamPolicyRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TroubleshootIamPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TroubleshootIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TroubleshootIamPolicyRequest> parser()
Returns
TypeDescription
Parser<TroubleshootIamPolicyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAccessTuple()

public Explanations.AccessTuple getAccessTuple()

The information to use for checking whether a member has a permission for a resource.

.google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;

Returns
TypeDescription
Explanations.AccessTuple

The accessTuple.

getAccessTupleOrBuilder()

public Explanations.AccessTupleOrBuilder getAccessTupleOrBuilder()

The information to use for checking whether a member has a permission for a resource.

.google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;

Returns
TypeDescription
Explanations.AccessTupleOrBuilder

getDefaultInstanceForType()

public TroubleshootIamPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
TroubleshootIamPolicyRequest

getParserForType()

public Parser<TroubleshootIamPolicyRequest> getParserForType()
Returns
TypeDescription
Parser<TroubleshootIamPolicyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAccessTuple()

public boolean hasAccessTuple()

The information to use for checking whether a member has a permission for a resource.

.google.cloud.policytroubleshooter.v1.AccessTuple access_tuple = 1;

Returns
TypeDescription
boolean

Whether the accessTuple field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TroubleshootIamPolicyRequest.Builder newBuilderForType()
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TroubleshootIamPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TroubleshootIamPolicyRequest.Builder toBuilder()
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException