Class ExportAssetsResponse

  • All Implemented Interfaces:
    ExportAssetsResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ExportAssetsResponse
    extends com.google.protobuf.GeneratedMessageV3
    implements ExportAssetsResponseOrBuilder
     The export asset response. This message is returned by the
     [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
     method in the returned
     [google.longrunning.Operation.response][google.longrunning.Operation.response]
     field.
     
    Protobuf type google.cloud.asset.v1.ExportAssetsResponse
    See Also:
    Serialized Form
    • Field Detail

      • OUTPUT_CONFIG_FIELD_NUMBER

        public static final int OUTPUT_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OUTPUT_RESULT_FIELD_NUMBER

        public static final int OUTPUT_RESULT_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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
      • hasReadTime

        public boolean hasReadTime()
         Time the snapshot was taken.
         
        .google.protobuf.Timestamp read_time = 1;
        Specified by:
        hasReadTime in interface ExportAssetsResponseOrBuilder
        Returns:
        Whether the readTime field is set.
      • getReadTime

        public com.google.protobuf.Timestamp getReadTime()
         Time the snapshot was taken.
         
        .google.protobuf.Timestamp read_time = 1;
        Specified by:
        getReadTime in interface ExportAssetsResponseOrBuilder
        Returns:
        The readTime.
      • hasOutputConfig

        public boolean hasOutputConfig()
         Output configuration indicating where the results were output to.
         
        .google.cloud.asset.v1.OutputConfig output_config = 2;
        Specified by:
        hasOutputConfig in interface ExportAssetsResponseOrBuilder
        Returns:
        Whether the outputConfig field is set.
      • getOutputConfig

        public OutputConfig getOutputConfig()
         Output configuration indicating where the results were output to.
         
        .google.cloud.asset.v1.OutputConfig output_config = 2;
        Specified by:
        getOutputConfig in interface ExportAssetsResponseOrBuilder
        Returns:
        The outputConfig.
      • hasOutputResult

        public boolean hasOutputResult()
         Output result indicating where the assets were exported to. For example, a
         set of actual Cloud Storage object URIs where the assets are exported to.
         The URIs can be different from what [output_config] has specified, as the
         service will split the output object into multiple ones once it exceeds a
         single Cloud Storage object limit.
         
        .google.cloud.asset.v1.OutputResult output_result = 3;
        Specified by:
        hasOutputResult in interface ExportAssetsResponseOrBuilder
        Returns:
        Whether the outputResult field is set.
      • getOutputResult

        public OutputResult getOutputResult()
         Output result indicating where the assets were exported to. For example, a
         set of actual Cloud Storage object URIs where the assets are exported to.
         The URIs can be different from what [output_config] has specified, as the
         service will split the output object into multiple ones once it exceeds a
         single Cloud Storage object limit.
         
        .google.cloud.asset.v1.OutputResult output_result = 3;
        Specified by:
        getOutputResult in interface ExportAssetsResponseOrBuilder
        Returns:
        The outputResult.
      • getOutputResultOrBuilder

        public OutputResultOrBuilder getOutputResultOrBuilder()
         Output result indicating where the assets were exported to. For example, a
         set of actual Cloud Storage object URIs where the assets are exported to.
         The URIs can be different from what [output_config] has specified, as the
         service will split the output object into multiple ones once it exceeds a
         single Cloud Storage object limit.
         
        .google.cloud.asset.v1.OutputResult output_result = 3;
        Specified by:
        getOutputResultOrBuilder in interface ExportAssetsResponseOrBuilder
      • 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 ExportAssetsResponse parseFrom​(ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportAssetsResponse parseFrom​(ByteBuffer data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportAssetsResponse parseFrom​(com.google.protobuf.ByteString data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportAssetsResponse parseFrom​(com.google.protobuf.ByteString data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportAssetsResponse parseFrom​(byte[] data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportAssetsResponse parseFrom​(byte[] data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public ExportAssetsResponse.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ExportAssetsResponse.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ExportAssetsResponse.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ExportAssetsResponse> 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 ExportAssetsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder