public static final class LookupKeyResponse.Builder extends GeneratedMessage.Builder<LookupKeyResponse.Builder> implements LookupKeyResponseOrBuilder Response message for LookupKey method.
Protobuf type google.api.apikeys.v2.LookupKeyResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LookupKeyResponse.BuilderImplements
LookupKeyResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LookupKeyResponse build()| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse |
|
buildPartial()
public LookupKeyResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse |
|
clear()
public LookupKeyResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
|
clearName()
public LookupKeyResponse.Builder clearName()The resource name of the API key. If the API key has been purged, resource name is empty.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
This builder for chaining. |
clearParent()
public LookupKeyResponse.Builder clearParent()The project that owns the key with the value specified in the request.
string parent = 1;
| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public LookupKeyResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The resource name of the API key. If the API key has been purged, resource name is empty.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The resource name of the API key. If the API key has been purged, resource name is empty.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParent()
public String getParent()The project that owns the key with the value specified in the request.
string parent = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()The project that owns the key with the value specified in the request.
string parent = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LookupKeyResponse other)
public LookupKeyResponse.Builder mergeFrom(LookupKeyResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
LookupKeyResponse |
| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LookupKeyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LookupKeyResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
|
setName(String value)
public LookupKeyResponse.Builder setName(String value)The resource name of the API key. If the API key has been purged, resource name is empty.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public LookupKeyResponse.Builder setNameBytes(ByteString value)The resource name of the API key. If the API key has been purged, resource name is empty.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
This builder for chaining. |
setParent(String value)
public LookupKeyResponse.Builder setParent(String value)The project that owns the key with the value specified in the request.
string parent = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public LookupKeyResponse.Builder setParentBytes(ByteString value)The project that owns the key with the value specified in the request.
string parent = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
LookupKeyResponse.Builder |
This builder for chaining. |