public static final class GetKeyStringRequest.Builder extends GeneratedMessageV3.Builder<GetKeyStringRequest.Builder> implements GetKeyStringRequestOrBuilder
Request message for GetKeyString
method.
Protobuf type google.api.apikeys.v2.GetKeyStringRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetKeyStringRequest.BuilderImplements
GetKeyStringRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetKeyStringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetKeyStringRequest.Builder |
build()
public GetKeyStringRequest build()
Type | Description |
GetKeyStringRequest |
buildPartial()
public GetKeyStringRequest buildPartial()
Type | Description |
GetKeyStringRequest |
clear()
public GetKeyStringRequest.Builder clear()
Type | Description |
GetKeyStringRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetKeyStringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GetKeyStringRequest.Builder |
clearName()
public GetKeyStringRequest.Builder clearName()
Required. The resource name of the API key to be retrieved.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
GetKeyStringRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetKeyStringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GetKeyStringRequest.Builder |
clone()
public GetKeyStringRequest.Builder clone()
Type | Description |
GetKeyStringRequest.Builder |
getDefaultInstanceForType()
public GetKeyStringRequest getDefaultInstanceForType()
Type | Description |
GetKeyStringRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The resource name of the API key to be retrieved.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the API key to be retrieved.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GetKeyStringRequest other)
public GetKeyStringRequest.Builder mergeFrom(GetKeyStringRequest other)
Name | Description |
other | GetKeyStringRequest |
Type | Description |
GetKeyStringRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetKeyStringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetKeyStringRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GetKeyStringRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GetKeyStringRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetKeyStringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetKeyStringRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetKeyStringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetKeyStringRequest.Builder |
setName(String value)
public GetKeyStringRequest.Builder setName(String value)
Required. The resource name of the API key to be retrieved.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
GetKeyStringRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public GetKeyStringRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the API key to be retrieved.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
GetKeyStringRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetKeyStringRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GetKeyStringRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetKeyStringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetKeyStringRequest.Builder |