- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
public static final class ListRuntimesResponse.Runtime.Builder extends GeneratedMessageV3.Builder<ListRuntimesResponse.Runtime.Builder> implements ListRuntimesResponse.RuntimeOrBuilder
Describes a runtime and any special information (e.g., deprecation status) related to it.
Protobuf type google.cloud.functions.v2.ListRuntimesResponse.Runtime
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListRuntimesResponse.Runtime.BuilderImplements
ListRuntimesResponse.RuntimeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllWarnings(Iterable<String> values)
public ListRuntimesResponse.Runtime.Builder addAllWarnings(Iterable<String> values)
Warning messages, e.g., a deprecation warning.
repeated string warnings = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The warnings to add. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRuntimesResponse.Runtime.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
addWarnings(String value)
public ListRuntimesResponse.Runtime.Builder addWarnings(String value)
Warning messages, e.g., a deprecation warning.
repeated string warnings = 3;
Parameter | |
---|---|
Name | Description |
value |
String The warnings to add. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
addWarningsBytes(ByteString value)
public ListRuntimesResponse.Runtime.Builder addWarningsBytes(ByteString value)
Warning messages, e.g., a deprecation warning.
repeated string warnings = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the warnings to add. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
build()
public ListRuntimesResponse.Runtime build()
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime |
buildPartial()
public ListRuntimesResponse.Runtime buildPartial()
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime |
clear()
public ListRuntimesResponse.Runtime.Builder clear()
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
clearDisplayName()
public ListRuntimesResponse.Runtime.Builder clearDisplayName()
The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
string display_name = 5;
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
clearEnvironment()
public ListRuntimesResponse.Runtime.Builder clearEnvironment()
The environment for the runtime.
.google.cloud.functions.v2.Environment environment = 4;
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ListRuntimesResponse.Runtime.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
clearName()
public ListRuntimesResponse.Runtime.Builder clearName()
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
string name = 1;
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRuntimesResponse.Runtime.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
clearStage()
public ListRuntimesResponse.Runtime.Builder clearStage()
The stage of life this runtime is in, e.g., BETA, GA, etc.
.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
clearWarnings()
public ListRuntimesResponse.Runtime.Builder clearWarnings()
Warning messages, e.g., a deprecation warning.
repeated string warnings = 3;
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
clone()
public ListRuntimesResponse.Runtime.Builder clone()
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
getDefaultInstanceForType()
public ListRuntimesResponse.Runtime getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
string display_name = 5;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
string display_name = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getEnvironment()
public Environment getEnvironment()
The environment for the runtime.
.google.cloud.functions.v2.Environment environment = 4;
Returns | |
---|---|
Type | Description |
Environment |
The environment. |
getEnvironmentValue()
public int getEnvironmentValue()
The environment for the runtime.
.google.cloud.functions.v2.Environment environment = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for environment. |
getName()
public String getName()
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getStage()
public ListRuntimesResponse.RuntimeStage getStage()
The stage of life this runtime is in, e.g., BETA, GA, etc.
.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.RuntimeStage |
The stage. |
getStageValue()
public int getStageValue()
The stage of life this runtime is in, e.g., BETA, GA, etc.
.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for stage. |
getWarnings(int index)
public String getWarnings(int index)
Warning messages, e.g., a deprecation warning.
repeated string warnings = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The warnings at the given index. |
getWarningsBytes(int index)
public ByteString getWarningsBytes(int index)
Warning messages, e.g., a deprecation warning.
repeated string warnings = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the warnings at the given index. |
getWarningsCount()
public int getWarningsCount()
Warning messages, e.g., a deprecation warning.
repeated string warnings = 3;
Returns | |
---|---|
Type | Description |
int |
The count of warnings. |
getWarningsList()
public ProtocolStringList getWarningsList()
Warning messages, e.g., a deprecation warning.
repeated string warnings = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the warnings. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListRuntimesResponse.Runtime other)
public ListRuntimesResponse.Runtime.Builder mergeFrom(ListRuntimesResponse.Runtime other)
Parameter | |
---|---|
Name | Description |
other |
ListRuntimesResponse.Runtime |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRuntimesResponse.Runtime.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListRuntimesResponse.Runtime.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRuntimesResponse.Runtime.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
setDisplayName(String value)
public ListRuntimesResponse.Runtime.Builder setDisplayName(String value)
The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
string display_name = 5;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ListRuntimesResponse.Runtime.Builder setDisplayNameBytes(ByteString value)
The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
string display_name = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
setEnvironment(Environment value)
public ListRuntimesResponse.Runtime.Builder setEnvironment(Environment value)
The environment for the runtime.
.google.cloud.functions.v2.Environment environment = 4;
Parameter | |
---|---|
Name | Description |
value |
Environment The environment to set. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
setEnvironmentValue(int value)
public ListRuntimesResponse.Runtime.Builder setEnvironmentValue(int value)
The environment for the runtime.
.google.cloud.functions.v2.Environment environment = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for environment to set. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ListRuntimesResponse.Runtime.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
setName(String value)
public ListRuntimesResponse.Runtime.Builder setName(String value)
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ListRuntimesResponse.Runtime.Builder setNameBytes(ByteString value)
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRuntimesResponse.Runtime.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
setStage(ListRuntimesResponse.RuntimeStage value)
public ListRuntimesResponse.Runtime.Builder setStage(ListRuntimesResponse.RuntimeStage value)
The stage of life this runtime is in, e.g., BETA, GA, etc.
.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;
Parameter | |
---|---|
Name | Description |
value |
ListRuntimesResponse.RuntimeStage The stage to set. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
setStageValue(int value)
public ListRuntimesResponse.Runtime.Builder setStageValue(int value)
The stage of life this runtime is in, e.g., BETA, GA, etc.
.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for stage to set. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRuntimesResponse.Runtime.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
setWarnings(int index, String value)
public ListRuntimesResponse.Runtime.Builder setWarnings(int index, String value)
Warning messages, e.g., a deprecation warning.
repeated string warnings = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The warnings to set. |
Returns | |
---|---|
Type | Description |
ListRuntimesResponse.Runtime.Builder |
This builder for chaining. |