Class GetKeyStringResponse.Builder (0.42.0)

public static final class GetKeyStringResponse.Builder extends GeneratedMessageV3.Builder<GetKeyStringResponse.Builder> implements GetKeyStringResponseOrBuilder

Response message for GetKeyString method.

Protobuf type google.api.apikeys.v2.GetKeyStringResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetKeyStringResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetKeyStringResponse.Builder
Overrides

build()

public GetKeyStringResponse build()
Returns
Type Description
GetKeyStringResponse

buildPartial()

public GetKeyStringResponse buildPartial()
Returns
Type Description
GetKeyStringResponse

clear()

public GetKeyStringResponse.Builder clear()
Returns
Type Description
GetKeyStringResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetKeyStringResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetKeyStringResponse.Builder
Overrides

clearKeyString()

public GetKeyStringResponse.Builder clearKeyString()

An encrypted and signed value of the key.

string key_string = 1;

Returns
Type Description
GetKeyStringResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetKeyStringResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetKeyStringResponse.Builder
Overrides

clone()

public GetKeyStringResponse.Builder clone()
Returns
Type Description
GetKeyStringResponse.Builder
Overrides

getDefaultInstanceForType()

public GetKeyStringResponse getDefaultInstanceForType()
Returns
Type Description
GetKeyStringResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKeyString()

public String getKeyString()

An encrypted and signed value of the key.

string key_string = 1;

Returns
Type Description
String

The keyString.

getKeyStringBytes()

public ByteString getKeyStringBytes()

An encrypted and signed value of the key.

string key_string = 1;

Returns
Type Description
ByteString

The bytes for keyString.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetKeyStringResponse other)

public GetKeyStringResponse.Builder mergeFrom(GetKeyStringResponse other)
Parameter
Name Description
other GetKeyStringResponse
Returns
Type Description
GetKeyStringResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetKeyStringResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetKeyStringResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetKeyStringResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetKeyStringResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetKeyStringResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetKeyStringResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetKeyStringResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetKeyStringResponse.Builder
Overrides

setKeyString(String value)

public GetKeyStringResponse.Builder setKeyString(String value)

An encrypted and signed value of the key.

string key_string = 1;

Parameter
Name Description
value String

The keyString to set.

Returns
Type Description
GetKeyStringResponse.Builder

This builder for chaining.

setKeyStringBytes(ByteString value)

public GetKeyStringResponse.Builder setKeyStringBytes(ByteString value)

An encrypted and signed value of the key.

string key_string = 1;

Parameter
Name Description
value ByteString

The bytes for keyString to set.

Returns
Type Description
GetKeyStringResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetKeyStringResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetKeyStringResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetKeyStringResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetKeyStringResponse.Builder
Overrides