public static final class IamPolicyAnalysisResult.Access.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder> implements IamPolicyAnalysisResult.AccessOrBuilder
An IAM role or permission under analysis.Protobuf type
google.cloud.asset.v1.IamPolicyAnalysisResult.Access
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public IamPolicyAnalysisResult.Access build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public IamPolicyAnalysisResult.Access buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public IamPolicyAnalysisResult.Access.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access.Builder mergeFrom(IamPolicyAnalysisResult.Access other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public IamPolicyAnalysisResult.Access.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicyAnalysisResult.Access.Builder>
IOException
public IamPolicyAnalysisResult.Access.OneofAccessCase getOneofAccessCase()
getOneofAccessCase
in interface IamPolicyAnalysisResult.AccessOrBuilder
public IamPolicyAnalysisResult.Access.Builder clearOneofAccess()
public boolean hasRole()
The role.
string role = 1;
hasRole
in interface IamPolicyAnalysisResult.AccessOrBuilder
public String getRole()
The role.
string role = 1;
getRole
in interface IamPolicyAnalysisResult.AccessOrBuilder
public ByteString getRoleBytes()
The role.
string role = 1;
getRoleBytes
in interface IamPolicyAnalysisResult.AccessOrBuilder
public IamPolicyAnalysisResult.Access.Builder setRole(String value)
The role.
string role = 1;
value
- The role to set.public IamPolicyAnalysisResult.Access.Builder clearRole()
The role.
string role = 1;
public IamPolicyAnalysisResult.Access.Builder setRoleBytes(ByteString value)
The role.
string role = 1;
value
- The bytes for role to set.public boolean hasPermission()
The permission.
string permission = 2;
hasPermission
in interface IamPolicyAnalysisResult.AccessOrBuilder
public String getPermission()
The permission.
string permission = 2;
getPermission
in interface IamPolicyAnalysisResult.AccessOrBuilder
public ByteString getPermissionBytes()
The permission.
string permission = 2;
getPermissionBytes
in interface IamPolicyAnalysisResult.AccessOrBuilder
public IamPolicyAnalysisResult.Access.Builder setPermission(String value)
The permission.
string permission = 2;
value
- The permission to set.public IamPolicyAnalysisResult.Access.Builder clearPermission()
The permission.
string permission = 2;
public IamPolicyAnalysisResult.Access.Builder setPermissionBytes(ByteString value)
The permission.
string permission = 2;
value
- The bytes for permission to set.public boolean hasAnalysisState()
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
hasAnalysisState
in interface IamPolicyAnalysisResult.AccessOrBuilder
public IamPolicyAnalysisState getAnalysisState()
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
getAnalysisState
in interface IamPolicyAnalysisResult.AccessOrBuilder
public IamPolicyAnalysisResult.Access.Builder setAnalysisState(IamPolicyAnalysisState value)
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
public IamPolicyAnalysisResult.Access.Builder setAnalysisState(IamPolicyAnalysisState.Builder builderForValue)
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
public IamPolicyAnalysisResult.Access.Builder mergeAnalysisState(IamPolicyAnalysisState value)
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
public IamPolicyAnalysisResult.Access.Builder clearAnalysisState()
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
public IamPolicyAnalysisState.Builder getAnalysisStateBuilder()
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
public IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder()
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
getAnalysisStateOrBuilder
in interface IamPolicyAnalysisResult.AccessOrBuilder
public final IamPolicyAnalysisResult.Access.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
public final IamPolicyAnalysisResult.Access.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder>
Copyright © 2022 Google LLC. All rights reserved.