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 class
OperationMetadataV1.Builder
Metadata 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 int
BUILD_ID_FIELD_NUMBER
static int
BUILD_NAME_FIELD_NUMBER
static int
REQUEST_FIELD_NUMBER
static int
SOURCE_TOKEN_FIELD_NUMBER
static int
TARGET_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
VERSION_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getBuildId()
The Cloud Build ID of the function created or updated by an API call.com.google.protobuf.ByteString
getBuildIdBytes()
The Cloud Build ID of the function created or updated by an API call.String
getBuildName()
The Cloud Build Name of the function deployment.com.google.protobuf.ByteString
getBuildNameBytes()
The Cloud Build Name of the function deployment.static OperationMetadataV1
getDefaultInstance()
OperationMetadataV1
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<OperationMetadataV1>
getParserForType()
com.google.protobuf.Any
getRequest()
The original request that started the operation.com.google.protobuf.AnyOrBuilder
getRequestOrBuilder()
The original request that started the operation.int
getSerializedSize()
String
getSourceToken()
An identifier for Firebase function sources.com.google.protobuf.ByteString
getSourceTokenBytes()
An identifier for Firebase function sources.String
getTarget()
Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`com.google.protobuf.ByteString
getTargetBytes()
Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`OperationType
getType()
Type of operation.int
getTypeValue()
Type of operation.com.google.protobuf.Timestamp
getUpdateTime()
The last update timestamp of the operation.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
The last update timestamp of the operation.long
getVersionId()
Version id of the function created or updated by an API call.int
hashCode()
boolean
hasRequest()
The original request that started the operation.boolean
hasUpdateTime()
The last update timestamp of the operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static OperationMetadataV1.Builder
newBuilder()
static OperationMetadataV1.Builder
newBuilder(OperationMetadataV1 prototype)
OperationMetadataV1.Builder
newBuilderForType()
protected OperationMetadataV1.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static OperationMetadataV1
parseDelimitedFrom(InputStream input)
static OperationMetadataV1
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadataV1
parseFrom(byte[] data)
static OperationMetadataV1
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadataV1
parseFrom(com.google.protobuf.ByteString data)
static OperationMetadataV1
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadataV1
parseFrom(com.google.protobuf.CodedInputStream input)
static OperationMetadataV1
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadataV1
parseFrom(InputStream input)
static OperationMetadataV1
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadataV1
parseFrom(ByteBuffer data)
static OperationMetadataV1
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<OperationMetadataV1>
parser()
OperationMetadataV1.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, 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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getTarget
in 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:
getTargetBytes
in interfaceOperationMetadataV1OrBuilder
- Returns:
- The bytes for target.
-
getTypeValue
public int getTypeValue()
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;
- Specified by:
getTypeValue
in 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:
getType
in interfaceOperationMetadataV1OrBuilder
- Returns:
- The type.
-
hasRequest
public boolean hasRequest()
The original request that started the operation.
.google.protobuf.Any request = 3;
- Specified by:
hasRequest
in 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:
getRequest
in 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:
getRequestOrBuilder
in 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:
getVersionId
in interfaceOperationMetadataV1OrBuilder
- Returns:
- The versionId.
-
hasUpdateTime
public boolean hasUpdateTime()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
- Specified by:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getBuildId
in 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:
getBuildIdBytes
in 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:
getSourceToken
in 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:
getSourceTokenBytes
in 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:
getBuildName
in 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:
getBuildNameBytes
in interfaceOperationMetadataV1OrBuilder
- Returns:
- The bytes for buildName.
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OperationMetadataV1.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OperationMetadataV1 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-