Class TroubleshootIamPolicyRequest.Builder (1.50.0)

public static final class TroubleshootIamPolicyRequest.Builder extends GeneratedMessageV3.Builder<TroubleshootIamPolicyRequest.Builder> implements TroubleshootIamPolicyRequestOrBuilder

Request for TroubleshootIamPolicy.

Protobuf type google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TroubleshootIamPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides

build()

public TroubleshootIamPolicyRequest build()
Returns
Type Description
TroubleshootIamPolicyRequest

buildPartial()

public TroubleshootIamPolicyRequest buildPartial()
Returns
Type Description
TroubleshootIamPolicyRequest

clear()

public TroubleshootIamPolicyRequest.Builder clear()
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides

clearAccessTuple()

public TroubleshootIamPolicyRequest.Builder clearAccessTuple()

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

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 1;

Returns
Type Description
TroubleshootIamPolicyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public TroubleshootIamPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TroubleshootIamPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides

clone()

public TroubleshootIamPolicyRequest.Builder clone()
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides

getAccessTuple()

public AccessTuple getAccessTuple()

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

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 1;

Returns
Type Description
AccessTuple

The accessTuple.

getAccessTupleBuilder()

public AccessTuple.Builder getAccessTupleBuilder()

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

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 1;

Returns
Type Description
AccessTuple.Builder

getAccessTupleOrBuilder()

public AccessTupleOrBuilder getAccessTupleOrBuilder()

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

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 1;

Returns
Type Description
AccessTupleOrBuilder

getDefaultInstanceForType()

public TroubleshootIamPolicyRequest getDefaultInstanceForType()
Returns
Type Description
TroubleshootIamPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAccessTuple()

public boolean hasAccessTuple()

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

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 1;

Returns
Type Description
boolean

Whether the accessTuple field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessTuple(AccessTuple value)

public TroubleshootIamPolicyRequest.Builder mergeAccessTuple(AccessTuple value)

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

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 1;

Parameter
Name Description
value AccessTuple
Returns
Type Description
TroubleshootIamPolicyRequest.Builder

mergeFrom(TroubleshootIamPolicyRequest other)

public TroubleshootIamPolicyRequest.Builder mergeFrom(TroubleshootIamPolicyRequest other)
Parameter
Name Description
other TroubleshootIamPolicyRequest
Returns
Type Description
TroubleshootIamPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TroubleshootIamPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TroubleshootIamPolicyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TroubleshootIamPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides

setAccessTuple(AccessTuple value)

public TroubleshootIamPolicyRequest.Builder setAccessTuple(AccessTuple value)

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

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 1;

Parameter
Name Description
value AccessTuple
Returns
Type Description
TroubleshootIamPolicyRequest.Builder

setAccessTuple(AccessTuple.Builder builderForValue)

public TroubleshootIamPolicyRequest.Builder setAccessTuple(AccessTuple.Builder builderForValue)

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

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 1;

Parameter
Name Description
builderForValue AccessTuple.Builder
Returns
Type Description
TroubleshootIamPolicyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TroubleshootIamPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TroubleshootIamPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TroubleshootIamPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TroubleshootIamPolicyRequest.Builder
Overrides