Class 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 for the given [google.longrunning.Operation][google.longrunning.Operation].
     
    Protobuf type google.appengine.v1.OperationMetadataV1
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • getMethod

        public String getMethod()
         API method that initiated this operation. Example:
         `google.appengine.v1.Versions.CreateVersion`.
        
         @OutputOnly
         
        string method = 1;
        Specified by:
        getMethod in interface OperationMetadataV1OrBuilder
        Returns:
        The method.
      • getMethodBytes

        public com.google.protobuf.ByteString getMethodBytes()
         API method that initiated this operation. Example:
         `google.appengine.v1.Versions.CreateVersion`.
        
         @OutputOnly
         
        string method = 1;
        Specified by:
        getMethodBytes in interface OperationMetadataV1OrBuilder
        Returns:
        The bytes for method.
      • hasInsertTime

        public boolean hasInsertTime()
         Time that this operation was created.
        
         @OutputOnly
         
        .google.protobuf.Timestamp insert_time = 2;
        Specified by:
        hasInsertTime in interface OperationMetadataV1OrBuilder
        Returns:
        Whether the insertTime field is set.
      • getInsertTime

        public com.google.protobuf.Timestamp getInsertTime()
         Time that this operation was created.
        
         @OutputOnly
         
        .google.protobuf.Timestamp insert_time = 2;
        Specified by:
        getInsertTime in interface OperationMetadataV1OrBuilder
        Returns:
        The insertTime.
      • getInsertTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getInsertTimeOrBuilder()
         Time that this operation was created.
        
         @OutputOnly
         
        .google.protobuf.Timestamp insert_time = 2;
        Specified by:
        getInsertTimeOrBuilder in interface OperationMetadataV1OrBuilder
      • hasEndTime

        public boolean hasEndTime()
         Time that this operation completed.
        
         @OutputOnly
         
        .google.protobuf.Timestamp end_time = 3;
        Specified by:
        hasEndTime in interface OperationMetadataV1OrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         Time that this operation completed.
        
         @OutputOnly
         
        .google.protobuf.Timestamp end_time = 3;
        Specified by:
        getEndTime in interface OperationMetadataV1OrBuilder
        Returns:
        The endTime.
      • getEndTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Time that this operation completed.
        
         @OutputOnly
         
        .google.protobuf.Timestamp end_time = 3;
        Specified by:
        getEndTimeOrBuilder in interface OperationMetadataV1OrBuilder
      • getUserBytes

        public com.google.protobuf.ByteString getUserBytes()
         User who requested this operation.
        
         @OutputOnly
         
        string user = 4;
        Specified by:
        getUserBytes in interface OperationMetadataV1OrBuilder
        Returns:
        The bytes for user.
      • getTarget

        public String getTarget()
         Name of the resource that this operation is acting on. Example:
         `apps/myapp/services/default`.
        
         @OutputOnly
         
        string target = 5;
        Specified by:
        getTarget in interface OperationMetadataV1OrBuilder
        Returns:
        The target.
      • getTargetBytes

        public com.google.protobuf.ByteString getTargetBytes()
         Name of the resource that this operation is acting on. Example:
         `apps/myapp/services/default`.
        
         @OutputOnly
         
        string target = 5;
        Specified by:
        getTargetBytes in interface OperationMetadataV1OrBuilder
        Returns:
        The bytes for target.
      • getEphemeralMessage

        public String getEphemeralMessage()
         Ephemeral message that may change every time the operation is polled.
         @OutputOnly
         
        string ephemeral_message = 6;
        Specified by:
        getEphemeralMessage in interface OperationMetadataV1OrBuilder
        Returns:
        The ephemeralMessage.
      • getEphemeralMessageBytes

        public com.google.protobuf.ByteString getEphemeralMessageBytes()
         Ephemeral message that may change every time the operation is polled.
         @OutputOnly
         
        string ephemeral_message = 6;
        Specified by:
        getEphemeralMessageBytes in interface OperationMetadataV1OrBuilder
        Returns:
        The bytes for ephemeralMessage.
      • getWarningList

        public com.google.protobuf.ProtocolStringList getWarningList()
         Durable messages that persist on every operation poll.
         @OutputOnly
         
        repeated string warning = 7;
        Specified by:
        getWarningList in interface OperationMetadataV1OrBuilder
        Returns:
        A list containing the warning.
      • getWarningCount

        public int getWarningCount()
         Durable messages that persist on every operation poll.
         @OutputOnly
         
        repeated string warning = 7;
        Specified by:
        getWarningCount in interface OperationMetadataV1OrBuilder
        Returns:
        The count of warning.
      • getWarning

        public String getWarning​(int index)
         Durable messages that persist on every operation poll.
         @OutputOnly
         
        repeated string warning = 7;
        Specified by:
        getWarning in interface OperationMetadataV1OrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The warning at the given index.
      • getWarningBytes

        public com.google.protobuf.ByteString getWarningBytes​(int index)
         Durable messages that persist on every operation poll.
         @OutputOnly
         
        repeated string warning = 7;
        Specified by:
        getWarningBytes in interface OperationMetadataV1OrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the warning at the given index.
      • hasCreateVersionMetadata

        public boolean hasCreateVersionMetadata()
        .google.appengine.v1.CreateVersionMetadataV1 create_version_metadata = 8;
        Specified by:
        hasCreateVersionMetadata in interface OperationMetadataV1OrBuilder
        Returns:
        Whether the createVersionMetadata field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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