Class Violation.Remediation.Instructions.Builder (2.31.0)

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

Instructions to remediate violation

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Violation.Remediation.Instructions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Violation.Remediation.Instructions.Builder clear()
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides

clearConsoleInstructions()

public Violation.Remediation.Instructions.Builder clearConsoleInstructions()

Remediation instructions to resolve violation via cloud console

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

Returns
TypeDescription
Violation.Remediation.Instructions.Builder

clearField(Descriptors.FieldDescriptor field)

public Violation.Remediation.Instructions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides

clearGcloudInstructions()

public Violation.Remediation.Instructions.Builder clearGcloudInstructions()

Remediation instructions to resolve violation via gcloud cli

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

Returns
TypeDescription
Violation.Remediation.Instructions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Violation.Remediation.Instructions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides

clone()

public Violation.Remediation.Instructions.Builder clone()
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
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.

getConsoleInstructionsBuilder()

public Violation.Remediation.Instructions.Console.Builder getConsoleInstructionsBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getGcloudInstructionsBuilder()

public Violation.Remediation.Instructions.Gcloud.Builder getGcloudInstructionsBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConsoleInstructions(Violation.Remediation.Instructions.Console value)

public Violation.Remediation.Instructions.Builder mergeConsoleInstructions(Violation.Remediation.Instructions.Console value)

Remediation instructions to resolve violation via cloud console

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

Parameter
NameDescription
valueViolation.Remediation.Instructions.Console
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

mergeFrom(Violation.Remediation.Instructions other)

public Violation.Remediation.Instructions.Builder mergeFrom(Violation.Remediation.Instructions other)
Parameter
NameDescription
otherViolation.Remediation.Instructions
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Violation.Remediation.Instructions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides

mergeGcloudInstructions(Violation.Remediation.Instructions.Gcloud value)

public Violation.Remediation.Instructions.Builder mergeGcloudInstructions(Violation.Remediation.Instructions.Gcloud value)

Remediation instructions to resolve violation via gcloud cli

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

Parameter
NameDescription
valueViolation.Remediation.Instructions.Gcloud
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Violation.Remediation.Instructions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides

setConsoleInstructions(Violation.Remediation.Instructions.Console value)

public Violation.Remediation.Instructions.Builder setConsoleInstructions(Violation.Remediation.Instructions.Console value)

Remediation instructions to resolve violation via cloud console

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

Parameter
NameDescription
valueViolation.Remediation.Instructions.Console
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

setConsoleInstructions(Violation.Remediation.Instructions.Console.Builder builderForValue)

public Violation.Remediation.Instructions.Builder setConsoleInstructions(Violation.Remediation.Instructions.Console.Builder builderForValue)

Remediation instructions to resolve violation via cloud console

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

Parameter
NameDescription
builderForValueViolation.Remediation.Instructions.Console.Builder
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Violation.Remediation.Instructions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides

setGcloudInstructions(Violation.Remediation.Instructions.Gcloud value)

public Violation.Remediation.Instructions.Builder setGcloudInstructions(Violation.Remediation.Instructions.Gcloud value)

Remediation instructions to resolve violation via gcloud cli

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

Parameter
NameDescription
valueViolation.Remediation.Instructions.Gcloud
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

setGcloudInstructions(Violation.Remediation.Instructions.Gcloud.Builder builderForValue)

public Violation.Remediation.Instructions.Builder setGcloudInstructions(Violation.Remediation.Instructions.Gcloud.Builder builderForValue)

Remediation instructions to resolve violation via gcloud cli

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

Parameter
NameDescription
builderForValueViolation.Remediation.Instructions.Gcloud.Builder
Returns
TypeDescription
Violation.Remediation.Instructions.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Violation.Remediation.Instructions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Violation.Remediation.Instructions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Violation.Remediation.Instructions.Builder
Overrides