Class IntelligenceFindingRevision.Builder (2.69.0)

public static final class IntelligenceFindingRevision.Builder extends GeneratedMessage.Builder<IntelligenceFindingRevision.Builder> implements IntelligenceFindingRevisionOrBuilder

An IntelligenceFindingRevision represents a specific revision of an IntelligenceFinding resource.

Protobuf type google.storage.control.v2.IntelligenceFindingRevision

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public IntelligenceFindingRevision build()
Returns
Type Description
IntelligenceFindingRevision

buildPartial()

public IntelligenceFindingRevision buildPartial()
Returns
Type Description
IntelligenceFindingRevision

clear()

public IntelligenceFindingRevision.Builder clear()
Returns
Type Description
IntelligenceFindingRevision.Builder
Overrides

clearCreateTime()

public IntelligenceFindingRevision.Builder clearCreateTime()

Output only. The timestamp when the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFindingRevision.Builder

clearName()

public IntelligenceFindingRevision.Builder clearName()

Identifier. The resource name of IntelligenceFindingRevision. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
IntelligenceFindingRevision.Builder

This builder for chaining.

clearSnapshot()

public IntelligenceFindingRevision.Builder clearSnapshot()

Output only. The snapshot of the IntelligenceFinding at the time the revision was created. This field contains the full finding details as they existed for the revision.

.google.storage.control.v2.IntelligenceFinding snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFindingRevision.Builder

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp when the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The timestamp when the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp when the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public IntelligenceFindingRevision getDefaultInstanceForType()
Returns
Type Description
IntelligenceFindingRevision

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Identifier. The resource name of IntelligenceFindingRevision. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of IntelligenceFindingRevision. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getSnapshot()

public IntelligenceFinding getSnapshot()

Output only. The snapshot of the IntelligenceFinding at the time the revision was created. This field contains the full finding details as they existed for the revision.

.google.storage.control.v2.IntelligenceFinding snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding

The snapshot.

getSnapshotBuilder()

public IntelligenceFinding.Builder getSnapshotBuilder()

Output only. The snapshot of the IntelligenceFinding at the time the revision was created. This field contains the full finding details as they existed for the revision.

.google.storage.control.v2.IntelligenceFinding snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

getSnapshotOrBuilder()

public IntelligenceFindingOrBuilder getSnapshotOrBuilder()

Output only. The snapshot of the IntelligenceFinding at the time the revision was created. This field contains the full finding details as they existed for the revision.

.google.storage.control.v2.IntelligenceFinding snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFindingOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The timestamp when the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasSnapshot()

public boolean hasSnapshot()

Output only. The snapshot of the IntelligenceFinding at the time the revision was created. This field contains the full finding details as they existed for the revision.

.google.storage.control.v2.IntelligenceFinding snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the snapshot field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public IntelligenceFindingRevision.Builder mergeCreateTime(Timestamp value)

Output only. The timestamp when the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
IntelligenceFindingRevision.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IntelligenceFindingRevision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntelligenceFindingRevision.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IntelligenceFindingRevision.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IntelligenceFindingRevision.Builder
Overrides

mergeFrom(IntelligenceFindingRevision other)

public IntelligenceFindingRevision.Builder mergeFrom(IntelligenceFindingRevision other)
Parameter
Name Description
other IntelligenceFindingRevision
Returns
Type Description
IntelligenceFindingRevision.Builder

mergeSnapshot(IntelligenceFinding value)

public IntelligenceFindingRevision.Builder mergeSnapshot(IntelligenceFinding value)

Output only. The snapshot of the IntelligenceFinding at the time the revision was created. This field contains the full finding details as they existed for the revision.

.google.storage.control.v2.IntelligenceFinding snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding
Returns
Type Description
IntelligenceFindingRevision.Builder

setCreateTime(Timestamp value)

public IntelligenceFindingRevision.Builder setCreateTime(Timestamp value)

Output only. The timestamp when the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
IntelligenceFindingRevision.Builder

setCreateTime(Timestamp.Builder builderForValue)

public IntelligenceFindingRevision.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IntelligenceFindingRevision.Builder

setName(String value)

public IntelligenceFindingRevision.Builder setName(String value)

Identifier. The resource name of IntelligenceFindingRevision. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
IntelligenceFindingRevision.Builder

This builder for chaining.

setNameBytes(ByteString value)

public IntelligenceFindingRevision.Builder setNameBytes(ByteString value)

Identifier. The resource name of IntelligenceFindingRevision. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
IntelligenceFindingRevision.Builder

This builder for chaining.

setSnapshot(IntelligenceFinding value)

public IntelligenceFindingRevision.Builder setSnapshot(IntelligenceFinding value)

Output only. The snapshot of the IntelligenceFinding at the time the revision was created. This field contains the full finding details as they existed for the revision.

.google.storage.control.v2.IntelligenceFinding snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding
Returns
Type Description
IntelligenceFindingRevision.Builder

setSnapshot(IntelligenceFinding.Builder builderForValue)

public IntelligenceFindingRevision.Builder setSnapshot(IntelligenceFinding.Builder builderForValue)

Output only. The snapshot of the IntelligenceFinding at the time the revision was created. This field contains the full finding details as they existed for the revision.

.google.storage.control.v2.IntelligenceFinding snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue IntelligenceFinding.Builder
Returns
Type Description
IntelligenceFindingRevision.Builder