Class Library.Builder (2.44.0)

public static final class Library.Builder extends GeneratedMessageV3.Builder<Library.Builder> implements LibraryOrBuilder

Third-party Python runtime library that is required by the application.

Protobuf type google.appengine.v1.Library

Implements

LibraryOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Library build()
Returns
Type Description
Library

buildPartial()

public Library buildPartial()
Returns
Type Description
Library

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Library.Builder clearName()

Name of the library. Example: "django".

string name = 1;

Returns
Type Description
Library.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public Library.Builder clearVersion()

Version of the library to select, or "latest".

string version = 2;

Returns
Type Description
Library.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Library getDefaultInstanceForType()
Returns
Type Description
Library

getDescriptorForType()

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

getName()

public String getName()

Name of the library. Example: "django".

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the library. Example: "django".

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getVersion()

public String getVersion()

Version of the library to select, or "latest".

string version = 2;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Version of the library to select, or "latest".

string version = 2;

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Library other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Library.Builder setName(String value)

Name of the library. Example: "django".

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Library.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Library.Builder setNameBytes(ByteString value)

Name of the library. Example: "django".

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Library.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public Library.Builder setVersion(String value)

Version of the library to select, or "latest".

string version = 2;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
Library.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Library.Builder setVersionBytes(ByteString value)

Version of the library to select, or "latest".

string version = 2;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
Library.Builder

This builder for chaining.