Class Library.Builder (2.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Library build()
Returns
TypeDescription
Library

buildPartial()

public Library buildPartial()
Returns
TypeDescription
Library

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Library.Builder clearName()

Name of the library. Example: "django".

string name = 1;

Returns
TypeDescription
Library.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public Library.Builder clearVersion()

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

string version = 2;

Returns
TypeDescription
Library.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Library getDefaultInstanceForType()
Returns
TypeDescription
Library

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the library. Example: "django".

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the library. Example: "django".

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getVersion()

public String getVersion()

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

string version = 2;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

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

string version = 2;

Returns
TypeDescription
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Library other)

public Library.Builder mergeFrom(Library other)
Parameter
NameDescription
otherLibrary
Returns
TypeDescription
Library.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Library.Builder setName(String value)

Name of the library. Example: "django".

string name = 1;

Parameter
NameDescription
valueString

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public Library.Builder setVersion(String value)

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

string version = 2;

Parameter
NameDescription
valueString

The version to set.

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

The bytes for version to set.

Returns
TypeDescription
Library.Builder

This builder for chaining.