public static final class WindowsUpdate.Category.Builder extends GeneratedMessageV3.Builder<WindowsUpdate.Category.Builder> implements WindowsUpdate.CategoryOrBuilder
The category to which the update belongs.
Protobuf type grafeas.v1.WindowsUpdate.Category
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WindowsUpdate.Category.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WindowsUpdate.Category build()
Returns
buildPartial()
public WindowsUpdate.Category buildPartial()
Returns
clear()
public WindowsUpdate.Category.Builder clear()
Returns
Overrides
clearCategoryId()
public WindowsUpdate.Category.Builder clearCategoryId()
The identifier of the category.
string category_id = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public WindowsUpdate.Category.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public WindowsUpdate.Category.Builder clearName()
The localized name of the category.
string name = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public WindowsUpdate.Category.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public WindowsUpdate.Category.Builder clone()
Returns
Overrides
getCategoryId()
public String getCategoryId()
The identifier of the category.
string category_id = 1;
Returns
Type | Description |
String | The categoryId.
|
getCategoryIdBytes()
public ByteString getCategoryIdBytes()
The identifier of the category.
string category_id = 1;
Returns
Type | Description |
ByteString | The bytes for categoryId.
|
getDefaultInstanceForType()
public WindowsUpdate.Category getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The localized name of the category.
string name = 2;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The localized name of the category.
string name = 2;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public WindowsUpdate.Category.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WindowsUpdate.Category.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(WindowsUpdate.Category other)
public WindowsUpdate.Category.Builder mergeFrom(WindowsUpdate.Category other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WindowsUpdate.Category.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCategoryId(String value)
public WindowsUpdate.Category.Builder setCategoryId(String value)
The identifier of the category.
string category_id = 1;
Parameter
Name | Description |
value | String
The categoryId to set.
|
Returns
setCategoryIdBytes(ByteString value)
public WindowsUpdate.Category.Builder setCategoryIdBytes(ByteString value)
The identifier of the category.
string category_id = 1;
Parameter
Name | Description |
value | ByteString
The bytes for categoryId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public WindowsUpdate.Category.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public WindowsUpdate.Category.Builder setName(String value)
The localized name of the category.
string name = 2;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public WindowsUpdate.Category.Builder setNameBytes(ByteString value)
The localized name of the category.
string name = 2;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WindowsUpdate.Category.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WindowsUpdate.Category.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides