Class GenerateUploadUrlRequest.Builder (2.5.0)

public static final class GenerateUploadUrlRequest.Builder extends GeneratedMessageV3.Builder<GenerateUploadUrlRequest.Builder> implements GenerateUploadUrlRequestOrBuilder

Request of GenerateSourceUploadUrl method.

Protobuf type google.cloud.functions.v2beta.GenerateUploadUrlRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateUploadUrlRequest build()
Returns
TypeDescription
GenerateUploadUrlRequest

buildPartial()

public GenerateUploadUrlRequest buildPartial()
Returns
TypeDescription
GenerateUploadUrlRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public GenerateUploadUrlRequest.Builder clearParent()

Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format projects/*/locations/*.

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

Returns
TypeDescription
GenerateUploadUrlRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GenerateUploadUrlRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateUploadUrlRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format projects/*/locations/*.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format projects/*/locations/*.

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

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateUploadUrlRequest other)

public GenerateUploadUrlRequest.Builder mergeFrom(GenerateUploadUrlRequest other)
Parameter
NameDescription
otherGenerateUploadUrlRequest
Returns
TypeDescription
GenerateUploadUrlRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public GenerateUploadUrlRequest.Builder setParent(String value)

Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format projects/*/locations/*.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
GenerateUploadUrlRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public GenerateUploadUrlRequest.Builder setParentBytes(ByteString value)

Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format projects/*/locations/*.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
GenerateUploadUrlRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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