Class ExecutionResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.workloadmanager.v1.ExecutionResult
- All Implemented Interfaces:
ExecutionResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ExecutionResult
extends com.google.protobuf.GeneratedMessage
implements ExecutionResultOrBuilder
The result of an execution.Protobuf type
google.cloud.workloadmanager.v1.ExecutionResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe result of an execution.static enumEnum of execution result type.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCommands(int index) The commands to remediate the violation.intThe commands to remediate the violation.The commands to remediate the violation.getCommandsOrBuilder(int index) The commands to remediate the violation.List<? extends CommandOrBuilder>The commands to remediate the violation.static ExecutionResultstatic final com.google.protobuf.Descriptors.DescriptorThe URL for the documentation of the rule.com.google.protobuf.ByteStringThe URL for the documentation of the rule.com.google.protobuf.Parser<ExecutionResult>The resource that violates the rule.The resource that violates the rule.getRule()The rule that is violated in an evaluation.com.google.protobuf.ByteStringThe rule that is violated in an evaluation.intThe severity of violation.com.google.protobuf.ByteStringThe severity of violation.getType()Execution result type of the scanned resource.intExecution result type of the scanned resource.The details of violation in an evaluation result.The details of violation in an evaluation result.The violation message of an execution.com.google.protobuf.ByteStringThe violation message of an execution.inthashCode()booleanThe resource that violates the rule.booleanThe details of violation in an evaluation result.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ExecutionResult.Builderstatic ExecutionResult.BuildernewBuilder(ExecutionResult prototype) protected ExecutionResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ExecutionResultparseDelimitedFrom(InputStream input) static ExecutionResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutionResultparseFrom(byte[] data) static ExecutionResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutionResultparseFrom(com.google.protobuf.ByteString data) static ExecutionResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutionResultparseFrom(com.google.protobuf.CodedInputStream input) static ExecutionResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutionResultparseFrom(InputStream input) static ExecutionResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutionResultparseFrom(ByteBuffer data) static ExecutionResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ExecutionResult>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VIOLATION_MESSAGE_FIELD_NUMBER
public static final int VIOLATION_MESSAGE_FIELD_NUMBER- See Also:
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER- See Also:
-
RULE_FIELD_NUMBER
public static final int RULE_FIELD_NUMBER- See Also:
-
DOCUMENTATION_URL_FIELD_NUMBER
public static final int DOCUMENTATION_URL_FIELD_NUMBER- See Also:
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER- See Also:
-
VIOLATION_DETAILS_FIELD_NUMBER
public static final int VIOLATION_DETAILS_FIELD_NUMBER- See Also:
-
COMMANDS_FIELD_NUMBER
public static final int COMMANDS_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getViolationMessage
The violation message of an execution.
string violation_message = 1;- Specified by:
getViolationMessagein interfaceExecutionResultOrBuilder- Returns:
- The violationMessage.
-
getViolationMessageBytes
public com.google.protobuf.ByteString getViolationMessageBytes()The violation message of an execution.
string violation_message = 1;- Specified by:
getViolationMessageBytesin interfaceExecutionResultOrBuilder- Returns:
- The bytes for violationMessage.
-
getSeverity
The severity of violation.
string severity = 2;- Specified by:
getSeverityin interfaceExecutionResultOrBuilder- Returns:
- The severity.
-
getSeverityBytes
public com.google.protobuf.ByteString getSeverityBytes()The severity of violation.
string severity = 2;- Specified by:
getSeverityBytesin interfaceExecutionResultOrBuilder- Returns:
- The bytes for severity.
-
getRule
The rule that is violated in an evaluation.
string rule = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getRulein interfaceExecutionResultOrBuilder- Returns:
- The rule.
-
getRuleBytes
public com.google.protobuf.ByteString getRuleBytes()The rule that is violated in an evaluation.
string rule = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getRuleBytesin interfaceExecutionResultOrBuilder- Returns:
- The bytes for rule.
-
getDocumentationUrl
The URL for the documentation of the rule.
string documentation_url = 4;- Specified by:
getDocumentationUrlin interfaceExecutionResultOrBuilder- Returns:
- The documentationUrl.
-
getDocumentationUrlBytes
public com.google.protobuf.ByteString getDocumentationUrlBytes()The URL for the documentation of the rule.
string documentation_url = 4;- Specified by:
getDocumentationUrlBytesin interfaceExecutionResultOrBuilder- Returns:
- The bytes for documentationUrl.
-
hasResource
public boolean hasResource()The resource that violates the rule.
.google.cloud.workloadmanager.v1.Resource resource = 5;- Specified by:
hasResourcein interfaceExecutionResultOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
The resource that violates the rule.
.google.cloud.workloadmanager.v1.Resource resource = 5;- Specified by:
getResourcein interfaceExecutionResultOrBuilder- Returns:
- The resource.
-
getResourceOrBuilder
The resource that violates the rule.
.google.cloud.workloadmanager.v1.Resource resource = 5;- Specified by:
getResourceOrBuilderin interfaceExecutionResultOrBuilder
-
hasViolationDetails
public boolean hasViolationDetails()The details of violation in an evaluation result.
.google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;- Specified by:
hasViolationDetailsin interfaceExecutionResultOrBuilder- Returns:
- Whether the violationDetails field is set.
-
getViolationDetails
The details of violation in an evaluation result.
.google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;- Specified by:
getViolationDetailsin interfaceExecutionResultOrBuilder- Returns:
- The violationDetails.
-
getViolationDetailsOrBuilder
The details of violation in an evaluation result.
.google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;- Specified by:
getViolationDetailsOrBuilderin interfaceExecutionResultOrBuilder
-
getCommandsList
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;- Specified by:
getCommandsListin interfaceExecutionResultOrBuilder
-
getCommandsOrBuilderList
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;- Specified by:
getCommandsOrBuilderListin interfaceExecutionResultOrBuilder
-
getCommandsCount
public int getCommandsCount()The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;- Specified by:
getCommandsCountin interfaceExecutionResultOrBuilder
-
getCommands
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;- Specified by:
getCommandsin interfaceExecutionResultOrBuilder
-
getCommandsOrBuilder
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7;- Specified by:
getCommandsOrBuilderin interfaceExecutionResultOrBuilder
-
getTypeValue
public int getTypeValue()Execution result type of the scanned resource.
.google.cloud.workloadmanager.v1.ExecutionResult.Type type = 8;- Specified by:
getTypeValuein interfaceExecutionResultOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Execution result type of the scanned resource.
.google.cloud.workloadmanager.v1.ExecutionResult.Type type = 8;- Specified by:
getTypein interfaceExecutionResultOrBuilder- Returns:
- The type.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ExecutionResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ExecutionResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ExecutionResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ExecutionResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ExecutionResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ExecutionResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-