Class GetKeyStringResponse.Builder (0.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetKeyStringResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides

build()

public GetKeyStringResponse build()
Returns
TypeDescription
GetKeyStringResponse

buildPartial()

public GetKeyStringResponse buildPartial()
Returns
TypeDescription
GetKeyStringResponse

clear()

public GetKeyStringResponse.Builder clear()
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetKeyStringResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides

clearKeyString()

public GetKeyStringResponse.Builder clearKeyString()

An encrypted and signed value of the key.

string key_string = 1;

Returns
TypeDescription
GetKeyStringResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetKeyStringResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides

clone()

public GetKeyStringResponse.Builder clone()
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides

getDefaultInstanceForType()

public GetKeyStringResponse getDefaultInstanceForType()
Returns
TypeDescription
GetKeyStringResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKeyString()

public String getKeyString()

An encrypted and signed value of the key.

string key_string = 1;

Returns
TypeDescription
String

The keyString.

getKeyStringBytes()

public ByteString getKeyStringBytes()

An encrypted and signed value of the key.

string key_string = 1;

Returns
TypeDescription
ByteString

The bytes for keyString.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetKeyStringResponse other)

public GetKeyStringResponse.Builder mergeFrom(GetKeyStringResponse other)
Parameter
NameDescription
otherGetKeyStringResponse
Returns
TypeDescription
GetKeyStringResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetKeyStringResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetKeyStringResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetKeyStringResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetKeyStringResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The keyString to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for keyString to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetKeyStringResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetKeyStringResponse.Builder
Overrides