Class Inventory.ZypperPatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
- com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder
-
- All Implemented Interfaces:
Inventory.ZypperPatchOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Inventory.ZypperPatch
public static final class Inventory.ZypperPatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder> implements Inventory.ZypperPatchOrBuilder
Details related to a Zypper Patch.
Protobuf typegoogle.cloud.osconfig.v1alpha.Inventory.ZypperPatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Inventory.ZypperPatch.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Inventory.ZypperPatchbuild()Inventory.ZypperPatchbuildPartial()Inventory.ZypperPatch.Builderclear()Inventory.ZypperPatch.BuilderclearCategory()The category of the patch.Inventory.ZypperPatch.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Inventory.ZypperPatch.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Inventory.ZypperPatch.BuilderclearPatchName()The name of the patch.Inventory.ZypperPatch.BuilderclearSeverity()The severity specified for this patchInventory.ZypperPatch.BuilderclearSummary()Any summary information provided about this patch.Inventory.ZypperPatch.Builderclone()StringgetCategory()The category of the patch.com.google.protobuf.ByteStringgetCategoryBytes()The category of the patch.Inventory.ZypperPatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPatchName()The name of the patch.com.google.protobuf.ByteStringgetPatchNameBytes()The name of the patch.StringgetSeverity()The severity specified for this patchcom.google.protobuf.ByteStringgetSeverityBytes()The severity specified for this patchStringgetSummary()Any summary information provided about this patch.com.google.protobuf.ByteStringgetSummaryBytes()Any summary information provided about this patch.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Inventory.ZypperPatch.BuildermergeFrom(Inventory.ZypperPatch other)Inventory.ZypperPatch.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Inventory.ZypperPatch.BuildermergeFrom(com.google.protobuf.Message other)Inventory.ZypperPatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Inventory.ZypperPatch.BuildersetCategory(String value)The category of the patch.Inventory.ZypperPatch.BuildersetCategoryBytes(com.google.protobuf.ByteString value)The category of the patch.Inventory.ZypperPatch.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Inventory.ZypperPatch.BuildersetPatchName(String value)The name of the patch.Inventory.ZypperPatch.BuildersetPatchNameBytes(com.google.protobuf.ByteString value)The name of the patch.Inventory.ZypperPatch.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Inventory.ZypperPatch.BuildersetSeverity(String value)The severity specified for this patchInventory.ZypperPatch.BuildersetSeverityBytes(com.google.protobuf.ByteString value)The severity specified for this patchInventory.ZypperPatch.BuildersetSummary(String value)Any summary information provided about this patch.Inventory.ZypperPatch.BuildersetSummaryBytes(com.google.protobuf.ByteString value)Any summary information provided about this patch.Inventory.ZypperPatch.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<Inventory.ZypperPatch.Builder>
-
clear
public Inventory.ZypperPatch.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<Inventory.ZypperPatch.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<Inventory.ZypperPatch.Builder>
-
getDefaultInstanceForType
public Inventory.ZypperPatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Inventory.ZypperPatch build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Inventory.ZypperPatch buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Inventory.ZypperPatch.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<Inventory.ZypperPatch.Builder>
-
setField
public Inventory.ZypperPatch.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<Inventory.ZypperPatch.Builder>
-
clearField
public Inventory.ZypperPatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
clearOneof
public Inventory.ZypperPatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
setRepeatedField
public Inventory.ZypperPatch.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<Inventory.ZypperPatch.Builder>
-
addRepeatedField
public Inventory.ZypperPatch.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<Inventory.ZypperPatch.Builder>
-
mergeFrom
public Inventory.ZypperPatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Inventory.ZypperPatch.Builder>
-
mergeFrom
public Inventory.ZypperPatch.Builder mergeFrom(Inventory.ZypperPatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
mergeFrom
public Inventory.ZypperPatch.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<Inventory.ZypperPatch.Builder>- Throws:
IOException
-
getPatchName
public String getPatchName()
The name of the patch.
string patch_name = 5;- Specified by:
getPatchNamein interfaceInventory.ZypperPatchOrBuilder- Returns:
- The patchName.
-
getPatchNameBytes
public com.google.protobuf.ByteString getPatchNameBytes()
The name of the patch.
string patch_name = 5;- Specified by:
getPatchNameBytesin interfaceInventory.ZypperPatchOrBuilder- Returns:
- The bytes for patchName.
-
setPatchName
public Inventory.ZypperPatch.Builder setPatchName(String value)
The name of the patch.
string patch_name = 5;- Parameters:
value- The patchName to set.- Returns:
- This builder for chaining.
-
clearPatchName
public Inventory.ZypperPatch.Builder clearPatchName()
The name of the patch.
string patch_name = 5;- Returns:
- This builder for chaining.
-
setPatchNameBytes
public Inventory.ZypperPatch.Builder setPatchNameBytes(com.google.protobuf.ByteString value)
The name of the patch.
string patch_name = 5;- Parameters:
value- The bytes for patchName to set.- Returns:
- This builder for chaining.
-
getCategory
public String getCategory()
The category of the patch.
string category = 2;- Specified by:
getCategoryin interfaceInventory.ZypperPatchOrBuilder- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()
The category of the patch.
string category = 2;- Specified by:
getCategoryBytesin interfaceInventory.ZypperPatchOrBuilder- Returns:
- The bytes for category.
-
setCategory
public Inventory.ZypperPatch.Builder setCategory(String value)
The category of the patch.
string category = 2;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
public Inventory.ZypperPatch.Builder clearCategory()
The category of the patch.
string category = 2;- Returns:
- This builder for chaining.
-
setCategoryBytes
public Inventory.ZypperPatch.Builder setCategoryBytes(com.google.protobuf.ByteString value)
The category of the patch.
string category = 2;- Parameters:
value- The bytes for category to set.- Returns:
- This builder for chaining.
-
getSeverity
public String getSeverity()
The severity specified for this patch
string severity = 3;- Specified by:
getSeverityin interfaceInventory.ZypperPatchOrBuilder- Returns:
- The severity.
-
getSeverityBytes
public com.google.protobuf.ByteString getSeverityBytes()
The severity specified for this patch
string severity = 3;- Specified by:
getSeverityBytesin interfaceInventory.ZypperPatchOrBuilder- Returns:
- The bytes for severity.
-
setSeverity
public Inventory.ZypperPatch.Builder setSeverity(String value)
The severity specified for this patch
string severity = 3;- Parameters:
value- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
public Inventory.ZypperPatch.Builder clearSeverity()
The severity specified for this patch
string severity = 3;- Returns:
- This builder for chaining.
-
setSeverityBytes
public Inventory.ZypperPatch.Builder setSeverityBytes(com.google.protobuf.ByteString value)
The severity specified for this patch
string severity = 3;- Parameters:
value- The bytes for severity to set.- Returns:
- This builder for chaining.
-
getSummary
public String getSummary()
Any summary information provided about this patch.
string summary = 4;- Specified by:
getSummaryin interfaceInventory.ZypperPatchOrBuilder- Returns:
- The summary.
-
getSummaryBytes
public com.google.protobuf.ByteString getSummaryBytes()
Any summary information provided about this patch.
string summary = 4;- Specified by:
getSummaryBytesin interfaceInventory.ZypperPatchOrBuilder- Returns:
- The bytes for summary.
-
setSummary
public Inventory.ZypperPatch.Builder setSummary(String value)
Any summary information provided about this patch.
string summary = 4;- Parameters:
value- The summary to set.- Returns:
- This builder for chaining.
-
clearSummary
public Inventory.ZypperPatch.Builder clearSummary()
Any summary information provided about this patch.
string summary = 4;- Returns:
- This builder for chaining.
-
setSummaryBytes
public Inventory.ZypperPatch.Builder setSummaryBytes(com.google.protobuf.ByteString value)
Any summary information provided about this patch.
string summary = 4;- Parameters:
value- The bytes for summary to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Inventory.ZypperPatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
mergeUnknownFields
public final Inventory.ZypperPatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
-