Class TroubleshootIamPolicyRequest.Builder (1.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TroubleshootIamPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder
Overrides

build()

public TroubleshootIamPolicyRequest build()
Returns
TypeDescription
TroubleshootIamPolicyRequest

buildPartial()

public TroubleshootIamPolicyRequest buildPartial()
Returns
TypeDescription
TroubleshootIamPolicyRequest

clear()

public TroubleshootIamPolicyRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
TroubleshootIamPolicyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public TroubleshootIamPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TroubleshootIamPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder
Overrides

clone()

public TroubleshootIamPolicyRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AccessTupleOrBuilder

getDefaultInstanceForType()

public TroubleshootIamPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
TroubleshootIamPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the accessTuple field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAccessTuple
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder

mergeFrom(TroubleshootIamPolicyRequest other)

public TroubleshootIamPolicyRequest.Builder mergeFrom(TroubleshootIamPolicyRequest other)
Parameter
NameDescription
otherTroubleshootIamPolicyRequest
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TroubleshootIamPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TroubleshootIamPolicyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TroubleshootIamPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAccessTuple
Returns
TypeDescription
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
NameDescription
builderForValueAccessTuple.Builder
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TroubleshootIamPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder
Overrides

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

public TroubleshootIamPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TroubleshootIamPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder
Overrides