public static final class Registry.Builder extends GeneratedMessage.Builder<Registry.Builder> implements RegistryOrBuilderInformation about a registry key or value.
Protobuf type google.backstory.Registry
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Registry.BuilderImplements
RegistryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Registry build()| Returns | |
|---|---|
| Type | Description |
Registry |
|
buildPartial()
public Registry buildPartial()| Returns | |
|---|---|
| Type | Description |
Registry |
|
clear()
public Registry.Builder clear()| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
|
clearRegistryKey()
public Registry.Builder clearRegistryKey()Registry key associated with an application or system component (e.g., HKEY_, HKCU\Environment...).
string registry_key = 1;
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
clearRegistryValueBinaryData()
public Registry.Builder clearRegistryValueBinaryData()Binary data associated with a registry value. This field is only populated if the registry value type is BINARY. This field is not populated for other registry value types.
bytes registry_value_binary_data = 5;
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
clearRegistryValueData()
public Registry.Builder clearRegistryValueData()Data associated with a registry value (e.g. %USERPROFILE%\Local Settings\Temp).
string registry_value_data = 3;
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
clearRegistryValueName()
public Registry.Builder clearRegistryValueName()Name of the registry value associated with an application or system component (e.g. TEMP).
string registry_value_name = 2;
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
clearRegistryValueType()
public Registry.Builder clearRegistryValueType()Type of the registry value.
.google.backstory.Registry.Type registry_value_type = 4;
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Registry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Registry |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRegistryKey()
public String getRegistryKey()Registry key associated with an application or system component (e.g., HKEY_, HKCU\Environment...).
string registry_key = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The registryKey. |
getRegistryKeyBytes()
public ByteString getRegistryKeyBytes()Registry key associated with an application or system component (e.g., HKEY_, HKCU\Environment...).
string registry_key = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for registryKey. |
getRegistryValueBinaryData()
public ByteString getRegistryValueBinaryData()Binary data associated with a registry value. This field is only populated if the registry value type is BINARY. This field is not populated for other registry value types.
bytes registry_value_binary_data = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The registryValueBinaryData. |
getRegistryValueData()
public String getRegistryValueData()Data associated with a registry value (e.g. %USERPROFILE%\Local Settings\Temp).
string registry_value_data = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The registryValueData. |
getRegistryValueDataBytes()
public ByteString getRegistryValueDataBytes()Data associated with a registry value (e.g. %USERPROFILE%\Local Settings\Temp).
string registry_value_data = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for registryValueData. |
getRegistryValueName()
public String getRegistryValueName()Name of the registry value associated with an application or system component (e.g. TEMP).
string registry_value_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The registryValueName. |
getRegistryValueNameBytes()
public ByteString getRegistryValueNameBytes()Name of the registry value associated with an application or system component (e.g. TEMP).
string registry_value_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for registryValueName. |
getRegistryValueType()
public Registry.Type getRegistryValueType()Type of the registry value.
.google.backstory.Registry.Type registry_value_type = 4;
| Returns | |
|---|---|
| Type | Description |
Registry.Type |
The registryValueType. |
getRegistryValueTypeValue()
public int getRegistryValueTypeValue()Type of the registry value.
.google.backstory.Registry.Type registry_value_type = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for registryValueType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Registry other)
public Registry.Builder mergeFrom(Registry other)| Parameter | |
|---|---|
| Name | Description |
other |
Registry |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Registry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Registry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
|
setRegistryKey(String value)
public Registry.Builder setRegistryKey(String value)Registry key associated with an application or system component (e.g., HKEY_, HKCU\Environment...).
string registry_key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe registryKey to set. |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
setRegistryKeyBytes(ByteString value)
public Registry.Builder setRegistryKeyBytes(ByteString value)Registry key associated with an application or system component (e.g., HKEY_, HKCU\Environment...).
string registry_key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for registryKey to set. |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
setRegistryValueBinaryData(ByteString value)
public Registry.Builder setRegistryValueBinaryData(ByteString value)Binary data associated with a registry value. This field is only populated if the registry value type is BINARY. This field is not populated for other registry value types.
bytes registry_value_binary_data = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe registryValueBinaryData to set. |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
setRegistryValueData(String value)
public Registry.Builder setRegistryValueData(String value)Data associated with a registry value (e.g. %USERPROFILE%\Local Settings\Temp).
string registry_value_data = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe registryValueData to set. |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
setRegistryValueDataBytes(ByteString value)
public Registry.Builder setRegistryValueDataBytes(ByteString value)Data associated with a registry value (e.g. %USERPROFILE%\Local Settings\Temp).
string registry_value_data = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for registryValueData to set. |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
setRegistryValueName(String value)
public Registry.Builder setRegistryValueName(String value)Name of the registry value associated with an application or system component (e.g. TEMP).
string registry_value_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe registryValueName to set. |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
setRegistryValueNameBytes(ByteString value)
public Registry.Builder setRegistryValueNameBytes(ByteString value)Name of the registry value associated with an application or system component (e.g. TEMP).
string registry_value_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for registryValueName to set. |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
setRegistryValueType(Registry.Type value)
public Registry.Builder setRegistryValueType(Registry.Type value)Type of the registry value.
.google.backstory.Registry.Type registry_value_type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Registry.TypeThe registryValueType to set. |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |
setRegistryValueTypeValue(int value)
public Registry.Builder setRegistryValueTypeValue(int value)Type of the registry value.
.google.backstory.Registry.Type registry_value_type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for registryValueType to set. |
| Returns | |
|---|---|
| Type | Description |
Registry.Builder |
This builder for chaining. |