Class Violation.Remediation.Instructions.Gcloud (2.46.0)

public static final class Violation.Remediation.Instructions.Gcloud extends GeneratedMessageV3 implements Violation.Remediation.Instructions.GcloudOrBuilder

Remediation instructions to resolve violation via gcloud cli

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

Inheritance

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

Static Fields

public static final int ADDITIONAL_LINKS_FIELD_NUMBER
Field Value
Type Description
int

GCLOUD_COMMANDS_FIELD_NUMBER

public static final int GCLOUD_COMMANDS_FIELD_NUMBER
Field Value
Type Description
int

STEPS_FIELD_NUMBER

public static final int STEPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Violation.Remediation.Instructions.Gcloud prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public String getAdditionalLinks(int index)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The additionalLinks at the given index.

getAdditionalLinksBytes(int index)

public ByteString getAdditionalLinksBytes(int index)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the additionalLinks at the given index.

getAdditionalLinksCount()

public int getAdditionalLinksCount()

Additional urls for more information about steps

repeated string additional_links = 3;

Returns
Type Description
int

The count of additionalLinks.

public ProtocolStringList getAdditionalLinksList()

Additional urls for more information about steps

repeated string additional_links = 3;

Returns
Type Description
ProtocolStringList

A list containing the additionalLinks.

getDefaultInstanceForType()

public Violation.Remediation.Instructions.Gcloud getDefaultInstanceForType()
Returns
Type Description
Violation.Remediation.Instructions.Gcloud

getGcloudCommands(int index)

public String getGcloudCommands(int index)

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The gcloudCommands at the given index.

getGcloudCommandsBytes(int index)

public ByteString getGcloudCommandsBytes(int index)

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the gcloudCommands at the given index.

getGcloudCommandsCount()

public int getGcloudCommandsCount()

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Returns
Type Description
int

The count of gcloudCommands.

getGcloudCommandsList()

public ProtocolStringList getGcloudCommandsList()

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Returns
Type Description
ProtocolStringList

A list containing the gcloudCommands.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSteps(int index)

public String getSteps(int index)

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The steps at the given index.

getStepsBytes(int index)

public ByteString getStepsBytes(int index)

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the steps at the given index.

getStepsCount()

public int getStepsCount()

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Returns
Type Description
int

The count of steps.

getStepsList()

public ProtocolStringList getStepsList()

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Returns
Type Description
ProtocolStringList

A list containing the steps.

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.Gcloud.Builder newBuilderForType()
Returns
Type Description
Violation.Remediation.Instructions.Gcloud.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Violation.Remediation.Instructions.Gcloud.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Violation.Remediation.Instructions.Gcloud.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.Gcloud.Builder toBuilder()
Returns
Type Description
Violation.Remediation.Instructions.Gcloud.Builder

writeTo(CodedOutputStream output)

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