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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupKeyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LookupKeyResponse build()
Returns
buildPartial()
public LookupKeyResponse buildPartial()
Returns
clear()
public LookupKeyResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public LookupKeyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupKeyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public LookupKeyResponse.Builder clearParent()
The project that owns the key with the value specified in the request.
string parent = 1;
Returns
clone()
public LookupKeyResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LookupKeyResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LookupKeyResponse other)
public LookupKeyResponse.Builder mergeFrom(LookupKeyResponse other)
Parameter
Returns
public LookupKeyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LookupKeyResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupKeyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LookupKeyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The name to set.
|
Returns
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 | ByteString
The bytes for name to set.
|
Returns
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 | String
The parent to set.
|
Returns
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 | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupKeyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupKeyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides