public static final class NameValuePair.Builder extends GeneratedMessage.Builder<NameValuePair.Builder> implements NameValuePairOrBuilderA name-value pair representing an attribute entry usable in a list of attributes.
Protobuf type google.cloud.oracledatabase.v1.NameValuePair
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NameValuePair.BuilderImplements
NameValuePairOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NameValuePair build()| Returns | |
|---|---|
| Type | Description |
NameValuePair |
|
buildPartial()
public NameValuePair buildPartial()| Returns | |
|---|---|
| Type | Description |
NameValuePair |
|
clear()
public NameValuePair.Builder clear()| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
|
clearKey()
public NameValuePair.Builder clearKey()Required. The name of the property entry.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
This builder for chaining. |
clearValue()
public NameValuePair.Builder clearValue()Required. The value of the property entry.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NameValuePair getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NameValuePair |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKey()
public String getKey()Required. The name of the property entry.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()Required. The name of the property entry.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getValue()
public String getValue()Required. The value of the property entry.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Required. The value of the property entry.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NameValuePair other)
public NameValuePair.Builder mergeFrom(NameValuePair other)| Parameter | |
|---|---|
| Name | Description |
other |
NameValuePair |
| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NameValuePair.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NameValuePair.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
|
setKey(String value)
public NameValuePair.Builder setKey(String value)Required. The name of the property entry.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public NameValuePair.Builder setKeyBytes(ByteString value)Required. The name of the property entry.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
This builder for chaining. |
setValue(String value)
public NameValuePair.Builder setValue(String value)Required. The value of the property entry.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public NameValuePair.Builder setValueBytes(ByteString value)Required. The value of the property entry.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
NameValuePair.Builder |
This builder for chaining. |