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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Metadata 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The Cloud Build ID of the function created or updated by an API call.
    com.google.protobuf.ByteString
    The Cloud Build ID of the function created or updated by an API call.
    The Cloud Build Name of the function deployment.
    com.google.protobuf.ByteString
    The Cloud Build Name of the function deployment.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Parser<OperationMetadataV1>
     
    com.google.protobuf.Any
    The original request that started the operation.
    com.google.protobuf.AnyOrBuilder
    The original request that started the operation.
    int
     
    An identifier for Firebase function sources.
    com.google.protobuf.ByteString
    An identifier for Firebase function sources.
    Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`
    com.google.protobuf.ByteString
    Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`
    Type of operation.
    int
    Type of operation.
    com.google.protobuf.Timestamp
    The last update timestamp of the operation.
    com.google.protobuf.TimestampOrBuilder
    The last update timestamp of the operation.
    long
    Version id of the function created or updated by an API call.
    int
     
    boolean
    The original request that started the operation.
    boolean
    The last update timestamp of the operation.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<OperationMetadataV1>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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 interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
      Returns:
      The bytes for target.
    • getTypeValue

      public int getTypeValue()
       Type of operation.
       
      .google.cloud.functions.v1.OperationType type = 2;
      Specified by:
      getTypeValue in interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
      Returns:
      The type.
    • hasRequest

      public boolean hasRequest()
       The original request that started the operation.
       
      .google.protobuf.Any request = 3;
      Specified by:
      hasRequest in interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
    • 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 interface OperationMetadataV1OrBuilder
      Returns:
      The versionId.
    • hasUpdateTime

      public boolean hasUpdateTime()
       The last update timestamp of the operation.
       
      .google.protobuf.Timestamp update_time = 5;
      Specified by:
      hasUpdateTime in interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
    • 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 interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
      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 interface OperationMetadataV1OrBuilder
      Returns:
      The bytes for buildName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected OperationMetadataV1.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public OperationMetadataV1 getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder