Class ListAssetsResponse.ListAssetsResult (2.3.2)

public static final class ListAssetsResponse.ListAssetsResult extends GeneratedMessageV3 implements ListAssetsResponse.ListAssetsResultOrBuilder

Result containing the Asset and its State.

Protobuf type google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListAssetsResponse.ListAssetsResult

Fields

ASSET_FIELD_NUMBER

public static final int ASSET_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_CHANGE_FIELD_NUMBER

public static final int STATE_CHANGE_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAsset()

public Asset getAsset()

Asset matching the search request.

.google.cloud.securitycenter.v1p1beta1.Asset asset = 1;

Returns
TypeDescription
Asset

The asset.

getAssetOrBuilder()

public AssetOrBuilder getAssetOrBuilder()

Asset matching the search request.

.google.cloud.securitycenter.v1p1beta1.Asset asset = 1;

Returns
TypeDescription
AssetOrBuilder

getDefaultInstance()

public static ListAssetsResponse.ListAssetsResult getDefaultInstance()
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult

getDefaultInstanceForType()

public ListAssetsResponse.ListAssetsResult getDefaultInstanceForType()
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getParserForType()

public Parser<ListAssetsResponse.ListAssetsResult> getParserForType()
Returns
TypeDescription
Parser<ListAssetsResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStateChange()

public ListAssetsResponse.ListAssetsResult.StateChange getStateChange()

State change of the asset between the points in time.

.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult.StateChange state_change = 2;

Returns
TypeDescription
ListAssetsResponse.ListAssetsResult.StateChange

The stateChange.

getStateChangeValue()

public int getStateChangeValue()

State change of the asset between the points in time.

.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult.StateChange state_change = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for stateChange.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAsset()

public boolean hasAsset()

Asset matching the search request.

.google.cloud.securitycenter.v1p1beta1.Asset asset = 1;

Returns
TypeDescription
boolean

Whether the asset field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static ListAssetsResponse.ListAssetsResult.Builder newBuilder()
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult.Builder

newBuilder(ListAssetsResponse.ListAssetsResult prototype)

public static ListAssetsResponse.ListAssetsResult.Builder newBuilder(ListAssetsResponse.ListAssetsResult prototype)
Parameter
NameDescription
prototypeListAssetsResponse.ListAssetsResult
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult.Builder

newBuilderForType()

public ListAssetsResponse.ListAssetsResult.Builder newBuilderForType()
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListAssetsResponse.ListAssetsResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static ListAssetsResponse.ListAssetsResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAssetsResponse.ListAssetsResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListAssetsResponse.ListAssetsResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListAssetsResponse.ListAssetsResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListAssetsResponse.ListAssetsResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListAssetsResponse.ListAssetsResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListAssetsResponse.ListAssetsResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAssetsResponse.ListAssetsResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListAssetsResponse.ListAssetsResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAssetsResponse.ListAssetsResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListAssetsResponse.ListAssetsResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListAssetsResponse.ListAssetsResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListAssetsResponse.ListAssetsResult> parser()
Returns
TypeDescription
Parser<ListAssetsResult>

toBuilder()

public ListAssetsResponse.ListAssetsResult.Builder toBuilder()
Returns
TypeDescription
ListAssetsResponse.ListAssetsResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException