public static final class LookupKeyResponse.Builder extends GeneratedMessageV3.Builder<LookupKeyResponse.Builder> implements LookupKeyResponseOrBuilder
Response message for LookupKey
method.
Protobuf type google.api.apikeys.v2.LookupKeyResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LookupKeyResponse.BuilderImplements
LookupKeyResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupKeyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LookupKeyResponse.Builder |
build()
public LookupKeyResponse build()
Type | Description |
LookupKeyResponse |
buildPartial()
public LookupKeyResponse buildPartial()
Type | Description |
LookupKeyResponse |
clear()
public LookupKeyResponse.Builder clear()
Type | Description |
LookupKeyResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public LookupKeyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
Type | Description |
LookupKeyResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupKeyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LookupKeyResponse.Builder |
clearParent()
public LookupKeyResponse.Builder clearParent()
The project that owns the key with the value specified in the request.
string parent = 1;
Type | Description |
LookupKeyResponse.Builder | This builder for chaining. |
clone()
public LookupKeyResponse.Builder clone()
Type | Description |
LookupKeyResponse.Builder |
getDefaultInstanceForType()
public LookupKeyResponse getDefaultInstanceForType()
Type | Description |
LookupKeyResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(LookupKeyResponse other)
public LookupKeyResponse.Builder mergeFrom(LookupKeyResponse other)
Name | Description |
other | LookupKeyResponse |
Type | Description |
LookupKeyResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LookupKeyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LookupKeyResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LookupKeyResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LookupKeyResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupKeyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LookupKeyResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LookupKeyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | String The name to set. |
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;
Name | Description |
value | ByteString The bytes for name to set. |
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;
Name | Description |
value | String The parent to set. |
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;
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
LookupKeyResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupKeyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LookupKeyResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupKeyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LookupKeyResponse.Builder |