public static final class SecretStatus.Builder extends GeneratedMessageV3.Builder<SecretStatus.Builder> implements SecretStatusOrBuilder
The status of the secret with a timestamp.
Protobuf type grafeas.v1.SecretStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecretStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecretStatus build()
buildPartial()
public SecretStatus buildPartial()
clear()
public SecretStatus.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SecretStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessage()
public SecretStatus.Builder clearMessage()
Optional message about the status code.
string message = 3 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public SecretStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStatus()
public SecretStatus.Builder clearStatus()
The status of the secret.
.grafeas.v1.SecretStatus.Status status = 1 [(.google.api.field_behavior) = OPTIONAL];
clearUpdateTime()
public SecretStatus.Builder clearUpdateTime()
The time the secret status was last updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public SecretStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public SecretStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time the secret status was last updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OPTIONAL];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public SecretStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecretStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(SecretStatus other)
public SecretStatus.Builder mergeFrom(SecretStatus other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecretStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
setField(Descriptors.FieldDescriptor field, Object value)
public SecretStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecretStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SecretStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|