public final class RunAssetDiscoveryResponse extends GeneratedMessageV3 implements RunAssetDiscoveryResponseOrBuilder
Response of asset discovery run
Protobuf type google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse
Static Fields
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RunAssetDiscoveryResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RunAssetDiscoveryResponse.Builder newBuilder()
Returns
newBuilder(RunAssetDiscoveryResponse prototype)
public static RunAssetDiscoveryResponse.Builder newBuilder(RunAssetDiscoveryResponse prototype)
Parameter
Returns
public static RunAssetDiscoveryResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RunAssetDiscoveryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RunAssetDiscoveryResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RunAssetDiscoveryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RunAssetDiscoveryResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RunAssetDiscoveryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RunAssetDiscoveryResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RunAssetDiscoveryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RunAssetDiscoveryResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RunAssetDiscoveryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RunAssetDiscoveryResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RunAssetDiscoveryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RunAssetDiscoveryResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public RunAssetDiscoveryResponse getDefaultInstanceForType()
Returns
getDuration()
public Duration getDuration()
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
Returns
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
Returns
getParserForType()
public Parser<RunAssetDiscoveryResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public RunAssetDiscoveryResponse.State getState()
The state of an asset discovery run.
.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State state = 1;
Returns
getStateValue()
public int getStateValue()
The state of an asset discovery run.
.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State state = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDuration()
public boolean hasDuration()
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
Returns
Type | Description |
boolean | Whether the duration field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RunAssetDiscoveryResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RunAssetDiscoveryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RunAssetDiscoveryResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions