Class RunAssetDiscoveryResponse (2.23.0)

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
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RunAssetDiscoveryResponse getDefaultInstance()
Returns
TypeDescription
RunAssetDiscoveryResponse

getDescriptor()

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

newBuilder()

public static RunAssetDiscoveryResponse.Builder newBuilder()
Returns
TypeDescription
RunAssetDiscoveryResponse.Builder

newBuilder(RunAssetDiscoveryResponse prototype)

public static RunAssetDiscoveryResponse.Builder newBuilder(RunAssetDiscoveryResponse prototype)
Parameter
NameDescription
prototypeRunAssetDiscoveryResponse
Returns
TypeDescription
RunAssetDiscoveryResponse.Builder

parseDelimitedFrom(InputStream input)

public static RunAssetDiscoveryResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunAssetDiscoveryResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RunAssetDiscoveryResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RunAssetDiscoveryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RunAssetDiscoveryResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RunAssetDiscoveryResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RunAssetDiscoveryResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunAssetDiscoveryResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RunAssetDiscoveryResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RunAssetDiscoveryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<RunAssetDiscoveryResponse> parser()
Returns
TypeDescription
Parser<RunAssetDiscoveryResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RunAssetDiscoveryResponse getDefaultInstanceForType()
Returns
TypeDescription
RunAssetDiscoveryResponse

getDuration()

public Duration getDuration()

The duration between asset discovery run start and end

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

The duration between asset discovery run start and end

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
DurationOrBuilder

getParserForType()

public Parser<RunAssetDiscoveryResponse> getParserForType()
Returns
TypeDescription
Parser<RunAssetDiscoveryResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public RunAssetDiscoveryResponse.State getState()

The state of an asset discovery run.

.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State state = 1;

Returns
TypeDescription
RunAssetDiscoveryResponse.State

The state.

getStateValue()

public int getStateValue()

The state of an asset discovery run.

.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDuration()

public boolean hasDuration()

The duration between asset discovery run start and end

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
boolean

Whether the duration 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 RunAssetDiscoveryResponse.Builder newBuilderForType()
Returns
TypeDescription
RunAssetDiscoveryResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RunAssetDiscoveryResponse.Builder toBuilder()
Returns
TypeDescription
RunAssetDiscoveryResponse.Builder

writeTo(CodedOutputStream output)

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