Class ListAssetsResponse.ListAssetsResult (2.37.0)

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

Result containing the Asset and its State.

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

Inheritance

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

Static Fields

ASSET_FIELD_NUMBER

public static final int ASSET_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

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

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>

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.v1beta1.Asset asset = 1;

Returns
TypeDescription
Asset

The asset.

getAssetOrBuilder()

public AssetOrBuilder getAssetOrBuilder()

Asset matching the search request.

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

Returns
TypeDescription
AssetOrBuilder

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public ListAssetsResponse.ListAssetsResult.State getState()

State of the asset.

.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State state = 2;

Returns
TypeDescription
ListAssetsResponse.ListAssetsResult.State

The state.

getStateValue()

public int getStateValue()

State of the asset.

.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State state = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasAsset()

public boolean hasAsset()

Asset matching the search request.

.google.cloud.securitycenter.v1beta1.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

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

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