- 2.79.0 (latest)
 - 2.77.0
 - 2.76.0
 - 2.75.0
 - 2.74.0
 - 2.73.0
 - 2.71.0
 - 2.69.0
 - 2.68.0
 - 2.65.0
 - 2.64.0
 - 2.63.0
 - 2.61.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.0
 - 2.52.0
 - 2.50.0
 - 2.49.0
 - 2.48.0
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.0
 - 2.43.0
 - 2.42.0
 - 2.41.0
 - 2.40.0
 - 2.38.0
 - 2.37.0
 - 2.36.0
 - 2.35.0
 - 2.34.0
 - 2.33.0
 - 2.32.0
 - 2.31.0
 - 2.30.0
 - 2.29.0
 - 2.28.0
 - 2.25.0
 - 2.24.0
 - 2.23.0
 - 2.22.0
 - 2.21.0
 - 2.20.0
 - 2.19.0
 - 2.18.0
 - 2.17.0
 - 2.16.0
 - 2.15.0
 - 2.14.0
 - 2.13.0
 - 2.12.0
 - 2.10.0
 - 2.9.0
 - 2.8.0
 - 2.7.0
 - 2.6.0
 - 2.5.0
 - 2.4.4
 - 2.3.0
 - 2.2.0
 - 2.1.9
 
public static final class Backup.Builder extends GeneratedMessageV3.Builder<Backup.Builder> implements BackupOrBuilderThe details of a backup resource.
 Protobuf type google.cloud.metastore.v1beta.Backup
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Backup.BuilderImplements
BackupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Backup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Backup.Builder | 
build()
public Backup build()| Type | Description | 
| Backup | 
buildPartial()
public Backup buildPartial()| Type | Description | 
| Backup | 
clear()
public Backup.Builder clear()| Type | Description | 
| Backup.Builder | 
clearCreateTime()
public Backup.Builder clearCreateTime()Output only. The time when the backup was started.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Backup.Builder | 
clearDescription()
public Backup.Builder clearDescription()The description of the backup.
 string description = 6;
| Type | Description | 
| Backup.Builder | This builder for chaining.  | 
      
clearEndTime()
public Backup.Builder clearEndTime()Output only. The time when the backup finished creating.
 .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Backup.Builder | 
clearField(Descriptors.FieldDescriptor field)
public Backup.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| Backup.Builder | 
clearName()
public Backup.Builder clearName() Immutable. The relative resource name of the backup, in the following form:
 projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Type | Description | 
| Backup.Builder | This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Backup.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| Backup.Builder | 
clearServiceRevision()
public Backup.Builder clearServiceRevision()Output only. The revision of the service at the time of backup.
 
 .google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Backup.Builder | 
clearState()
public Backup.Builder clearState()Output only. The current state of the backup.
 
 .google.cloud.metastore.v1beta.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Backup.Builder | This builder for chaining.  | 
      
clone()
public Backup.Builder clone()| Type | Description | 
| Backup.Builder | 
getCreateTime()
public Timestamp getCreateTime()Output only. The time when the backup was started.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Timestamp | The createTime.  | 
      
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time when the backup was started.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Builder | 
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the backup was started.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| TimestampOrBuilder | 
getDefaultInstanceForType()
public Backup getDefaultInstanceForType()| Type | Description | 
| Backup | 
getDescription()
public String getDescription()The description of the backup.
 string description = 6;
| Type | Description | 
| String | The description.  | 
      
getDescriptionBytes()
public ByteString getDescriptionBytes()The description of the backup.
 string description = 6;
| Type | Description | 
| ByteString | The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getEndTime()
public Timestamp getEndTime()Output only. The time when the backup finished creating.
 .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Timestamp | The endTime.  | 
      
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()Output only. The time when the backup finished creating.
 .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Builder | 
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()Output only. The time when the backup finished creating.
 .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| TimestampOrBuilder | 
getName()
public String getName() Immutable. The relative resource name of the backup, in the following form:
 projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Type | Description | 
| String | The name.  | 
      
getNameBytes()
public ByteString getNameBytes() Immutable. The relative resource name of the backup, in the following form:
 projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Type | Description | 
| ByteString | The bytes for name.  | 
      
getServiceRevision()
public Service getServiceRevision()Output only. The revision of the service at the time of backup.
 
 .google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Service | The serviceRevision.  | 
      
getServiceRevisionBuilder()
public Service.Builder getServiceRevisionBuilder()Output only. The revision of the service at the time of backup.
 
 .google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Service.Builder | 
getServiceRevisionOrBuilder()
public ServiceOrBuilder getServiceRevisionOrBuilder()Output only. The revision of the service at the time of backup.
 
 .google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| ServiceOrBuilder | 
getState()
public Backup.State getState()Output only. The current state of the backup.
 
 .google.cloud.metastore.v1beta.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Backup.State | The state.  | 
      
getStateValue()
public int getStateValue()Output only. The current state of the backup.
 
 .google.cloud.metastore.v1beta.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| int | The enum numeric value on the wire for state.  | 
      
hasCreateTime()
public boolean hasCreateTime()Output only. The time when the backup was started.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| boolean | Whether the createTime field is set.  | 
      
hasEndTime()
public boolean hasEndTime()Output only. The time when the backup finished creating.
 .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| boolean | Whether the endTime field is set.  | 
      
hasServiceRevision()
public boolean hasServiceRevision()Output only. The revision of the service at the time of backup.
 
 .google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| boolean | Whether the serviceRevision field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeCreateTime(Timestamp value)
public Backup.Builder mergeCreateTime(Timestamp value)Output only. The time when the backup was started.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Backup.Builder | 
mergeEndTime(Timestamp value)
public Backup.Builder mergeEndTime(Timestamp value)Output only. The time when the backup finished creating.
 .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Backup.Builder | 
mergeFrom(Backup other)
public Backup.Builder mergeFrom(Backup other)| Name | Description | 
| other | Backup | 
      
| Type | Description | 
| Backup.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Backup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Backup.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public Backup.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| Backup.Builder | 
mergeServiceRevision(Service value)
public Backup.Builder mergeServiceRevision(Service value)Output only. The revision of the service at the time of backup.
 
 .google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Service | 
      
| Type | Description | 
| Backup.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Backup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Backup.Builder | 
setCreateTime(Timestamp value)
public Backup.Builder setCreateTime(Timestamp value)Output only. The time when the backup was started.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Backup.Builder | 
setCreateTime(Timestamp.Builder builderForValue)
public Backup.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time when the backup was started.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| Backup.Builder | 
setDescription(String value)
public Backup.Builder setDescription(String value)The description of the backup.
 string description = 6;
| Name | Description | 
| value | StringThe description to set.  | 
      
| Type | Description | 
| Backup.Builder | This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public Backup.Builder setDescriptionBytes(ByteString value)The description of the backup.
 string description = 6;
| Name | Description | 
| value | ByteStringThe bytes for description to set.  | 
      
| Type | Description | 
| Backup.Builder | This builder for chaining.  | 
      
setEndTime(Timestamp value)
public Backup.Builder setEndTime(Timestamp value)Output only. The time when the backup finished creating.
 .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Backup.Builder | 
setEndTime(Timestamp.Builder builderForValue)
public Backup.Builder setEndTime(Timestamp.Builder builderForValue)Output only. The time when the backup finished creating.
 .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| Backup.Builder | 
setField(Descriptors.FieldDescriptor field, Object value)
public Backup.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Backup.Builder | 
setName(String value)
public Backup.Builder setName(String value) Immutable. The relative resource name of the backup, in the following form:
 projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Name | Description | 
| value | StringThe name to set.  | 
      
| Type | Description | 
| Backup.Builder | This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Backup.Builder setNameBytes(ByteString value) Immutable. The relative resource name of the backup, in the following form:
 projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Name | Description | 
| value | ByteStringThe bytes for name to set.  | 
      
| Type | Description | 
| Backup.Builder | This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Backup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| Backup.Builder | 
setServiceRevision(Service value)
public Backup.Builder setServiceRevision(Service value)Output only. The revision of the service at the time of backup.
 
 .google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Service | 
      
| Type | Description | 
| Backup.Builder | 
setServiceRevision(Service.Builder builderForValue)
public Backup.Builder setServiceRevision(Service.Builder builderForValue)Output only. The revision of the service at the time of backup.
 
 .google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| builderForValue | Service.Builder | 
      
| Type | Description | 
| Backup.Builder | 
setState(Backup.State value)
public Backup.Builder setState(Backup.State value)Output only. The current state of the backup.
 
 .google.cloud.metastore.v1beta.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Backup.StateThe state to set.  | 
      
| Type | Description | 
| Backup.Builder | This builder for chaining.  | 
      
setStateValue(int value)
public Backup.Builder setStateValue(int value)Output only. The current state of the backup.
 
 .google.cloud.metastore.v1beta.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set.  | 
      
| Type | Description | 
| Backup.Builder | This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Backup.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Backup.Builder |