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
Static Fields
public static final int ADDITIONAL_LINKS_FIELD_NUMBER
Field Value
public static final int GCLOUD_COMMANDS_FIELD_NUMBER
Field Value
public static final int STEPS_FIELD_NUMBER
Field Value
Static Methods
public static Violation.Remediation.Instructions.Gcloud getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Violation.Remediation.Instructions.Gcloud.Builder newBuilder()
Returns
public static Violation.Remediation.Instructions.Gcloud.Builder newBuilder(Violation.Remediation.Instructions.Gcloud prototype)
Parameter
Returns
public static Violation.Remediation.Instructions.Gcloud parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Violation.Remediation.Instructions.Gcloud parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Violation.Remediation.Instructions.Gcloud> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
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.
|
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.
|
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
public Violation.Remediation.Instructions.Gcloud getDefaultInstanceForType()
Returns
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.
|
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.
|
public int getGcloudCommandsCount()
Gcloud command to resolve violation
repeated string gcloud_commands = 1;
Returns
Type | Description |
int | The count of gcloudCommands.
|
public ProtocolStringList getGcloudCommandsList()
Gcloud command to resolve violation
repeated string gcloud_commands = 1;
Returns
public Parser<Violation.Remediation.Instructions.Gcloud> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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.
|
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.
|
public int getStepsCount()
Steps to resolve violation via gcloud cli
repeated string steps = 2;
Returns
Type | Description |
int | The count of steps.
|
public ProtocolStringList getStepsList()
Steps to resolve violation via gcloud cli
repeated string steps = 2;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Violation.Remediation.Instructions.Gcloud.Builder newBuilderForType()
Returns
protected Violation.Remediation.Instructions.Gcloud.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Violation.Remediation.Instructions.Gcloud.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions