Class Function
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.functions.v2beta.Function
-
- All Implemented Interfaces:
FunctionOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Function extends com.google.protobuf.GeneratedMessageV3 implements FunctionOrBuilder
Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.
Protobuf typegoogle.cloud.functions.v2beta.Function
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Function.Builder
Describes a Cloud Function that contains user computation executed in response to an event.static class
Function.State
Describes the current state of the function.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
BUILD_CONFIG_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
ENVIRONMENT_FIELD_NUMBER
static int
EVENT_TRIGGER_FIELD_NUMBER
static int
KMS_KEY_NAME_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SERVICE_CONFIG_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
STATE_MESSAGES_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
URL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels associated with this Cloud Function.boolean
equals(Object obj)
BuildConfig
getBuildConfig()
Describes the Build step of the function that builds a container from the given source.BuildConfigOrBuilder
getBuildConfigOrBuilder()
Describes the Build step of the function that builds a container from the given source.static Function
getDefaultInstance()
Function
getDefaultInstanceForType()
String
getDescription()
User-provided description of a function.com.google.protobuf.ByteString
getDescriptionBytes()
User-provided description of a function.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Environment
getEnvironment()
Describe whether the function is 1st Gen or 2nd Gen.int
getEnvironmentValue()
Describe whether the function is 1st Gen or 2nd Gen.EventTrigger
getEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.EventTriggerOrBuilder
getEventTriggerOrBuilder()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.String
getKmsKeyName()
[Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.com.google.protobuf.ByteString
getKmsKeyNameBytes()
[Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels associated with this Cloud Function.Map<String,String>
getLabelsMap()
Labels associated with this Cloud Function.String
getLabelsOrDefault(String key, String defaultValue)
Labels associated with this Cloud Function.String
getLabelsOrThrow(String key)
Labels associated with this Cloud Function.String
getName()
A user-defined name of the function.com.google.protobuf.ByteString
getNameBytes()
A user-defined name of the function.com.google.protobuf.Parser<Function>
getParserForType()
int
getSerializedSize()
ServiceConfig
getServiceConfig()
Describes the Service being deployed.ServiceConfigOrBuilder
getServiceConfigOrBuilder()
Describes the Service being deployed.Function.State
getState()
Output only.StateMessage
getStateMessages(int index)
Output only.int
getStateMessagesCount()
Output only.List<StateMessage>
getStateMessagesList()
Output only.StateMessageOrBuilder
getStateMessagesOrBuilder(int index)
Output only.List<? extends StateMessageOrBuilder>
getStateMessagesOrBuilderList()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getUrl()
Output only.com.google.protobuf.ByteString
getUrlBytes()
Output only.boolean
hasBuildConfig()
Describes the Build step of the function that builds a container from the given source.boolean
hasEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.int
hashCode()
boolean
hasServiceConfig()
Describes the Service being deployed.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Function.Builder
newBuilder()
static Function.Builder
newBuilder(Function prototype)
Function.Builder
newBuilderForType()
protected Function.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Function
parseDelimitedFrom(InputStream input)
static Function
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Function
parseFrom(byte[] data)
static Function
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Function
parseFrom(com.google.protobuf.ByteString data)
static Function
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Function
parseFrom(com.google.protobuf.CodedInputStream input)
static Function
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Function
parseFrom(InputStream input)
static Function
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Function
parseFrom(ByteBuffer data)
static Function
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Function>
parser()
Function.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_CONFIG_FIELD_NUMBER
public static final int BUILD_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_CONFIG_FIELD_NUMBER
public static final int SERVICE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_TRIGGER_FIELD_NUMBER
public static final int EVENT_TRIGGER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_MESSAGES_FIELD_NUMBER
public static final int STATE_MESSAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;
- Specified by:
getName
in interfaceFunctionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;
- Specified by:
getNameBytes
in interfaceFunctionOrBuilder
- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
User-provided description of a function.
string description = 2;
- Specified by:
getDescription
in interfaceFunctionOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of a function.
string description = 2;
- Specified by:
getDescriptionBytes
in interfaceFunctionOrBuilder
- Returns:
- The bytes for description.
-
hasBuildConfig
public boolean hasBuildConfig()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3;
- Specified by:
hasBuildConfig
in interfaceFunctionOrBuilder
- Returns:
- Whether the buildConfig field is set.
-
getBuildConfig
public BuildConfig getBuildConfig()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3;
- Specified by:
getBuildConfig
in interfaceFunctionOrBuilder
- Returns:
- The buildConfig.
-
getBuildConfigOrBuilder
public BuildConfigOrBuilder getBuildConfigOrBuilder()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3;
- Specified by:
getBuildConfigOrBuilder
in interfaceFunctionOrBuilder
-
hasServiceConfig
public boolean hasServiceConfig()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4;
- Specified by:
hasServiceConfig
in interfaceFunctionOrBuilder
- Returns:
- Whether the serviceConfig field is set.
-
getServiceConfig
public ServiceConfig getServiceConfig()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4;
- Specified by:
getServiceConfig
in interfaceFunctionOrBuilder
- Returns:
- The serviceConfig.
-
getServiceConfigOrBuilder
public ServiceConfigOrBuilder getServiceConfigOrBuilder()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4;
- Specified by:
getServiceConfigOrBuilder
in interfaceFunctionOrBuilder
-
hasEventTrigger
public boolean hasEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5;
- Specified by:
hasEventTrigger
in interfaceFunctionOrBuilder
- Returns:
- Whether the eventTrigger field is set.
-
getEventTrigger
public EventTrigger getEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5;
- Specified by:
getEventTrigger
in interfaceFunctionOrBuilder
- Returns:
- The eventTrigger.
-
getEventTriggerOrBuilder
public EventTriggerOrBuilder getEventTriggerOrBuilder()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5;
- Specified by:
getEventTriggerOrBuilder
in interfaceFunctionOrBuilder
-
getStateValue
public int getStateValue()
Output only. State of the function.
.google.cloud.functions.v2beta.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceFunctionOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Function.State getState()
Output only. State of the function.
.google.cloud.functions.v2beta.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceFunctionOrBuilder
- Returns:
- The state.
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceFunctionOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceFunctionOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceFunctionOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:FunctionOrBuilder
Labels associated with this Cloud Function.
map<string, string> labels = 8;
- Specified by:
getLabelsCount
in interfaceFunctionOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 8;
- Specified by:
containsLabels
in interfaceFunctionOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceFunctionOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels associated with this Cloud Function.
map<string, string> labels = 8;
- Specified by:
getLabelsMap
in interfaceFunctionOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this Cloud Function.
map<string, string> labels = 8;
- Specified by:
getLabelsOrDefault
in interfaceFunctionOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 8;
- Specified by:
getLabelsOrThrow
in interfaceFunctionOrBuilder
-
getStateMessagesList
public List<StateMessage> getStateMessagesList()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateMessagesList
in interfaceFunctionOrBuilder
-
getStateMessagesOrBuilderList
public List<? extends StateMessageOrBuilder> getStateMessagesOrBuilderList()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateMessagesOrBuilderList
in interfaceFunctionOrBuilder
-
getStateMessagesCount
public int getStateMessagesCount()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateMessagesCount
in interfaceFunctionOrBuilder
-
getStateMessages
public StateMessage getStateMessages(int index)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateMessages
in interfaceFunctionOrBuilder
-
getStateMessagesOrBuilder
public StateMessageOrBuilder getStateMessagesOrBuilder(int index)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateMessagesOrBuilder
in interfaceFunctionOrBuilder
-
getEnvironmentValue
public int getEnvironmentValue()
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2beta.Environment environment = 10;
- Specified by:
getEnvironmentValue
in interfaceFunctionOrBuilder
- Returns:
- The enum numeric value on the wire for environment.
-
getEnvironment
public Environment getEnvironment()
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2beta.Environment environment = 10;
- Specified by:
getEnvironment
in interfaceFunctionOrBuilder
- Returns:
- The environment.
-
getUrl
public String getUrl()
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUrl
in interfaceFunctionOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUrlBytes
in interfaceFunctionOrBuilder
- Returns:
- The bytes for url.
-
getKmsKeyName
public String getKmsKeyName()
[Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 25 [(.google.api.resource_reference) = { ... }
- Specified by:
getKmsKeyName
in interfaceFunctionOrBuilder
- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()
[Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 25 [(.google.api.resource_reference) = { ... }
- Specified by:
getKmsKeyNameBytes
in interfaceFunctionOrBuilder
- Returns:
- The bytes for kmsKeyName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Function parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Function parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Function parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Function parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Function parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Function parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Function.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Function.Builder newBuilder()
-
newBuilder
public static Function.Builder newBuilder(Function prototype)
-
toBuilder
public Function.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Function.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Function getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Function> parser()
-
getParserForType
public com.google.protobuf.Parser<Function> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Function getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-