Class SecretStatus.Builder (2.74.0)

  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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

  public 
  
 SecretStatus 
  
 build 
 () 
 
Returns
Type
Description

buildPartial()

  public 
  
 SecretStatus 
  
 buildPartial 
 () 
 
Returns
Type
Description

clear()

  public 
  
 SecretStatus 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type
Description
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

  public 
  
 SecretStatus 
 . 
 Builder 
  
 clearMessage 
 () 
 

Optional message about the status code.

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

Returns
Type
Description

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

  public 
  
 SecretStatus 
 . 
 Builder 
  
 clearStatus 
 () 
 

The status of the secret.

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

Returns
Type
Description

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

clone()

  public 
  
 SecretStatus 
 . 
 Builder 
  
 clone 
 () 
 
Returns
Type
Description
Overrides

getDefaultInstanceForType()

  public 
  
 SecretStatus 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDescriptorForType()

  public 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptorForType 
 () 
 
Returns
Type
Description
Overrides

getMessage()

  public 
  
 String 
  
 getMessage 
 () 
 

Optional message about the status code.

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

Returns
Type
Description

The message.

getMessageBytes()

  public 
  
 ByteString 
  
 getMessageBytes 
 () 
 

Optional message about the status code.

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

Returns
Type
Description

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

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

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

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

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SecretStatus other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 SecretStatus 
 . 
 Builder 
  
 mergeUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name
Description
unknownFields
Returns
Type
Description
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];

Parameter
Name
Description
value
Returns
Type
Description

setField(Descriptors.FieldDescriptor field, Object value)

  public 
  
 SecretStatus 
 . 
 Builder 
  
 setField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
value
Returns
Type
Description
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.

Returns
Type
Description

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

This builder for chaining.

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

  public 
  
 SecretStatus 
 . 
 Builder 
  
 setRepeatedField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 int 
  
 index 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
index
int
value
Returns
Type
Description
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];

Parameter
Name
Description
value
SecretStatus.Status

The status to set.

Returns
Type
Description

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 SecretStatus 
 . 
 Builder 
  
 setUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name
Description
unknownFields
Returns
Type
Description
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];

Parameter
Name
Description
value
Returns
Type
Description

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
Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: