Class ExternalSystem.TicketInfo.Builder (2.62.0)

public static final class ExternalSystem.TicketInfo.Builder extends GeneratedMessageV3.Builder<ExternalSystem.TicketInfo.Builder> implements ExternalSystem.TicketInfoOrBuilder

Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.

Protobuf type google.cloud.securitycenter.v2.ExternalSystem.TicketInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExternalSystem.TicketInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExternalSystem.TicketInfo.Builder
Overrides

build()

public ExternalSystem.TicketInfo build()
Returns
Type Description
ExternalSystem.TicketInfo

buildPartial()

public ExternalSystem.TicketInfo buildPartial()
Returns
Type Description
ExternalSystem.TicketInfo

clear()

public ExternalSystem.TicketInfo.Builder clear()
Returns
Type Description
ExternalSystem.TicketInfo.Builder
Overrides

clearAssignee()

public ExternalSystem.TicketInfo.Builder clearAssignee()

The assignee of the ticket in the ticket system.

string assignee = 2;

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

clearDescription()

public ExternalSystem.TicketInfo.Builder clearDescription()

The description of the ticket in the ticket system.

string description = 3;

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExternalSystem.TicketInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExternalSystem.TicketInfo.Builder
Overrides

clearId()

public ExternalSystem.TicketInfo.Builder clearId()

The identifier of the ticket in the ticket system.

string id = 1;

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExternalSystem.TicketInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExternalSystem.TicketInfo.Builder
Overrides

clearStatus()

public ExternalSystem.TicketInfo.Builder clearStatus()

The latest status of the ticket, as reported by the ticket system.

string status = 5;

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

clearUpdateTime()

public ExternalSystem.TicketInfo.Builder clearUpdateTime()

The time when the ticket was last updated, as reported by the ticket system.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
ExternalSystem.TicketInfo.Builder

clearUri()

public ExternalSystem.TicketInfo.Builder clearUri()

The link to the ticket in the ticket system.

string uri = 4;

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

clone()

public ExternalSystem.TicketInfo.Builder clone()
Returns
Type Description
ExternalSystem.TicketInfo.Builder
Overrides

getAssignee()

public String getAssignee()

The assignee of the ticket in the ticket system.

string assignee = 2;

Returns
Type Description
String

The assignee.

getAssigneeBytes()

public ByteString getAssigneeBytes()

The assignee of the ticket in the ticket system.

string assignee = 2;

Returns
Type Description
ByteString

The bytes for assignee.

getDefaultInstanceForType()

public ExternalSystem.TicketInfo getDefaultInstanceForType()
Returns
Type Description
ExternalSystem.TicketInfo

getDescription()

public String getDescription()

The description of the ticket in the ticket system.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the ticket in the ticket system.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getId()

public String getId()

The identifier of the ticket in the ticket system.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

The identifier of the ticket in the ticket system.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getStatus()

public String getStatus()

The latest status of the ticket, as reported by the ticket system.

string status = 5;

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

The latest status of the ticket, as reported by the ticket system.

string status = 5;

Returns
Type Description
ByteString

The bytes for status.

getUpdateTime()

public Timestamp getUpdateTime()

The time when the ticket was last updated, as reported by the ticket system.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The time when the ticket was last updated, as reported by the ticket system.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time when the ticket was last updated, as reported by the ticket system.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
TimestampOrBuilder

getUri()

public String getUri()

The link to the ticket in the ticket system.

string uri = 4;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The link to the ticket in the ticket system.

string uri = 4;

Returns
Type Description
ByteString

The bytes for uri.

hasUpdateTime()

public boolean hasUpdateTime()

The time when the ticket was last updated, as reported by the ticket system.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExternalSystem.TicketInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExternalSystem.TicketInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExternalSystem.TicketInfo.Builder
Overrides

mergeUpdateTime(Timestamp value)

public ExternalSystem.TicketInfo.Builder mergeUpdateTime(Timestamp value)

The time when the ticket was last updated, as reported by the ticket system.

.google.protobuf.Timestamp update_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
ExternalSystem.TicketInfo.Builder

setAssignee(String value)

public ExternalSystem.TicketInfo.Builder setAssignee(String value)

The assignee of the ticket in the ticket system.

string assignee = 2;

Parameter
Name Description
value String

The assignee to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setAssigneeBytes(ByteString value)

public ExternalSystem.TicketInfo.Builder setAssigneeBytes(ByteString value)

The assignee of the ticket in the ticket system.

string assignee = 2;

Parameter
Name Description
value ByteString

The bytes for assignee to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setDescription(String value)

public ExternalSystem.TicketInfo.Builder setDescription(String value)

The description of the ticket in the ticket system.

string description = 3;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ExternalSystem.TicketInfo.Builder setDescriptionBytes(ByteString value)

The description of the ticket in the ticket system.

string description = 3;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExternalSystem.TicketInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExternalSystem.TicketInfo.Builder
Overrides

setId(String value)

public ExternalSystem.TicketInfo.Builder setId(String value)

The identifier of the ticket in the ticket system.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setIdBytes(ByteString value)

public ExternalSystem.TicketInfo.Builder setIdBytes(ByteString value)

The identifier of the ticket in the ticket system.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExternalSystem.TicketInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExternalSystem.TicketInfo.Builder
Overrides

setStatus(String value)

public ExternalSystem.TicketInfo.Builder setStatus(String value)

The latest status of the ticket, as reported by the ticket system.

string status = 5;

Parameter
Name Description
value String

The status to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public ExternalSystem.TicketInfo.Builder setStatusBytes(ByteString value)

The latest status of the ticket, as reported by the ticket system.

string status = 5;

Parameter
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExternalSystem.TicketInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExternalSystem.TicketInfo.Builder
Overrides

setUpdateTime(Timestamp value)

public ExternalSystem.TicketInfo.Builder setUpdateTime(Timestamp value)

The time when the ticket was last updated, as reported by the ticket system.

.google.protobuf.Timestamp update_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
ExternalSystem.TicketInfo.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ExternalSystem.TicketInfo.Builder setUpdateTime(Timestamp.Builder builderForValue)

The time when the ticket was last updated, as reported by the ticket system.

.google.protobuf.Timestamp update_time = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExternalSystem.TicketInfo.Builder

setUri(String value)

public ExternalSystem.TicketInfo.Builder setUri(String value)

The link to the ticket in the ticket system.

string uri = 4;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public ExternalSystem.TicketInfo.Builder setUriBytes(ByteString value)

The link to the ticket in the ticket system.

string uri = 4;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
ExternalSystem.TicketInfo.Builder

This builder for chaining.