Class TroubleshootIamPolicyRequest.Builder (1.27.0)

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

Request for TroubleshootIamPolicy.

Protobuf type google.cloud.policytroubleshooter.v1.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.v1.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 Explanations.AccessTuple getAccessTuple()

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

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

Returns
TypeDescription
Explanations.AccessTuple

The accessTuple.

getAccessTupleBuilder()

public Explanations.AccessTuple.Builder getAccessTupleBuilder()

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

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

Returns
TypeDescription
Explanations.AccessTuple.Builder

getAccessTupleOrBuilder()

public Explanations.AccessTupleOrBuilder getAccessTupleOrBuilder()

The information to use for checking whether a principal 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

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.v1.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(Explanations.AccessTuple value)

public TroubleshootIamPolicyRequest.Builder mergeAccessTuple(Explanations.AccessTuple value)

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

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

Parameter
NameDescription
valueExplanations.AccessTuple
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(Explanations.AccessTuple value)

public TroubleshootIamPolicyRequest.Builder setAccessTuple(Explanations.AccessTuple value)

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

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

Parameter
NameDescription
valueExplanations.AccessTuple
Returns
TypeDescription
TroubleshootIamPolicyRequest.Builder

setAccessTuple(Explanations.AccessTuple.Builder builderForValue)

public TroubleshootIamPolicyRequest.Builder setAccessTuple(Explanations.AccessTuple.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueExplanations.AccessTuple.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