public static final class LocationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder> implements LocationMetadataOrBuilder
Extra GCF specific location information.Protobuf type
google.cloud.functions.v2beta.LocationMetadata| Modifier and Type | Method and Description |
|---|---|
LocationMetadata.Builder |
addAllEnvironments(Iterable<? extends Environment> values)
The Cloud Function environments this location supports.
|
LocationMetadata.Builder |
addAllEnvironmentsValue(Iterable<Integer> values)
The Cloud Function environments this location supports.
|
LocationMetadata.Builder |
addEnvironments(Environment value)
The Cloud Function environments this location supports.
|
LocationMetadata.Builder |
addEnvironmentsValue(int value)
The Cloud Function environments this location supports.
|
LocationMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LocationMetadata |
build() |
LocationMetadata |
buildPartial() |
LocationMetadata.Builder |
clear() |
LocationMetadata.Builder |
clearEnvironments()
The Cloud Function environments this location supports.
|
LocationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LocationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LocationMetadata.Builder |
clone() |
LocationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Environment |
getEnvironments(int index)
The Cloud Function environments this location supports.
|
int |
getEnvironmentsCount()
The Cloud Function environments this location supports.
|
List<Environment> |
getEnvironmentsList()
The Cloud Function environments this location supports.
|
int |
getEnvironmentsValue(int index)
The Cloud Function environments this location supports.
|
List<Integer> |
getEnvironmentsValueList()
The Cloud Function environments this location supports.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LocationMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LocationMetadata.Builder |
mergeFrom(LocationMetadata other) |
LocationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
LocationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LocationMetadata.Builder |
setEnvironments(int index,
Environment value)
The Cloud Function environments this location supports.
|
LocationMetadata.Builder |
setEnvironmentsValue(int index,
int value)
The Cloud Function environments this location supports.
|
LocationMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LocationMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LocationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public LocationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public LocationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LocationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LocationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LocationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public LocationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public LocationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public LocationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public LocationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public LocationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public LocationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocationMetadata.Builder>public LocationMetadata.Builder mergeFrom(LocationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public LocationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocationMetadata.Builder>IOExceptionpublic List<Environment> getEnvironmentsList()
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;getEnvironmentsList in interface LocationMetadataOrBuilderpublic int getEnvironmentsCount()
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;getEnvironmentsCount in interface LocationMetadataOrBuilderpublic Environment getEnvironments(int index)
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;getEnvironments in interface LocationMetadataOrBuilderindex - The index of the element to return.public LocationMetadata.Builder setEnvironments(int index, Environment value)
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;index - The index to set the value at.value - The environments to set.public LocationMetadata.Builder addEnvironments(Environment value)
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;value - The environments to add.public LocationMetadata.Builder addAllEnvironments(Iterable<? extends Environment> values)
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;values - The environments to add.public LocationMetadata.Builder clearEnvironments()
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;public List<Integer> getEnvironmentsValueList()
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;getEnvironmentsValueList in interface LocationMetadataOrBuilderpublic int getEnvironmentsValue(int index)
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;getEnvironmentsValue in interface LocationMetadataOrBuilderindex - The index of the value to return.public LocationMetadata.Builder setEnvironmentsValue(int index, int value)
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;index - The index to set the value at.value - The enum numeric value on the wire for environments to set.public LocationMetadata.Builder addEnvironmentsValue(int value)
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;value - The enum numeric value on the wire for environments to add.public LocationMetadata.Builder addAllEnvironmentsValue(Iterable<Integer> values)
The Cloud Function environments this location supports.
repeated .google.cloud.functions.v2beta.Environment environments = 1;values - The enum numeric values on the wire for environments to add.public final LocationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>public final LocationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.