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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Inventory.ZypperPatch
build()
Inventory.ZypperPatch
buildPartial()
Inventory.ZypperPatch.Builder
clear()
Inventory.ZypperPatch.Builder
clearCategory()
The category of the patch.Inventory.ZypperPatch.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Inventory.ZypperPatch.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Inventory.ZypperPatch.Builder
clearPatchName()
The name of the patch.Inventory.ZypperPatch.Builder
clearSeverity()
The severity specified for this patchInventory.ZypperPatch.Builder
clearSummary()
Any summary information provided about this patch.Inventory.ZypperPatch.Builder
clone()
String
getCategory()
The category of the patch.com.google.protobuf.ByteString
getCategoryBytes()
The category of the patch.Inventory.ZypperPatch
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getPatchName()
The name of the patch.com.google.protobuf.ByteString
getPatchNameBytes()
The name of the patch.String
getSeverity()
The severity specified for this patchcom.google.protobuf.ByteString
getSeverityBytes()
The severity specified for this patchString
getSummary()
Any summary information provided about this patch.com.google.protobuf.ByteString
getSummaryBytes()
Any summary information provided about this patch.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Inventory.ZypperPatch.Builder
mergeFrom(Inventory.ZypperPatch other)
Inventory.ZypperPatch.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Inventory.ZypperPatch.Builder
mergeFrom(com.google.protobuf.Message other)
Inventory.ZypperPatch.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Inventory.ZypperPatch.Builder
setCategory(String value)
The category of the patch.Inventory.ZypperPatch.Builder
setCategoryBytes(com.google.protobuf.ByteString value)
The category of the patch.Inventory.ZypperPatch.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Inventory.ZypperPatch.Builder
setPatchName(String value)
The name of the patch.Inventory.ZypperPatch.Builder
setPatchNameBytes(com.google.protobuf.ByteString value)
The name of the patch.Inventory.ZypperPatch.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Inventory.ZypperPatch.Builder
setSeverity(String value)
The severity specified for this patchInventory.ZypperPatch.Builder
setSeverityBytes(com.google.protobuf.ByteString value)
The severity specified for this patchInventory.ZypperPatch.Builder
setSummary(String value)
Any summary information provided about this patch.Inventory.ZypperPatch.Builder
setSummaryBytes(com.google.protobuf.ByteString value)
Any summary information provided about this patch.Inventory.ZypperPatch.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
clear
public Inventory.ZypperPatch.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
getDefaultInstanceForType
public Inventory.ZypperPatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Inventory.ZypperPatch build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Inventory.ZypperPatch buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Inventory.ZypperPatch.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
setField
public Inventory.ZypperPatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
clearField
public Inventory.ZypperPatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
clearOneof
public Inventory.ZypperPatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
addRepeatedField
public Inventory.ZypperPatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
mergeFrom
public Inventory.ZypperPatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Inventory.ZypperPatch.Builder>
-
mergeFrom
public Inventory.ZypperPatch.Builder mergeFrom(Inventory.ZypperPatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getPatchName
in interfaceInventory.ZypperPatchOrBuilder
- Returns:
- The patchName.
-
getPatchNameBytes
public com.google.protobuf.ByteString getPatchNameBytes()
The name of the patch.
string patch_name = 5;
- Specified by:
getPatchNameBytes
in 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:
getCategory
in interfaceInventory.ZypperPatchOrBuilder
- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()
The category of the patch.
string category = 2;
- Specified by:
getCategoryBytes
in 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:
getSeverity
in interfaceInventory.ZypperPatchOrBuilder
- Returns:
- The severity.
-
getSeverityBytes
public com.google.protobuf.ByteString getSeverityBytes()
The severity specified for this patch
string severity = 3;
- Specified by:
getSeverityBytes
in 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:
getSummary
in interfaceInventory.ZypperPatchOrBuilder
- Returns:
- The summary.
-
getSummaryBytes
public com.google.protobuf.ByteString getSummaryBytes()
Any summary information provided about this patch.
string summary = 4;
- Specified by:
getSummaryBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
mergeUnknownFields
public final Inventory.ZypperPatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.ZypperPatch.Builder>
-
-