Class CallFunctionRequest.Builder (2.10.0)

public static final class CallFunctionRequest.Builder extends GeneratedMessageV3.Builder<CallFunctionRequest.Builder> implements CallFunctionRequestOrBuilder

Request for the CallFunction method.

Protobuf type google.cloud.functions.v1.CallFunctionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CallFunctionRequest build()
Returns
TypeDescription
CallFunctionRequest

buildPartial()

public CallFunctionRequest buildPartial()
Returns
TypeDescription
CallFunctionRequest

clear()

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

clearData()

public CallFunctionRequest.Builder clearData()

Required. Input to be passed to the function.

string data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CallFunctionRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public CallFunctionRequest.Builder clearName()

Required. The name of the function to be called.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CallFunctionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getData()

public String getData()

Required. Input to be passed to the function.

string data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The data.

getDataBytes()

public ByteString getDataBytes()

Required. Input to be passed to the function.

string data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for data.

getDefaultInstanceForType()

public CallFunctionRequest getDefaultInstanceForType()
Returns
TypeDescription
CallFunctionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the function to be called.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the function to be called.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CallFunctionRequest other)

public CallFunctionRequest.Builder mergeFrom(CallFunctionRequest other)
Parameter
NameDescription
otherCallFunctionRequest
Returns
TypeDescription
CallFunctionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setData(String value)

public CallFunctionRequest.Builder setData(String value)

Required. Input to be passed to the function.

string data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The data to set.

Returns
TypeDescription
CallFunctionRequest.Builder

This builder for chaining.

setDataBytes(ByteString value)

public CallFunctionRequest.Builder setDataBytes(ByteString value)

Required. Input to be passed to the function.

string data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for data to set.

Returns
TypeDescription
CallFunctionRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public CallFunctionRequest.Builder setName(String value)

Required. The name of the function to be called.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CallFunctionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CallFunctionRequest.Builder setNameBytes(ByteString value)

Required. The name of the function to be called.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CallFunctionRequest.Builder

This builder for chaining.

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

public CallFunctionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CallFunctionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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