Class ExternalSystem.TicketInfo.Builder (2.48.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExternalSystem.TicketInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExternalSystem.TicketInfo.Builder
Overrides

build()

public ExternalSystem.TicketInfo build()
Returns
TypeDescription
ExternalSystem.TicketInfo

buildPartial()

public ExternalSystem.TicketInfo buildPartial()
Returns
TypeDescription
ExternalSystem.TicketInfo

clear()

public ExternalSystem.TicketInfo.Builder clear()
Returns
TypeDescription
ExternalSystem.TicketInfo.Builder
Overrides

clearAssignee()

public ExternalSystem.TicketInfo.Builder clearAssignee()

The assignee of the ticket in the ticket system.

string assignee = 2;

Returns
TypeDescription
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
TypeDescription
ExternalSystem.TicketInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExternalSystem.TicketInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExternalSystem.TicketInfo.Builder
Overrides

clearId()

public ExternalSystem.TicketInfo.Builder clearId()

The identifier of the ticket in the ticket system.

string id = 1;

Returns
TypeDescription
ExternalSystem.TicketInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExternalSystem.TicketInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ExternalSystem.TicketInfo.Builder

clearUri()

public ExternalSystem.TicketInfo.Builder clearUri()

The link to the ticket in the ticket system.

string uri = 4;

Returns
TypeDescription
ExternalSystem.TicketInfo.Builder

This builder for chaining.

clone()

public ExternalSystem.TicketInfo.Builder clone()
Returns
TypeDescription
ExternalSystem.TicketInfo.Builder
Overrides

getAssignee()

public String getAssignee()

The assignee of the ticket in the ticket system.

string assignee = 2;

Returns
TypeDescription
String

The assignee.

getAssigneeBytes()

public ByteString getAssigneeBytes()

The assignee of the ticket in the ticket system.

string assignee = 2;

Returns
TypeDescription
ByteString

The bytes for assignee.

getDefaultInstanceForType()

public ExternalSystem.TicketInfo getDefaultInstanceForType()
Returns
TypeDescription
ExternalSystem.TicketInfo

getDescription()

public String getDescription()

The description of the ticket in the ticket system.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the ticket in the ticket system.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

The identifier of the ticket in the ticket system.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

The identifier of the ticket in the ticket system.

string id = 1;

Returns
TypeDescription
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
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

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

string status = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getUri()

public String getUri()

The link to the ticket in the ticket system.

string uri = 4;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The link to the ticket in the ticket system.

string uri = 4;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExternalSystem.TicketInfo other)

public ExternalSystem.TicketInfo.Builder mergeFrom(ExternalSystem.TicketInfo other)
Parameter
NameDescription
otherExternalSystem.TicketInfo
Returns
TypeDescription
ExternalSystem.TicketInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExternalSystem.TicketInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExternalSystem.TicketInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExternalSystem.TicketInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExternalSystem.TicketInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExternalSystem.TicketInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueString

The assignee to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for assignee to set.

Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExternalSystem.TicketInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The id to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The status to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
ExternalSystem.TicketInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExternalSystem.TicketInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The uri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
ExternalSystem.TicketInfo.Builder

This builder for chaining.