Class Violation.Remediation.Instructions.Gcloud (2.13.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
TypeDescription
int

GCLOUD_COMMANDS_FIELD_NUMBER

public static final int GCLOUD_COMMANDS_FIELD_NUMBER
Field Value
TypeDescription
int

STEPS_FIELD_NUMBER

public static final int STEPS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

public static Violation.Remediation.Instructions.Gcloud.Builder newBuilder()
Returns
TypeDescription
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
NameDescription
prototypeViolation.Remediation.Instructions.Gcloud
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides
public String getAdditionalLinks(int index)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of additionalLinks.

public ProtocolStringList getAdditionalLinksList()

Additional urls for more information about steps

repeated string additional_links = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the additionalLinks.

getDefaultInstanceForType()

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

getGcloudCommands(int index)

public String getGcloudCommands(int index)

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of gcloudCommands.

getGcloudCommandsList()

public ProtocolStringList getGcloudCommandsList()

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the gcloudCommands.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSteps(int index)

public String getSteps(int index)

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of steps.

getStepsList()

public ProtocolStringList getStepsList()

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the steps.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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