public static final class RunAssetDiscoveryResponse.Builder extends GeneratedMessageV3.Builder<RunAssetDiscoveryResponse.Builder> implements RunAssetDiscoveryResponseOrBuilder
Response of asset discovery run
Protobuf type google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunAssetDiscoveryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RunAssetDiscoveryResponse build()
buildPartial()
public RunAssetDiscoveryResponse buildPartial()
clear()
public RunAssetDiscoveryResponse.Builder clear()
Overrides
clearDuration()
public RunAssetDiscoveryResponse.Builder clearDuration()
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
clearField(Descriptors.FieldDescriptor field)
public RunAssetDiscoveryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunAssetDiscoveryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearState()
public RunAssetDiscoveryResponse.Builder clearState()
The state of an asset discovery run.
.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State state = 1;
clone()
public RunAssetDiscoveryResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public RunAssetDiscoveryResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDuration()
public Duration getDuration()
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
Returns |
---|
Type | Description |
Duration | The duration.
|
getDurationBuilder()
public Duration.Builder getDurationBuilder()
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
getState()
public RunAssetDiscoveryResponse.State getState()
The state of an asset discovery run.
.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State state = 1;
getStateValue()
public int getStateValue()
The state of an asset discovery run.
.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State state = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDuration(Duration value)
public RunAssetDiscoveryResponse.Builder mergeDuration(Duration value)
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
mergeFrom(RunAssetDiscoveryResponse other)
public RunAssetDiscoveryResponse.Builder mergeFrom(RunAssetDiscoveryResponse other)
public RunAssetDiscoveryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RunAssetDiscoveryResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunAssetDiscoveryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDuration(Duration value)
public RunAssetDiscoveryResponse.Builder setDuration(Duration value)
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
setDuration(Duration.Builder builderForValue)
public RunAssetDiscoveryResponse.Builder setDuration(Duration.Builder builderForValue)
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public RunAssetDiscoveryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunAssetDiscoveryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setState(RunAssetDiscoveryResponse.State value)
public RunAssetDiscoveryResponse.Builder setState(RunAssetDiscoveryResponse.State value)
The state of an asset discovery run.
.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State state = 1;
setStateValue(int value)
public RunAssetDiscoveryResponse.Builder setStateValue(int value)
The state of an asset discovery run.
.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State state = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RunAssetDiscoveryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides