Class SecretStatus.Builder (2.84.0)

public static final class SecretStatus.Builder extends GeneratedMessage.Builder<SecretStatus.Builder> implements SecretStatusOrBuilder

The status of the secret with a timestamp.

Protobuf type grafeas.v1.SecretStatus

Static Methods

getDescriptor()

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

Methods

build()

public SecretStatus build()
Returns
Type Description
SecretStatus

buildPartial()

public SecretStatus buildPartial()
Returns
Type Description
SecretStatus

clear()

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

clearMessage()

public SecretStatus.Builder clearMessage()

Optional message about the status code.

string message = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecretStatus.Builder

This builder for chaining.

clearStatus()

public SecretStatus.Builder clearStatus()

The status of the secret.

.grafeas.v1.SecretStatus.Status status = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecretStatus.Builder

This builder for chaining.

clearUpdateTime()

public SecretStatus.Builder clearUpdateTime()

The time the secret status was last updated.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecretStatus.Builder

getDefaultInstanceForType()

public SecretStatus getDefaultInstanceForType()
Returns
Type Description
SecretStatus

getDescriptorForType()

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

getMessage()

public String getMessage()

Optional message about the status code.

string message = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Optional message about the status code.

string message = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for message.

getStatus()

public SecretStatus.Status getStatus()

The status of the secret.

.grafeas.v1.SecretStatus.Status status = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecretStatus.Status

The status.

getStatusValue()

public int getStatusValue()

The status of the secret.

.grafeas.v1.SecretStatus.Status status = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for status.

getUpdateTime()

public Timestamp getUpdateTime()

The time the secret status was last updated.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The time the secret status was last updated.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time the secret status was last updated.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

The time the secret status was last updated.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SecretStatus other)

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

mergeUpdateTime(Timestamp value)

public SecretStatus.Builder mergeUpdateTime(Timestamp value)

The time the secret status was last updated.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
SecretStatus.Builder

setMessage(String value)

public SecretStatus.Builder setMessage(String value)

Optional message about the status code.

string message = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The message to set.

Returns
Type Description
SecretStatus.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public SecretStatus.Builder setMessageBytes(ByteString value)

Optional message about the status code.

string message = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
SecretStatus.Builder

This builder for chaining.

setStatus(SecretStatus.Status value)

public SecretStatus.Builder setStatus(SecretStatus.Status value)

The status of the secret.

.grafeas.v1.SecretStatus.Status status = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SecretStatus.Status

The status to set.

Returns
Type Description
SecretStatus.Builder

This builder for chaining.

setStatusValue(int value)

public SecretStatus.Builder setStatusValue(int value)

The status of the secret.

.grafeas.v1.SecretStatus.Status status = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for status to set.

Returns
Type Description
SecretStatus.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public SecretStatus.Builder setUpdateTime(Timestamp value)

The time the secret status was last updated.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
SecretStatus.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public SecretStatus.Builder setUpdateTime(Timestamp.Builder builderForValue)

The time the secret status was last updated.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SecretStatus.Builder