Package com.google.cloud.functions.v1
Class OperationMetadataV1
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class OperationMetadataV1 extends com.google.protobuf.GeneratedMessageV3 implements OperationMetadataV1OrBuilder
Metadata describing an [Operation][google.longrunning.Operation]
Protobuf typegoogle.cloud.functions.v1.OperationMetadataV1- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationMetadataV1.BuilderMetadata describing an [Operation][google.longrunning.Operation]-
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 intBUILD_ID_FIELD_NUMBERstatic intBUILD_NAME_FIELD_NUMBERstatic intREQUEST_FIELD_NUMBERstatic intSOURCE_TOKEN_FIELD_NUMBERstatic intTARGET_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intVERSION_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetBuildId()The Cloud Build ID of the function created or updated by an API call.com.google.protobuf.ByteStringgetBuildIdBytes()The Cloud Build ID of the function created or updated by an API call.StringgetBuildName()The Cloud Build Name of the function deployment.com.google.protobuf.ByteStringgetBuildNameBytes()The Cloud Build Name of the function deployment.static OperationMetadataV1getDefaultInstance()OperationMetadataV1getDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<OperationMetadataV1>getParserForType()com.google.protobuf.AnygetRequest()The original request that started the operation.com.google.protobuf.AnyOrBuildergetRequestOrBuilder()The original request that started the operation.intgetSerializedSize()StringgetSourceToken()An identifier for Firebase function sources.com.google.protobuf.ByteStringgetSourceTokenBytes()An identifier for Firebase function sources.StringgetTarget()Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`com.google.protobuf.ByteStringgetTargetBytes()Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`OperationTypegetType()Type of operation.intgetTypeValue()Type of operation.com.google.protobuf.TimestampgetUpdateTime()The last update timestamp of the operation.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()The last update timestamp of the operation.longgetVersionId()Version id of the function created or updated by an API call.inthashCode()booleanhasRequest()The original request that started the operation.booleanhasUpdateTime()The last update timestamp of the operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OperationMetadataV1.BuildernewBuilder()static OperationMetadataV1.BuildernewBuilder(OperationMetadataV1 prototype)OperationMetadataV1.BuildernewBuilderForType()protected OperationMetadataV1.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()OperationMetadataV1.BuildertoBuilder()voidwriteTo(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, internalGetMapField, 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
-
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_ID_FIELD_NUMBER
public static final int VERSION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_ID_FIELD_NUMBER
public static final int BUILD_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_TOKEN_FIELD_NUMBER
public static final int SOURCE_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_NAME_FIELD_NUMBER
public static final int BUILD_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTarget
public String 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
public OperationType 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
public String 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
public String 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
public String 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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static OperationMetadataV1 parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OperationMetadataV1 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OperationMetadataV1 parseDelimitedFrom(InputStream input) throws IOException
- 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
public OperationMetadataV1.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OperationMetadataV1.Builder newBuilder()
-
newBuilder
public static OperationMetadataV1.Builder newBuilder(OperationMetadataV1 prototype)
-
toBuilder
public OperationMetadataV1.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OperationMetadataV1.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OperationMetadataV1 getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OperationMetadataV1> parser()
-
getParserForType
public com.google.protobuf.Parser<OperationMetadataV1> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OperationMetadataV1 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-