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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ASSET_FIELD_NUMBER
public static final int ASSET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_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.v1beta1.Asset asset = 1;
Returns |
---|
Type | Description |
Asset | The asset.
|
getAssetOrBuilder()
public AssetOrBuilder getAssetOrBuilder()
Asset matching the search request.
.google.cloud.securitycenter.v1beta1.Asset asset = 1;
getDefaultInstanceForType()
public ListAssetsResponse.ListAssetsResult getDefaultInstanceForType()
getParserForType()
public Parser<ListAssetsResponse.ListAssetsResult> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getState()
public ListAssetsResponse.ListAssetsResult.State getState()
State of the asset.
.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State state = 2;
getStateValue()
public int getStateValue()
State of the asset.
.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State state = 2;
Returns |
---|
Type | Description |
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 |
---|
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)
Overrides
toBuilder()
public ListAssetsResponse.ListAssetsResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides