Class ListAssetsResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse
All Implemented Interfaces:
ListAssetsResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ListAssetsResponse extends com.google.protobuf.GeneratedMessage implements ListAssetsResponseOrBuilder
 Response message for listing assets.
 
Protobuf type google.cloud.securitycenter.v1p1beta1.ListAssetsResponse
See Also:
  • Field Details

    • LIST_ASSETS_RESULTS_FIELD_NUMBER

      public static final int LIST_ASSETS_RESULTS_FIELD_NUMBER
      See Also:
    • READ_TIME_FIELD_NUMBER

      public static final int READ_TIME_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • TOTAL_SIZE_FIELD_NUMBER

      public static final int TOTAL_SIZE_FIELD_NUMBER
      See Also:
  • 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
    • getListAssetsResultsList

      public List<ListAssetsResponse.ListAssetsResult> getListAssetsResultsList()
       Assets matching the list request.
       
      repeated .google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult list_assets_results = 1;
      Specified by:
      getListAssetsResultsList in interface ListAssetsResponseOrBuilder
    • getListAssetsResultsOrBuilderList

      public List<? extends ListAssetsResponse.ListAssetsResultOrBuilder> getListAssetsResultsOrBuilderList()
       Assets matching the list request.
       
      repeated .google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult list_assets_results = 1;
      Specified by:
      getListAssetsResultsOrBuilderList in interface ListAssetsResponseOrBuilder
    • getListAssetsResultsCount

      public int getListAssetsResultsCount()
       Assets matching the list request.
       
      repeated .google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult list_assets_results = 1;
      Specified by:
      getListAssetsResultsCount in interface ListAssetsResponseOrBuilder
    • getListAssetsResults

      public ListAssetsResponse.ListAssetsResult getListAssetsResults(int index)
       Assets matching the list request.
       
      repeated .google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult list_assets_results = 1;
      Specified by:
      getListAssetsResults in interface ListAssetsResponseOrBuilder
    • getListAssetsResultsOrBuilder

      public ListAssetsResponse.ListAssetsResultOrBuilder getListAssetsResultsOrBuilder(int index)
       Assets matching the list request.
       
      repeated .google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult list_assets_results = 1;
      Specified by:
      getListAssetsResultsOrBuilder in interface ListAssetsResponseOrBuilder
    • hasReadTime

      public boolean hasReadTime()
       Time used for executing the list request.
       
      .google.protobuf.Timestamp read_time = 2;
      Specified by:
      hasReadTime in interface ListAssetsResponseOrBuilder
      Returns:
      Whether the readTime field is set.
    • getReadTime

      public com.google.protobuf.Timestamp getReadTime()
       Time used for executing the list request.
       
      .google.protobuf.Timestamp read_time = 2;
      Specified by:
      getReadTime in interface ListAssetsResponseOrBuilder
      Returns:
      The readTime.
    • getReadTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
       Time used for executing the list request.
       
      .google.protobuf.Timestamp read_time = 2;
      Specified by:
      getReadTimeOrBuilder in interface ListAssetsResponseOrBuilder
    • getNextPageToken

      public String getNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results.
       
      string next_page_token = 3;
      Specified by:
      getNextPageToken in interface ListAssetsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to retrieve the next page of results, or empty if there are no more
       results.
       
      string next_page_token = 3;
      Specified by:
      getNextPageTokenBytes in interface ListAssetsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • getTotalSize

      public int getTotalSize()
       The total number of assets matching the query.
       
      int32 total_size = 4;
      Specified by:
      getTotalSize in interface ListAssetsResponseOrBuilder
      Returns:
      The totalSize.
    • 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 ListAssetsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ListAssetsResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListAssetsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListAssetsResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListAssetsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListAssetsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListAssetsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ListAssetsResponse.Builder newBuilder()
    • newBuilder

      public static ListAssetsResponse.Builder newBuilder(ListAssetsResponse prototype)
    • toBuilder

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

      protected ListAssetsResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ListAssetsResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ListAssetsResponse> parser()
    • getParserForType

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