Class Violation.Remediation.Instructions (2.53.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
Type Description
int

GCLOUD_INSTRUCTIONS_FIELD_NUMBER

public static final int GCLOUD_INSTRUCTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Violation.Remediation.Instructions getDefaultInstance()
Returns
Type Description
Violation.Remediation.Instructions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Violation.Remediation.Instructions.Builder newBuilder()
Returns
Type Description
Violation.Remediation.Instructions.Builder

newBuilder(Violation.Remediation.Instructions prototype)

public static Violation.Remediation.Instructions.Builder newBuilder(Violation.Remediation.Instructions prototype)
Parameter
Name Description
prototype Violation.Remediation.Instructions
Returns
Type Description
Violation.Remediation.Instructions.Builder

parseDelimitedFrom(InputStream input)

public static Violation.Remediation.Instructions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Violation.Remediation.Instructions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Violation.Remediation.Instructions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Violation.Remediation.Instructions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Violation.Remediation.Instructions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Violation.Remediation.Instructions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Violation.Remediation.Instructions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Violation.Remediation.Instructions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
Violation.Remediation.Instructions.ConsoleOrBuilder

getDefaultInstanceForType()

public Violation.Remediation.Instructions getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
Violation.Remediation.Instructions.GcloudOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
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
Type Description
boolean

Whether the gcloudInstructions field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Violation.Remediation.Instructions.Builder newBuilderForType()
Returns
Type Description
Violation.Remediation.Instructions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Violation.Remediation.Instructions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Violation.Remediation.Instructions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Violation.Remediation.Instructions.Builder toBuilder()
Returns
Type Description
Violation.Remediation.Instructions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException