- 2.59.0 (latest)
 - 2.58.1
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.3
 - 2.52.3
 - 2.50.0
 - 2.49.0
 - 2.48.2
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.1
 - 2.43.2
 - 2.42.0
 - 2.41.0
 - 2.40.1
 - 2.39.0
 - 2.38.0
 - 2.37.0
 - 2.36.1
 - 2.34.0
 - 2.33.0
 - 2.32.1
 - 2.30.1
 - 2.29.1
 - 2.28.0
 - 2.27.1
 - 2.24.0
 - 2.23.0
 - 2.22.6
 - 2.21.0
 - 2.20.2
 - 2.19.0
 - 2.18.0
 - 2.17.2
 - 2.16.0
 - 2.15.1
 - 2.14.0
 - 2.13.1
 - 2.12.0
 - 2.11.3
 - 2.10.0
 - 2.9.3
 - 2.8.1
 - 2.7.1
 - 2.6.1
 - 2.5.1
 - 2.4.5
 - 2.3.0
 - 2.2.3
 - 2.1.10
 
public static final class HmacKeyMetadata.Builder extends GeneratedMessageV3.Builder<HmacKeyMetadata.Builder> implements HmacKeyMetadataOrBuilderHmac Key Metadata, which includes all information other than the secret.
 Protobuf type google.storage.v2.HmacKeyMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HmacKeyMetadata.BuilderImplements
HmacKeyMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HmacKeyMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
build()
public HmacKeyMetadata build()| Type | Description | 
| HmacKeyMetadata | 
buildPartial()
public HmacKeyMetadata buildPartial()| Type | Description | 
| HmacKeyMetadata | 
clear()
public HmacKeyMetadata.Builder clear()| Type | Description | 
| HmacKeyMetadata.Builder | 
clearAccessId()
public HmacKeyMetadata.Builder clearAccessId()Globally unique id for keys.
 string access_id = 2;
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
clearCreateTime()
public HmacKeyMetadata.Builder clearCreateTime()The creation time of the HMAC key in RFC 3339 format.
 .google.protobuf.Timestamp create_time = 6;
| Type | Description | 
| HmacKeyMetadata.Builder | 
clearField(Descriptors.FieldDescriptor field)
public HmacKeyMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
clearId()
public HmacKeyMetadata.Builder clearId()Resource name ID of the key in the format <projectId>/<accessId>.
 string id = 1;
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public HmacKeyMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
clearProject()
public HmacKeyMetadata.Builder clearProject()The project ID that the hmac key is contained in.
 string project = 3 [(.google.api.resource_reference) = { ... }
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
clearServiceAccountEmail()
public HmacKeyMetadata.Builder clearServiceAccountEmail()Email of the service account the key authenticates as.
 string service_account_email = 4;
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
clearState()
public HmacKeyMetadata.Builder clearState()State of the key. One of ACTIVE, INACTIVE, or DELETED.
 string state = 5;
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
clearUpdateTime()
public HmacKeyMetadata.Builder clearUpdateTime()The last modification time of the HMAC key metadata in RFC 3339 format.
 .google.protobuf.Timestamp update_time = 7;
| Type | Description | 
| HmacKeyMetadata.Builder | 
clone()
public HmacKeyMetadata.Builder clone()| Type | Description | 
| HmacKeyMetadata.Builder | 
getAccessId()
public String getAccessId()Globally unique id for keys.
 string access_id = 2;
| Type | Description | 
| String | The accessId.  | 
      
getAccessIdBytes()
public ByteString getAccessIdBytes()Globally unique id for keys.
 string access_id = 2;
| Type | Description | 
| ByteString | The bytes for accessId.  | 
      
getCreateTime()
public Timestamp getCreateTime()The creation time of the HMAC key in RFC 3339 format.
 .google.protobuf.Timestamp create_time = 6;
| Type | Description | 
| Timestamp | The createTime.  | 
      
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()The creation time of the HMAC key in RFC 3339 format.
 .google.protobuf.Timestamp create_time = 6;
| Type | Description | 
| Builder | 
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()The creation time of the HMAC key in RFC 3339 format.
 .google.protobuf.Timestamp create_time = 6;
| Type | Description | 
| TimestampOrBuilder | 
getDefaultInstanceForType()
public HmacKeyMetadata getDefaultInstanceForType()| Type | Description | 
| HmacKeyMetadata | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getId()
public String getId()Resource name ID of the key in the format <projectId>/<accessId>.
 string id = 1;
| Type | Description | 
| String | The id.  | 
      
getIdBytes()
public ByteString getIdBytes()Resource name ID of the key in the format <projectId>/<accessId>.
 string id = 1;
| Type | Description | 
| ByteString | The bytes for id.  | 
      
getProject()
public String getProject()The project ID that the hmac key is contained in.
 string project = 3 [(.google.api.resource_reference) = { ... }
| Type | Description | 
| String | The project.  | 
      
getProjectBytes()
public ByteString getProjectBytes()The project ID that the hmac key is contained in.
 string project = 3 [(.google.api.resource_reference) = { ... }
| Type | Description | 
| ByteString | The bytes for project.  | 
      
getServiceAccountEmail()
public String getServiceAccountEmail()Email of the service account the key authenticates as.
 string service_account_email = 4;
| Type | Description | 
| String | The serviceAccountEmail.  | 
      
getServiceAccountEmailBytes()
public ByteString getServiceAccountEmailBytes()Email of the service account the key authenticates as.
 string service_account_email = 4;
| Type | Description | 
| ByteString | The bytes for serviceAccountEmail.  | 
      
getState()
public String getState()State of the key. One of ACTIVE, INACTIVE, or DELETED.
 string state = 5;
| Type | Description | 
| String | The state.  | 
      
getStateBytes()
public ByteString getStateBytes()State of the key. One of ACTIVE, INACTIVE, or DELETED.
 string state = 5;
| Type | Description | 
| ByteString | The bytes for state.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()The last modification time of the HMAC key metadata in RFC 3339 format.
 .google.protobuf.Timestamp update_time = 7;
| Type | Description | 
| Timestamp | The updateTime.  | 
      
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()The last modification time of the HMAC key metadata in RFC 3339 format.
 .google.protobuf.Timestamp update_time = 7;
| Type | Description | 
| Builder | 
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()The last modification time of the HMAC key metadata in RFC 3339 format.
 .google.protobuf.Timestamp update_time = 7;
| Type | Description | 
| TimestampOrBuilder | 
hasCreateTime()
public boolean hasCreateTime()The creation time of the HMAC key in RFC 3339 format.
 .google.protobuf.Timestamp create_time = 6;
| Type | Description | 
| boolean | Whether the createTime field is set.  | 
      
hasUpdateTime()
public boolean hasUpdateTime()The last modification time of the HMAC key metadata in RFC 3339 format.
 .google.protobuf.Timestamp update_time = 7;
| Type | Description | 
| boolean | Whether the updateTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeCreateTime(Timestamp value)
public HmacKeyMetadata.Builder mergeCreateTime(Timestamp value)The creation time of the HMAC key in RFC 3339 format.
 .google.protobuf.Timestamp create_time = 6;
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HmacKeyMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public HmacKeyMetadata.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
mergeFrom(HmacKeyMetadata other)
public HmacKeyMetadata.Builder mergeFrom(HmacKeyMetadata other)| Name | Description | 
| other | HmacKeyMetadata | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HmacKeyMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
mergeUpdateTime(Timestamp value)
public HmacKeyMetadata.Builder mergeUpdateTime(Timestamp value)The last modification time of the HMAC key metadata in RFC 3339 format.
 .google.protobuf.Timestamp update_time = 7;
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
setAccessId(String value)
public HmacKeyMetadata.Builder setAccessId(String value)Globally unique id for keys.
 string access_id = 2;
| Name | Description | 
| value | StringThe accessId to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setAccessIdBytes(ByteString value)
public HmacKeyMetadata.Builder setAccessIdBytes(ByteString value)Globally unique id for keys.
 string access_id = 2;
| Name | Description | 
| value | ByteStringThe bytes for accessId to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setCreateTime(Timestamp value)
public HmacKeyMetadata.Builder setCreateTime(Timestamp value)The creation time of the HMAC key in RFC 3339 format.
 .google.protobuf.Timestamp create_time = 6;
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
setCreateTime(Timestamp.Builder builderForValue)
public HmacKeyMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)The creation time of the HMAC key in RFC 3339 format.
 .google.protobuf.Timestamp create_time = 6;
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
setField(Descriptors.FieldDescriptor field, Object value)
public HmacKeyMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
setId(String value)
public HmacKeyMetadata.Builder setId(String value)Resource name ID of the key in the format <projectId>/<accessId>.
 string id = 1;
| Name | Description | 
| value | StringThe id to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setIdBytes(ByteString value)
public HmacKeyMetadata.Builder setIdBytes(ByteString value)Resource name ID of the key in the format <projectId>/<accessId>.
 string id = 1;
| Name | Description | 
| value | ByteStringThe bytes for id to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setProject(String value)
public HmacKeyMetadata.Builder setProject(String value)The project ID that the hmac key is contained in.
 string project = 3 [(.google.api.resource_reference) = { ... }
| Name | Description | 
| value | StringThe project to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setProjectBytes(ByteString value)
public HmacKeyMetadata.Builder setProjectBytes(ByteString value)The project ID that the hmac key is contained in.
 string project = 3 [(.google.api.resource_reference) = { ... }
| Name | Description | 
| value | ByteStringThe bytes for project to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HmacKeyMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
setServiceAccountEmail(String value)
public HmacKeyMetadata.Builder setServiceAccountEmail(String value)Email of the service account the key authenticates as.
 string service_account_email = 4;
| Name | Description | 
| value | StringThe serviceAccountEmail to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setServiceAccountEmailBytes(ByteString value)
public HmacKeyMetadata.Builder setServiceAccountEmailBytes(ByteString value)Email of the service account the key authenticates as.
 string service_account_email = 4;
| Name | Description | 
| value | ByteStringThe bytes for serviceAccountEmail to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setState(String value)
public HmacKeyMetadata.Builder setState(String value)State of the key. One of ACTIVE, INACTIVE, or DELETED.
 string state = 5;
| Name | Description | 
| value | StringThe state to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setStateBytes(ByteString value)
public HmacKeyMetadata.Builder setStateBytes(ByteString value)State of the key. One of ACTIVE, INACTIVE, or DELETED.
 string state = 5;
| Name | Description | 
| value | ByteStringThe bytes for state to set.  | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final HmacKeyMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
setUpdateTime(Timestamp value)
public HmacKeyMetadata.Builder setUpdateTime(Timestamp value)The last modification time of the HMAC key metadata in RFC 3339 format.
 .google.protobuf.Timestamp update_time = 7;
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| HmacKeyMetadata.Builder | 
setUpdateTime(Timestamp.Builder builderForValue)
public HmacKeyMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)The last modification time of the HMAC key metadata in RFC 3339 format.
 .google.protobuf.Timestamp update_time = 7;
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| HmacKeyMetadata.Builder |