Class Violation.Remediation.Instructions.Gcloud.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
implements Violation.Remediation.Instructions.GcloudOrBuilder
Remediation instructions to resolve violation via gcloud cliProtobuf type
google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalLinks(String value) Additional urls for more information about stepsaddAdditionalLinksBytes(com.google.protobuf.ByteString value) Additional urls for more information about stepsaddAllAdditionalLinks(Iterable<String> values) Additional urls for more information about stepsaddAllGcloudCommands(Iterable<String> values) Gcloud command to resolve violationaddAllSteps(Iterable<String> values) Steps to resolve violation via gcloud cliaddGcloudCommands(String value) Gcloud command to resolve violationaddGcloudCommandsBytes(com.google.protobuf.ByteString value) Gcloud command to resolve violationSteps to resolve violation via gcloud cliaddStepsBytes(com.google.protobuf.ByteString value) Steps to resolve violation via gcloud clibuild()clear()Additional urls for more information about stepsGcloud command to resolve violationSteps to resolve violation via gcloud cligetAdditionalLinks(int index) Additional urls for more information about stepscom.google.protobuf.ByteStringgetAdditionalLinksBytes(int index) Additional urls for more information about stepsintAdditional urls for more information about stepscom.google.protobuf.ProtocolStringListAdditional urls for more information about stepsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGcloudCommands(int index) Gcloud command to resolve violationcom.google.protobuf.ByteStringgetGcloudCommandsBytes(int index) Gcloud command to resolve violationintGcloud command to resolve violationcom.google.protobuf.ProtocolStringListGcloud command to resolve violationgetSteps(int index) Steps to resolve violation via gcloud clicom.google.protobuf.ByteStringgetStepsBytes(int index) Steps to resolve violation via gcloud cliintSteps to resolve violation via gcloud clicom.google.protobuf.ProtocolStringListSteps to resolve violation via gcloud cliprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAdditionalLinks(int index, String value) Additional urls for more information about stepssetGcloudCommands(int index, String value) Gcloud command to resolve violationSteps to resolve violation via gcloud cliMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.Builder<Violation.Remediation.Instructions.Gcloud.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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.GeneratedMessage.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
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
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
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
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
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
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
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Parameters:
value- The steps to add.- Returns:
- This builder for chaining.
-
addAllSteps
Steps to resolve violation via gcloud cli
repeated string steps = 2;- Parameters:
values- The steps to add.- Returns:
- This builder for chaining.
-
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
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
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
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.
-