Class Inventory.ZypperPatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Inventory.ZypperPatch.Builder>
implements Inventory.ZypperPatchOrBuilder
Details related to a Zypper Patch.Protobuf type
google.cloud.osconfig.v1alpha.Inventory.ZypperPatch-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The category of the patch.The name of the patch.The severity specified for this patchAny summary information provided about this patch.The category of the patch.com.google.protobuf.ByteStringThe category of the patch.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the patch.com.google.protobuf.ByteStringThe name of the patch.The severity specified for this patchcom.google.protobuf.ByteStringThe severity specified for this patchAny summary information provided about this patch.com.google.protobuf.ByteStringAny summary information provided about this patch.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Inventory.ZypperPatch other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCategory(String value) The category of the patch.setCategoryBytes(com.google.protobuf.ByteString value) The category of the patch.setPatchName(String value) The name of the patch.setPatchNameBytes(com.google.protobuf.ByteString value) The name of the patch.setSeverity(String value) The severity specified for this patchsetSeverityBytes(com.google.protobuf.ByteString value) The severity specified for this patchsetSummary(String value) Any summary information provided about this patch.setSummaryBytes(com.google.protobuf.ByteString value) Any summary information provided about this patch.Methods 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<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.GeneratedMessage.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.GeneratedMessage.Builder<Inventory.ZypperPatch.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Inventory.ZypperPatch.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
The name of the patch.
string patch_name = 5;- Parameters:
value- The patchName to set.- Returns:
- This builder for chaining.
-
clearPatchName
The name of the patch.
string patch_name = 5;- Returns:
- This builder for chaining.
-
setPatchNameBytes
The name of the patch.
string patch_name = 5;- Parameters:
value- The bytes for patchName to set.- Returns:
- This builder for chaining.
-
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
The category of the patch.
string category = 2;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
The category of the patch.
string category = 2;- Returns:
- This builder for chaining.
-
setCategoryBytes
The category of the patch.
string category = 2;- Parameters:
value- The bytes for category to set.- Returns:
- This builder for chaining.
-
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
The severity specified for this patch
string severity = 3;- Parameters:
value- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
The severity specified for this patch
string severity = 3;- Returns:
- This builder for chaining.
-
setSeverityBytes
The severity specified for this patch
string severity = 3;- Parameters:
value- The bytes for severity to set.- Returns:
- This builder for chaining.
-
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
Any summary information provided about this patch.
string summary = 4;- Parameters:
value- The summary to set.- Returns:
- This builder for chaining.
-
clearSummary
Any summary information provided about this patch.
string summary = 4;- Returns:
- This builder for chaining.
-
setSummaryBytes
Any summary information provided about this patch.
string summary = 4;- Parameters:
value- The bytes for summary to set.- Returns:
- This builder for chaining.
-