Class WorkloadsConfig.WebServerResource (1.12.0)

publicstaticfinalclass WorkloadsConfig.WebServerResourceextendsGeneratedMessageV3implementsWorkloadsConfig.WebServerResourceOrBuilder

Configuration for resources used by Airflow web server.

Protobuf type google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WorkloadsConfig.WebServerResource

Inherited Members

Static Fields

CPU_FIELD_NUMBER

publicstaticfinalintCPU_FIELD_NUMBER
Field Value
Type Description
int

MEMORY_GB_FIELD_NUMBER

publicstaticfinalintMEMORY_GB_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_GB_FIELD_NUMBER

publicstaticfinalintSTORAGE_GB_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticWorkloadsConfig.WebServerResourcegetDefaultInstance()
Returns
Type Description

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

newBuilder()

publicstaticWorkloadsConfig.WebServerResource.BuildernewBuilder()
Returns
Type Description

newBuilder(WorkloadsConfig.WebServerResource prototype)

publicstaticWorkloadsConfig.WebServerResource.BuildernewBuilder(WorkloadsConfig.WebServerResourceprototype)
Parameter
Name Description
Returns
Type Description

parseDelimitedFrom(InputStream input)

publicstaticWorkloadsConfig.WebServerResourceparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticWorkloadsConfig.WebServerResourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(CodedInputStreaminput)
Parameter
Name Description
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticWorkloadsConfig.WebServerResourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parser()

publicstaticParser<WorkloadsConfig.WebServerResource>parser()
Returns
Type Description

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
Overrides

getCpu()

publicfloatgetCpu()

Optional. CPU request and limit for Airflow web server.

float cpu = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The cpu.

getDefaultInstanceForType()

publicWorkloadsConfig.WebServerResourcegetDefaultInstanceForType()
Returns
Type Description

getMemoryGb()

publicfloatgetMemoryGb()

Optional. Memory (GB) request and limit for Airflow web server.

float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The memoryGb.

getParserForType()

publicParser<WorkloadsConfig.WebServerResource>getParserForType()
Returns
Type Description
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getStorageGb()

publicfloatgetStorageGb()

Optional. Storage (GB) request and limit for Airflow web server.

float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The storageGb.

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

newBuilderForType()

publicWorkloadsConfig.WebServerResource.BuildernewBuilderForType()
Returns
Type Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedWorkloadsConfig.WebServerResource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
Returns
Type Description
Overrides

toBuilder()

publicWorkloadsConfig.WebServerResource.BuildertoBuilder()
Returns
Type Description

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
Overrides Exceptions
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.