Class Violation.Remediation.Instructions (2.16.0)

public static final class Violation.Remediation.Instructions extends GeneratedMessageV3 implements Violation.Remediation.InstructionsOrBuilder

Instructions to remediate violation

Protobuf type google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Violation.Remediation.Instructions

Static Fields

CONSOLE_INSTRUCTIONS_FIELD_NUMBER

public static final int CONSOLE_INSTRUCTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

GCLOUD_INSTRUCTIONS_FIELD_NUMBER

public static final int GCLOUD_INSTRUCTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Violation.Remediation.Instructions getDefaultInstance()
Returns
TypeDescription
Violation.Remediation.Instructions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Violation.Remediation.Instructions.Builder newBuilder()
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

newBuilder(Violation.Remediation.Instructions prototype)

public static Violation.Remediation.Instructions.Builder newBuilder(Violation.Remediation.Instructions prototype)
Parameter
NameDescription
prototypeViolation.Remediation.Instructions
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

parseDelimitedFrom(InputStream input)

public static Violation.Remediation.Instructions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Violation.Remediation.Instructions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Violation.Remediation.Instructions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Violation.Remediation.Instructions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Violation.Remediation.Instructions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Violation.Remediation.Instructions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Violation.Remediation.Instructions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Violation.Remediation.Instructions> parser()
Returns
TypeDescription
Parser<Instructions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConsoleInstructions()

public Violation.Remediation.Instructions.Console getConsoleInstructions()

Remediation instructions to resolve violation via cloud console

.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;

Returns
TypeDescription
Violation.Remediation.Instructions.Console

The consoleInstructions.

getConsoleInstructionsOrBuilder()

public Violation.Remediation.Instructions.ConsoleOrBuilder getConsoleInstructionsOrBuilder()

Remediation instructions to resolve violation via cloud console

.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;

Returns
TypeDescription
Violation.Remediation.Instructions.ConsoleOrBuilder

getDefaultInstanceForType()

public Violation.Remediation.Instructions getDefaultInstanceForType()
Returns
TypeDescription
Violation.Remediation.Instructions

getGcloudInstructions()

public Violation.Remediation.Instructions.Gcloud getGcloudInstructions()

Remediation instructions to resolve violation via gcloud cli

.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud

The gcloudInstructions.

getGcloudInstructionsOrBuilder()

public Violation.Remediation.Instructions.GcloudOrBuilder getGcloudInstructionsOrBuilder()

Remediation instructions to resolve violation via gcloud cli

.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;

Returns
TypeDescription
Violation.Remediation.Instructions.GcloudOrBuilder

getParserForType()

public Parser<Violation.Remediation.Instructions> getParserForType()
Returns
TypeDescription
Parser<Instructions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConsoleInstructions()

public boolean hasConsoleInstructions()

Remediation instructions to resolve violation via cloud console

.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;

Returns
TypeDescription
boolean

Whether the consoleInstructions field is set.

hasGcloudInstructions()

public boolean hasGcloudInstructions()

Remediation instructions to resolve violation via gcloud cli

.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;

Returns
TypeDescription
boolean

Whether the gcloudInstructions field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Violation.Remediation.Instructions.Builder newBuilderForType()
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Violation.Remediation.Instructions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Violation.Remediation.Instructions.Builder toBuilder()
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException