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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunAssetDiscoveryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RunAssetDiscoveryResponse build()
Returns
buildPartial()
public RunAssetDiscoveryResponse buildPartial()
Returns
clear()
public RunAssetDiscoveryResponse.Builder clear()
Returns
Overrides
clearDuration()
public RunAssetDiscoveryResponse.Builder clearDuration()
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public RunAssetDiscoveryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunAssetDiscoveryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearState()
public RunAssetDiscoveryResponse.Builder clearState()
The state of an asset discovery run.
.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State state = 1;
Returns
clone()
public RunAssetDiscoveryResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RunAssetDiscoveryResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDuration()
public Duration getDuration()
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
Returns
getDurationBuilder()
public Duration.Builder getDurationBuilder()
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
getState()
public RunAssetDiscoveryResponse.State getState()
The state of an asset discovery run.
.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State state = 1;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDuration(Duration value)
public RunAssetDiscoveryResponse.Builder mergeDuration(Duration value)
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
Parameter
Returns
mergeFrom(RunAssetDiscoveryResponse other)
public RunAssetDiscoveryResponse.Builder mergeFrom(RunAssetDiscoveryResponse other)
Parameter
Returns
public RunAssetDiscoveryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RunAssetDiscoveryResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunAssetDiscoveryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDuration(Duration value)
public RunAssetDiscoveryResponse.Builder setDuration(Duration value)
The duration between asset discovery run start and end
.google.protobuf.Duration duration = 2;
Parameter
Returns
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
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RunAssetDiscoveryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunAssetDiscoveryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameter
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RunAssetDiscoveryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides