public final class ExecutionResult extends GeneratedMessage implements ExecutionResultOrBuilder
The result of an execution.
Protobuf type google.cloud.workloadmanager.v1.ExecutionResult
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
COMMANDS_FIELD_NUMBER
public static final int COMMANDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DOCUMENTATION_URL_FIELD_NUMBER
public static final int DOCUMENTATION_URL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RULE_FIELD_NUMBER
public static final int RULE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VIOLATION_DETAILS_FIELD_NUMBER
public static final int VIOLATION_DETAILS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VIOLATION_MESSAGE_FIELD_NUMBER
public static final int VIOLATION_MESSAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ExecutionResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExecutionResult.Builder newBuilder()
newBuilder(ExecutionResult prototype)
public static ExecutionResult.Builder newBuilder(ExecutionResult prototype)
public static ExecutionResult parseDelimitedFrom(InputStream input)
public static ExecutionResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExecutionResult parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExecutionResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExecutionResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecutionResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecutionResult parseFrom(CodedInputStream input)
public static ExecutionResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExecutionResult parseFrom(InputStream input)
public static ExecutionResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExecutionResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExecutionResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExecutionResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCommands(int index)
public Command getCommands(int index)
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;
| Parameter |
| Name |
Description |
index |
int
|
getCommandsCount()
public int getCommandsCount()
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;
| Returns |
| Type |
Description |
int |
|
getCommandsList()
public List<Command> getCommandsList()
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;
getCommandsOrBuilder(int index)
public CommandOrBuilder getCommandsOrBuilder(int index)
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;
| Parameter |
| Name |
Description |
index |
int
|
getCommandsOrBuilderList()
public List<? extends CommandOrBuilder> getCommandsOrBuilderList()
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.workloadmanager.v1.CommandOrBuilder> |
|
getDefaultInstanceForType()
public ExecutionResult getDefaultInstanceForType()
getDocumentationUrl()
public String getDocumentationUrl()
The URL for the documentation of the rule.
string documentation_url = 4;
| Returns |
| Type |
Description |
String |
The documentationUrl.
|
getDocumentationUrlBytes()
public ByteString getDocumentationUrlBytes()
The URL for the documentation of the rule.
string documentation_url = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for documentationUrl.
|
getParserForType()
public Parser<ExecutionResult> getParserForType()
Overrides
getResource()
public Resource getResource()
The resource that violates the rule.
.google.cloud.workloadmanager.v1.Resource resource = 5;
| Returns |
| Type |
Description |
Resource |
The resource.
|
getResourceOrBuilder()
public ResourceOrBuilder getResourceOrBuilder()
The resource that violates the rule.
.google.cloud.workloadmanager.v1.Resource resource = 5;
getRule()
The rule that is violated in an evaluation.
string rule = 3 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The rule.
|
getRuleBytes()
public ByteString getRuleBytes()
The rule that is violated in an evaluation.
string rule = 3 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for rule.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSeverity()
public String getSeverity()
The severity of violation.
string severity = 2;
| Returns |
| Type |
Description |
String |
The severity.
|
getSeverityBytes()
public ByteString getSeverityBytes()
The severity of violation.
string severity = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for severity.
|
getType()
public ExecutionResult.Type getType()
Execution result type of the scanned resource.
.google.cloud.workloadmanager.v1.ExecutionResult.Type type = 8;
getTypeValue()
public int getTypeValue()
Execution result type of the scanned resource.
.google.cloud.workloadmanager.v1.ExecutionResult.Type type = 8;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for type.
|
getViolationDetails()
public ViolationDetails getViolationDetails()
The details of violation in an evaluation result.
.google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;
getViolationDetailsOrBuilder()
public ViolationDetailsOrBuilder getViolationDetailsOrBuilder()
The details of violation in an evaluation result.
.google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;
getViolationMessage()
public String getViolationMessage()
The violation message of an execution.
string violation_message = 1;
| Returns |
| Type |
Description |
String |
The violationMessage.
|
getViolationMessageBytes()
public ByteString getViolationMessageBytes()
The violation message of an execution.
string violation_message = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for violationMessage.
|
hasResource()
public boolean hasResource()
The resource that violates the rule.
.google.cloud.workloadmanager.v1.Resource resource = 5;
| Returns |
| Type |
Description |
boolean |
Whether the resource field is set.
|
hasViolationDetails()
public boolean hasViolationDetails()
The details of violation in an evaluation result.
.google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;
| Returns |
| Type |
Description |
boolean |
Whether the violationDetails field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExecutionResult.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ExecutionResult.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ExecutionResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides