Class Violation.Remediation.Instructions.Gcloud.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
- com.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud.Builder
-
- All Implemented Interfaces:
Violation.Remediation.Instructions.GcloudOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Violation.Remediation.Instructions.Gcloud
public static final class Violation.Remediation.Instructions.Gcloud.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder> implements Violation.Remediation.Instructions.GcloudOrBuilder
Remediation instructions to resolve violation via gcloud cli
Protobuf typegoogle.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Violation.Remediation.Instructions.Gcloud.BuilderaddAdditionalLinks(String value)Additional urls for more information about stepsViolation.Remediation.Instructions.Gcloud.BuilderaddAdditionalLinksBytes(com.google.protobuf.ByteString value)Additional urls for more information about stepsViolation.Remediation.Instructions.Gcloud.BuilderaddAllAdditionalLinks(Iterable<String> values)Additional urls for more information about stepsViolation.Remediation.Instructions.Gcloud.BuilderaddAllGcloudCommands(Iterable<String> values)Gcloud command to resolve violationViolation.Remediation.Instructions.Gcloud.BuilderaddAllSteps(Iterable<String> values)Steps to resolve violation via gcloud cliViolation.Remediation.Instructions.Gcloud.BuilderaddGcloudCommands(String value)Gcloud command to resolve violationViolation.Remediation.Instructions.Gcloud.BuilderaddGcloudCommandsBytes(com.google.protobuf.ByteString value)Gcloud command to resolve violationViolation.Remediation.Instructions.Gcloud.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Violation.Remediation.Instructions.Gcloud.BuilderaddSteps(String value)Steps to resolve violation via gcloud cliViolation.Remediation.Instructions.Gcloud.BuilderaddStepsBytes(com.google.protobuf.ByteString value)Steps to resolve violation via gcloud cliViolation.Remediation.Instructions.Gcloudbuild()Violation.Remediation.Instructions.GcloudbuildPartial()Violation.Remediation.Instructions.Gcloud.Builderclear()Violation.Remediation.Instructions.Gcloud.BuilderclearAdditionalLinks()Additional urls for more information about stepsViolation.Remediation.Instructions.Gcloud.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Violation.Remediation.Instructions.Gcloud.BuilderclearGcloudCommands()Gcloud command to resolve violationViolation.Remediation.Instructions.Gcloud.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Violation.Remediation.Instructions.Gcloud.BuilderclearSteps()Steps to resolve violation via gcloud cliViolation.Remediation.Instructions.Gcloud.Builderclone()StringgetAdditionalLinks(int index)Additional urls for more information about stepscom.google.protobuf.ByteStringgetAdditionalLinksBytes(int index)Additional urls for more information about stepsintgetAdditionalLinksCount()Additional urls for more information about stepscom.google.protobuf.ProtocolStringListgetAdditionalLinksList()Additional urls for more information about stepsViolation.Remediation.Instructions.GcloudgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetGcloudCommands(int index)Gcloud command to resolve violationcom.google.protobuf.ByteStringgetGcloudCommandsBytes(int index)Gcloud command to resolve violationintgetGcloudCommandsCount()Gcloud command to resolve violationcom.google.protobuf.ProtocolStringListgetGcloudCommandsList()Gcloud command to resolve violationStringgetSteps(int index)Steps to resolve violation via gcloud clicom.google.protobuf.ByteStringgetStepsBytes(int index)Steps to resolve violation via gcloud cliintgetStepsCount()Steps to resolve violation via gcloud clicom.google.protobuf.ProtocolStringListgetStepsList()Steps to resolve violation via gcloud cliprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Violation.Remediation.Instructions.Gcloud.BuildermergeFrom(Violation.Remediation.Instructions.Gcloud other)Violation.Remediation.Instructions.Gcloud.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Violation.Remediation.Instructions.Gcloud.BuildermergeFrom(com.google.protobuf.Message other)Violation.Remediation.Instructions.Gcloud.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Violation.Remediation.Instructions.Gcloud.BuildersetAdditionalLinks(int index, String value)Additional urls for more information about stepsViolation.Remediation.Instructions.Gcloud.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Violation.Remediation.Instructions.Gcloud.BuildersetGcloudCommands(int index, String value)Gcloud command to resolve violationViolation.Remediation.Instructions.Gcloud.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Violation.Remediation.Instructions.Gcloud.BuildersetSteps(int index, String value)Steps to resolve violation via gcloud cliViolation.Remediation.Instructions.Gcloud.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
clear
public Violation.Remediation.Instructions.Gcloud.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
getDefaultInstanceForType
public Violation.Remediation.Instructions.Gcloud getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Violation.Remediation.Instructions.Gcloud build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Violation.Remediation.Instructions.Gcloud buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Violation.Remediation.Instructions.Gcloud.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
setField
public Violation.Remediation.Instructions.Gcloud.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
clearField
public Violation.Remediation.Instructions.Gcloud.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
clearOneof
public Violation.Remediation.Instructions.Gcloud.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
setRepeatedField
public Violation.Remediation.Instructions.Gcloud.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
addRepeatedField
public Violation.Remediation.Instructions.Gcloud.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
mergeFrom
public Violation.Remediation.Instructions.Gcloud.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
mergeFrom
public Violation.Remediation.Instructions.Gcloud.Builder mergeFrom(Violation.Remediation.Instructions.Gcloud other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
mergeFrom
public Violation.Remediation.Instructions.Gcloud.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Violation.Remediation.Instructions.Gcloud.Builder>- Throws:
IOException
-
getGcloudCommandsList
public com.google.protobuf.ProtocolStringList getGcloudCommandsList()
Gcloud command to resolve violation
repeated string gcloud_commands = 1;- Specified by:
getGcloudCommandsListin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Returns:
- A list containing the gcloudCommands.
-
getGcloudCommandsCount
public int getGcloudCommandsCount()
Gcloud command to resolve violation
repeated string gcloud_commands = 1;- Specified by:
getGcloudCommandsCountin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Returns:
- The count of gcloudCommands.
-
getGcloudCommands
public String getGcloudCommands(int index)
Gcloud command to resolve violation
repeated string gcloud_commands = 1;- Specified by:
getGcloudCommandsin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The gcloudCommands at the given index.
-
getGcloudCommandsBytes
public com.google.protobuf.ByteString getGcloudCommandsBytes(int index)
Gcloud command to resolve violation
repeated string gcloud_commands = 1;- Specified by:
getGcloudCommandsBytesin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the gcloudCommands at the given index.
-
setGcloudCommands
public Violation.Remediation.Instructions.Gcloud.Builder setGcloudCommands(int index, String value)
Gcloud command to resolve violation
repeated string gcloud_commands = 1;- Parameters:
index- The index to set the value at.value- The gcloudCommands to set.- Returns:
- This builder for chaining.
-
addGcloudCommands
public Violation.Remediation.Instructions.Gcloud.Builder addGcloudCommands(String value)
Gcloud command to resolve violation
repeated string gcloud_commands = 1;- Parameters:
value- The gcloudCommands to add.- Returns:
- This builder for chaining.
-
addAllGcloudCommands
public Violation.Remediation.Instructions.Gcloud.Builder addAllGcloudCommands(Iterable<String> values)
Gcloud command to resolve violation
repeated string gcloud_commands = 1;- Parameters:
values- The gcloudCommands to add.- Returns:
- This builder for chaining.
-
clearGcloudCommands
public Violation.Remediation.Instructions.Gcloud.Builder clearGcloudCommands()
Gcloud command to resolve violation
repeated string gcloud_commands = 1;- Returns:
- This builder for chaining.
-
addGcloudCommandsBytes
public Violation.Remediation.Instructions.Gcloud.Builder addGcloudCommandsBytes(com.google.protobuf.ByteString value)
Gcloud command to resolve violation
repeated string gcloud_commands = 1;- Parameters:
value- The bytes of the gcloudCommands to add.- Returns:
- This builder for chaining.
-
getStepsList
public com.google.protobuf.ProtocolStringList getStepsList()
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Specified by:
getStepsListin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Returns:
- A list containing the steps.
-
getStepsCount
public int getStepsCount()
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Specified by:
getStepsCountin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Returns:
- The count of steps.
-
getSteps
public String getSteps(int index)
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Specified by:
getStepsin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The steps at the given index.
-
getStepsBytes
public com.google.protobuf.ByteString getStepsBytes(int index)
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Specified by:
getStepsBytesin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the steps at the given index.
-
setSteps
public Violation.Remediation.Instructions.Gcloud.Builder setSteps(int index, String value)
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Parameters:
index- The index to set the value at.value- The steps to set.- Returns:
- This builder for chaining.
-
addSteps
public Violation.Remediation.Instructions.Gcloud.Builder addSteps(String value)
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Parameters:
value- The steps to add.- Returns:
- This builder for chaining.
-
addAllSteps
public Violation.Remediation.Instructions.Gcloud.Builder addAllSteps(Iterable<String> values)
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Parameters:
values- The steps to add.- Returns:
- This builder for chaining.
-
clearSteps
public Violation.Remediation.Instructions.Gcloud.Builder clearSteps()
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Returns:
- This builder for chaining.
-
addStepsBytes
public Violation.Remediation.Instructions.Gcloud.Builder addStepsBytes(com.google.protobuf.ByteString value)
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Parameters:
value- The bytes of the steps to add.- Returns:
- This builder for chaining.
-
getAdditionalLinksList
public com.google.protobuf.ProtocolStringList getAdditionalLinksList()
Additional urls for more information about steps
repeated string additional_links = 3;- Specified by:
getAdditionalLinksListin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Returns:
- A list containing the additionalLinks.
-
getAdditionalLinksCount
public int getAdditionalLinksCount()
Additional urls for more information about steps
repeated string additional_links = 3;- Specified by:
getAdditionalLinksCountin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Returns:
- The count of additionalLinks.
-
getAdditionalLinks
public String getAdditionalLinks(int index)
Additional urls for more information about steps
repeated string additional_links = 3;- Specified by:
getAdditionalLinksin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalLinks at the given index.
-
getAdditionalLinksBytes
public com.google.protobuf.ByteString getAdditionalLinksBytes(int index)
Additional urls for more information about steps
repeated string additional_links = 3;- Specified by:
getAdditionalLinksBytesin interfaceViolation.Remediation.Instructions.GcloudOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the additionalLinks at the given index.
-
setAdditionalLinks
public Violation.Remediation.Instructions.Gcloud.Builder setAdditionalLinks(int index, String value)
Additional urls for more information about steps
repeated string additional_links = 3;- Parameters:
index- The index to set the value at.value- The additionalLinks to set.- Returns:
- This builder for chaining.
-
addAdditionalLinks
public Violation.Remediation.Instructions.Gcloud.Builder addAdditionalLinks(String value)
Additional urls for more information about steps
repeated string additional_links = 3;- Parameters:
value- The additionalLinks to add.- Returns:
- This builder for chaining.
-
addAllAdditionalLinks
public Violation.Remediation.Instructions.Gcloud.Builder addAllAdditionalLinks(Iterable<String> values)
Additional urls for more information about steps
repeated string additional_links = 3;- Parameters:
values- The additionalLinks to add.- Returns:
- This builder for chaining.
-
clearAdditionalLinks
public Violation.Remediation.Instructions.Gcloud.Builder clearAdditionalLinks()
Additional urls for more information about steps
repeated string additional_links = 3;- Returns:
- This builder for chaining.
-
addAdditionalLinksBytes
public Violation.Remediation.Instructions.Gcloud.Builder addAdditionalLinksBytes(com.google.protobuf.ByteString value)
Additional urls for more information about steps
repeated string additional_links = 3;- Parameters:
value- The bytes of the additionalLinks to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Violation.Remediation.Instructions.Gcloud.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
mergeUnknownFields
public final Violation.Remediation.Instructions.Gcloud.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
-