Package com.google.cloud.functions.v1
Class OperationMetadataV1
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.functions.v1.OperationMetadataV1
- All Implemented Interfaces:
OperationMetadataV1OrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class OperationMetadataV1
extends com.google.protobuf.GeneratedMessage
implements OperationMetadataV1OrBuilder
Metadata describing an [Operation][google.longrunning.Operation]Protobuf type
google.cloud.functions.v1.OperationMetadataV1- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata describing an [Operation][google.longrunning.Operation]Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe Cloud Build ID of the function created or updated by an API call.com.google.protobuf.ByteStringThe Cloud Build ID of the function created or updated by an API call.The Cloud Build Name of the function deployment.com.google.protobuf.ByteStringThe Cloud Build Name of the function deployment.static OperationMetadataV1static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<OperationMetadataV1>com.google.protobuf.AnyThe original request that started the operation.com.google.protobuf.AnyOrBuilderThe original request that started the operation.intAn identifier for Firebase function sources.com.google.protobuf.ByteStringAn identifier for Firebase function sources.Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`com.google.protobuf.ByteStringTarget of the operation - for example `projects/project-1/locations/region-1/functions/function-1`getType()Type of operation.intType of operation.com.google.protobuf.TimestampThe last update timestamp of the operation.com.google.protobuf.TimestampOrBuilderThe last update timestamp of the operation.longVersion id of the function created or updated by an API call.inthashCode()booleanThe original request that started the operation.booleanThe last update timestamp of the operation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic OperationMetadataV1.Builderstatic OperationMetadataV1.BuildernewBuilder(OperationMetadataV1 prototype) protected OperationMetadataV1.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static OperationMetadataV1parseDelimitedFrom(InputStream input) static OperationMetadataV1parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperationMetadataV1parseFrom(byte[] data) static OperationMetadataV1parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperationMetadataV1parseFrom(com.google.protobuf.ByteString data) static OperationMetadataV1parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperationMetadataV1parseFrom(com.google.protobuf.CodedInputStream input) static OperationMetadataV1parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperationMetadataV1parseFrom(InputStream input) static OperationMetadataV1parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperationMetadataV1parseFrom(ByteBuffer data) static OperationMetadataV1parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OperationMetadataV1>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER- See Also:
-
VERSION_ID_FIELD_NUMBER
public static final int VERSION_ID_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
BUILD_ID_FIELD_NUMBER
public static final int BUILD_ID_FIELD_NUMBER- See Also:
-
SOURCE_TOKEN_FIELD_NUMBER
public static final int SOURCE_TOKEN_FIELD_NUMBER- See Also:
-
BUILD_NAME_FIELD_NUMBER
public static final int BUILD_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTarget
Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`
string target = 1;- Specified by:
getTargetin interfaceOperationMetadataV1OrBuilder- Returns:
- The target.
-
getTargetBytes
public com.google.protobuf.ByteString getTargetBytes()Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`
string target = 1;- Specified by:
getTargetBytesin interfaceOperationMetadataV1OrBuilder- Returns:
- The bytes for target.
-
getTypeValue
public int getTypeValue()Type of operation.
.google.cloud.functions.v1.OperationType type = 2;- Specified by:
getTypeValuein interfaceOperationMetadataV1OrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;- Specified by:
getTypein interfaceOperationMetadataV1OrBuilder- Returns:
- The type.
-
hasRequest
public boolean hasRequest()The original request that started the operation.
.google.protobuf.Any request = 3;- Specified by:
hasRequestin interfaceOperationMetadataV1OrBuilder- Returns:
- Whether the request field is set.
-
getRequest
public com.google.protobuf.Any getRequest()The original request that started the operation.
.google.protobuf.Any request = 3;- Specified by:
getRequestin interfaceOperationMetadataV1OrBuilder- Returns:
- The request.
-
getRequestOrBuilder
public com.google.protobuf.AnyOrBuilder getRequestOrBuilder()The original request that started the operation.
.google.protobuf.Any request = 3;- Specified by:
getRequestOrBuilderin interfaceOperationMetadataV1OrBuilder
-
getVersionId
public long getVersionId()Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.
int64 version_id = 4;- Specified by:
getVersionIdin interfaceOperationMetadataV1OrBuilder- Returns:
- The versionId.
-
hasUpdateTime
public boolean hasUpdateTime()The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;- Specified by:
hasUpdateTimein interfaceOperationMetadataV1OrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimein interfaceOperationMetadataV1OrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimeOrBuilderin interfaceOperationMetadataV1OrBuilder
-
getBuildId
The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
string build_id = 6;- Specified by:
getBuildIdin interfaceOperationMetadataV1OrBuilder- Returns:
- The buildId.
-
getBuildIdBytes
public com.google.protobuf.ByteString getBuildIdBytes()The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
string build_id = 6;- Specified by:
getBuildIdBytesin interfaceOperationMetadataV1OrBuilder- Returns:
- The bytes for buildId.
-
getSourceToken
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 7;- Specified by:
getSourceTokenin interfaceOperationMetadataV1OrBuilder- Returns:
- The sourceToken.
-
getSourceTokenBytes
public com.google.protobuf.ByteString getSourceTokenBytes()An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 7;- Specified by:
getSourceTokenBytesin interfaceOperationMetadataV1OrBuilder- Returns:
- The bytes for sourceToken.
-
getBuildName
The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 8;- Specified by:
getBuildNamein interfaceOperationMetadataV1OrBuilder- Returns:
- The buildName.
-
getBuildNameBytes
public com.google.protobuf.ByteString getBuildNameBytes()The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 8;- Specified by:
getBuildNameBytesin interfaceOperationMetadataV1OrBuilder- Returns:
- The bytes for buildName.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OperationMetadataV1 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadataV1 parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadataV1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadataV1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadataV1 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadataV1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OperationMetadataV1 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OperationMetadataV1 parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static OperationMetadataV1 parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OperationMetadataV1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OperationMetadataV1.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-