public static final class WindowsUpdate.Category.Builder extends GeneratedMessage.Builder<WindowsUpdate.Category.Builder> implements WindowsUpdate.CategoryOrBuilderThe category to which the update belongs.
Protobuf type grafeas.v1.WindowsUpdate.Category
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WindowsUpdate.Category.BuilderImplements
WindowsUpdate.CategoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WindowsUpdate.Category build()| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category |
|
buildPartial()
public WindowsUpdate.Category buildPartial()| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category |
|
clear()
public WindowsUpdate.Category.Builder clear()| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
|
clearCategoryId()
public WindowsUpdate.Category.Builder clearCategoryId()The identifier of the category.
string category_id = 1;
| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
This builder for chaining. |
clearName()
public WindowsUpdate.Category.Builder clearName()The localized name of the category.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
WindowsUpdate.Category |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WindowsUpdate.Category.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WindowsUpdate.Category.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
|
mergeFrom(WindowsUpdate.Category other)
public WindowsUpdate.Category.Builder mergeFrom(WindowsUpdate.Category other)| Parameter | |
|---|---|
| Name | Description |
other |
WindowsUpdate.Category |
| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
|
setCategoryId(String value)
public WindowsUpdate.Category.Builder setCategoryId(String value)The identifier of the category.
string category_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe categoryId to set. |
| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
This builder for chaining. |
setCategoryIdBytes(ByteString value)
public WindowsUpdate.Category.Builder setCategoryIdBytes(ByteString value)The identifier of the category.
string category_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for categoryId to set. |
| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
This builder for chaining. |
setName(String value)
public WindowsUpdate.Category.Builder setName(String value)The localized name of the category.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public WindowsUpdate.Category.Builder setNameBytes(ByteString value)The localized name of the category.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
WindowsUpdate.Category.Builder |
This builder for chaining. |