public static final class ListAssetsResponse.ListAssetsResult extends GeneratedMessageV3 implements ListAssetsResponse.ListAssetsResultOrBuilder
Result containing the Asset and its State.
Protobuf type google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ASSET_FIELD_NUMBER
public static final int ASSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_CHANGE_FIELD_NUMBER
public static final int STATE_CHANGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ListAssetsResponse.ListAssetsResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListAssetsResponse.ListAssetsResult.Builder newBuilder()
newBuilder(ListAssetsResponse.ListAssetsResult prototype)
public static ListAssetsResponse.ListAssetsResult.Builder newBuilder(ListAssetsResponse.ListAssetsResult prototype)
public static ListAssetsResponse.ListAssetsResult parseDelimitedFrom(InputStream input)
public static ListAssetsResponse.ListAssetsResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListAssetsResponse.ListAssetsResult parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListAssetsResponse.ListAssetsResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListAssetsResponse.ListAssetsResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAssetsResponse.ListAssetsResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAssetsResponse.ListAssetsResult parseFrom(CodedInputStream input)
public static ListAssetsResponse.ListAssetsResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListAssetsResponse.ListAssetsResult parseFrom(InputStream input)
public static ListAssetsResponse.ListAssetsResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListAssetsResponse.ListAssetsResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListAssetsResponse.ListAssetsResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListAssetsResponse.ListAssetsResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAsset()
Asset matching the search request.
.google.cloud.securitycenter.v1.Asset asset = 1;
Returns |
Type |
Description |
Asset |
The asset.
|
getAssetOrBuilder()
public AssetOrBuilder getAssetOrBuilder()
Asset matching the search request.
.google.cloud.securitycenter.v1.Asset asset = 1;
getDefaultInstanceForType()
public ListAssetsResponse.ListAssetsResult getDefaultInstanceForType()
getParserForType()
public Parser<ListAssetsResponse.ListAssetsResult> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStateChange()
public ListAssetsResponse.ListAssetsResult.StateChange getStateChange()
State change of the asset between the points in time.
.google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange state_change = 2;
getStateChangeValue()
public int getStateChangeValue()
State change of the asset between the points in time.
.google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange state_change = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for stateChange.
|
hasAsset()
public boolean hasAsset()
Asset matching the search request.
.google.cloud.securitycenter.v1.Asset asset = 1;
Returns |
Type |
Description |
boolean |
Whether the asset field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListAssetsResponse.ListAssetsResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListAssetsResponse.ListAssetsResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ListAssetsResponse.ListAssetsResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides