public static final class AnalyzeIamPolicyResponse.Builder extends GeneratedMessageV3.Builder<AnalyzeIamPolicyResponse.Builder> implements AnalyzeIamPolicyResponseOrBuilder
A response message for AssetService.AnalyzeIamPolicy.
Protobuf type google.cloud.asset.v1.AnalyzeIamPolicyResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllServiceAccountImpersonationAnalysis(Iterable<? extends AnalyzeIamPolicyResponse.IamPolicyAnalysis> values)
public AnalyzeIamPolicyResponse.Builder addAllServiceAccountImpersonationAnalysis(Iterable<? extends AnalyzeIamPolicyResponse.IamPolicyAnalysis> values)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addServiceAccountImpersonationAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameter
Returns
addServiceAccountImpersonationAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameter
Returns
addServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameters
Returns
addServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameters
Returns
addServiceAccountImpersonationAnalysisBuilder()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder()
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Returns
addServiceAccountImpersonationAnalysisBuilder(int index)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder(int index)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameter
Name |
Description |
index |
int
|
Returns
build()
public AnalyzeIamPolicyResponse build()
Returns
buildPartial()
public AnalyzeIamPolicyResponse buildPartial()
Returns
clear()
public AnalyzeIamPolicyResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AnalyzeIamPolicyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFullyExplored()
public AnalyzeIamPolicyResponse.Builder clearFullyExplored()
Represents whether all entries in the main_analysis and
service_account_impersonation_analysis have been fully explored to
answer the query in the request.
bool fully_explored = 3;
Returns
clearMainAnalysis()
public AnalyzeIamPolicyResponse.Builder clearMainAnalysis()
The main analysis that matches the original request.
.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeIamPolicyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceAccountImpersonationAnalysis()
public AnalyzeIamPolicyResponse.Builder clearServiceAccountImpersonationAnalysis()
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Returns
clone()
public AnalyzeIamPolicyResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AnalyzeIamPolicyResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFullyExplored()
public boolean getFullyExplored()
Represents whether all entries in the main_analysis and
service_account_impersonation_analysis have been fully explored to
answer the query in the request.
bool fully_explored = 3;
Returns
Type |
Description |
boolean |
The fullyExplored.
|
getMainAnalysis()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis()
The main analysis that matches the original request.
.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Returns
getMainAnalysisBuilder()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getMainAnalysisBuilder()
The main analysis that matches the original request.
.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Returns
getMainAnalysisOrBuilder()
public AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder()
The main analysis that matches the original request.
.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Returns
getServiceAccountImpersonationAnalysis(int index)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getServiceAccountImpersonationAnalysisBuilder(int index)
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getServiceAccountImpersonationAnalysisBuilder(int index)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getServiceAccountImpersonationAnalysisBuilderList()
public List<AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder> getServiceAccountImpersonationAnalysisBuilderList()
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Returns
getServiceAccountImpersonationAnalysisCount()
public int getServiceAccountImpersonationAnalysisCount()
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Returns
getServiceAccountImpersonationAnalysisList()
public List<AnalyzeIamPolicyResponse.IamPolicyAnalysis> getServiceAccountImpersonationAnalysisList()
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Returns
getServiceAccountImpersonationAnalysisOrBuilder(int index)
public AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder(int index)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getServiceAccountImpersonationAnalysisOrBuilderList()
public List<? extends AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisOrBuilderList()
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Returns
Type |
Description |
List<? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> |
|
hasMainAnalysis()
public boolean hasMainAnalysis()
The main analysis that matches the original request.
.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Returns
Type |
Description |
boolean |
Whether the mainAnalysis field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AnalyzeIamPolicyResponse other)
public AnalyzeIamPolicyResponse.Builder mergeFrom(AnalyzeIamPolicyResponse other)
Parameter
Returns
public AnalyzeIamPolicyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeIamPolicyResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
public AnalyzeIamPolicyResponse.Builder mergeMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
The main analysis that matches the original request.
.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeServiceAccountImpersonationAnalysis(int index)
public AnalyzeIamPolicyResponse.Builder removeServiceAccountImpersonationAnalysis(int index)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameter
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFullyExplored(boolean value)
public AnalyzeIamPolicyResponse.Builder setFullyExplored(boolean value)
Represents whether all entries in the main_analysis and
service_account_impersonation_analysis have been fully explored to
answer the query in the request.
bool fully_explored = 3;
Parameter
Name |
Description |
value |
boolean
The fullyExplored to set.
|
Returns
setMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
public AnalyzeIamPolicyResponse.Builder setMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
The main analysis that matches the original request.
.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Parameter
Returns
setMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
public AnalyzeIamPolicyResponse.Builder setMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
The main analysis that matches the original request.
.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeIamPolicyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
public AnalyzeIamPolicyResponse.Builder setServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameters
Returns
setServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
public AnalyzeIamPolicyResponse.Builder setServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
The service account impersonation analysis if
[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
enabled.
repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides