public static final class Backup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder> implements BackupOrBuilder
The details of a backup resource.Protobuf type
google.cloud.metastore.v1beta.Backup| Modifier and Type | Method and Description |
|---|---|
Backup.Builder |
addAllRestoringServices(Iterable<String> values)
Output only.
|
Backup.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Backup.Builder |
addRestoringServices(String value)
Output only.
|
Backup.Builder |
addRestoringServicesBytes(com.google.protobuf.ByteString value)
Output only.
|
Backup |
build() |
Backup |
buildPartial() |
Backup.Builder |
clear() |
Backup.Builder |
clearCreateTime()
Output only.
|
Backup.Builder |
clearDescription()
The description of the backup.
|
Backup.Builder |
clearEndTime()
Output only.
|
Backup.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Backup.Builder |
clearName()
Immutable.
|
Backup.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Backup.Builder |
clearRestoringServices()
Output only.
|
Backup.Builder |
clearServiceRevision()
Output only.
|
Backup.Builder |
clearState()
Output only.
|
Backup.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Backup |
getDefaultInstanceForType() |
String |
getDescription()
The description of the backup.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the backup.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
String |
getRestoringServices(int index)
Output only.
|
com.google.protobuf.ByteString |
getRestoringServicesBytes(int index)
Output only.
|
int |
getRestoringServicesCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getRestoringServicesList()
Output only.
|
Service |
getServiceRevision()
Output only.
|
Service.Builder |
getServiceRevisionBuilder()
Output only.
|
ServiceOrBuilder |
getServiceRevisionOrBuilder()
Output only.
|
Backup.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasServiceRevision()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Backup.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
mergeFrom(Backup other) |
Backup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Backup.Builder |
mergeFrom(com.google.protobuf.Message other) |
Backup.Builder |
mergeServiceRevision(Service value)
Output only.
|
Backup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Backup.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setDescription(String value)
The description of the backup.
|
Backup.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the backup.
|
Backup.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setEndTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Backup.Builder |
setName(String value)
Immutable.
|
Backup.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
Backup.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Backup.Builder |
setRestoringServices(int index,
String value)
Output only.
|
Backup.Builder |
setServiceRevision(Service.Builder builderForValue)
Output only.
|
Backup.Builder |
setServiceRevision(Service value)
Output only.
|
Backup.Builder |
setState(Backup.State value)
Output only.
|
Backup.Builder |
setStateValue(int value)
Output only.
|
Backup.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Backup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Backup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Backup.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Backup.Builder>public Backup.Builder mergeFrom(Backup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Backup.Builder>IOExceptionpublic 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];getName in interface BackupOrBuilderpublic com.google.protobuf.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];getNameBytes in interface BackupOrBuilderpublic 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];value - The name to set.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];public Backup.Builder setNameBytes(com.google.protobuf.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];value - The bytes for name to set.public boolean hasCreateTime()
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface BackupOrBuilderpublic Backup.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface BackupOrBuilderpublic boolean hasEndTime()
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface BackupOrBuilderpublic Backup.Builder setEndTime(com.google.protobuf.Timestamp value)
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface BackupOrBuilderpublic int getStateValue()
Output only. The current state of the backup.
.google.cloud.metastore.v1beta.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface BackupOrBuilderpublic 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];
value - The enum numeric value on the wire for state to set.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];
getState in interface BackupOrBuilderpublic 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];
value - The state to set.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];
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];
hasServiceRevision in interface BackupOrBuilderpublic 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];
getServiceRevision in interface BackupOrBuilderpublic 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];
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];
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];
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];
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];
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];
getServiceRevisionOrBuilder in interface BackupOrBuilderpublic String getDescription()
The description of the backup.
string description = 6;getDescription in interface BackupOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the backup.
string description = 6;getDescriptionBytes in interface BackupOrBuilderpublic Backup.Builder setDescription(String value)
The description of the backup.
string description = 6;value - The description to set.public Backup.Builder clearDescription()
The description of the backup.
string description = 6;public Backup.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the backup.
string description = 6;value - The bytes for description to set.public com.google.protobuf.ProtocolStringList getRestoringServicesList()
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRestoringServicesList in interface BackupOrBuilderpublic int getRestoringServicesCount()
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRestoringServicesCount in interface BackupOrBuilderpublic String getRestoringServices(int index)
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRestoringServices in interface BackupOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRestoringServicesBytes(int index)
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRestoringServicesBytes in interface BackupOrBuilderindex - The index of the value to return.public Backup.Builder setRestoringServices(int index, String value)
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The restoringServices to set.public Backup.Builder addRestoringServices(String value)
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The restoringServices to add.public Backup.Builder addAllRestoringServices(Iterable<String> values)
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
values - The restoringServices to add.public Backup.Builder clearRestoringServices()
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder addRestoringServicesBytes(com.google.protobuf.ByteString value)
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The bytes of the restoringServices to add.public final Backup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public final Backup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>Copyright © 2024 Google LLC. All rights reserved.