public final class RestorePlanBinding extends GeneratedMessageV3 implements RestorePlanBindingOrBuilder
A RestorePlanBinding binds a RestorePlan with a RestoreChannel.
This resource is created automatically when a RestorePlan is created using a
RestoreChannel. This also serves as a holder for cross-project fields
that need to be displayed in the current project.
Protobuf type google.cloud.gkebackup.v1.RestorePlanBinding
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BACKUP_PLAN_FIELD_NUMBER
public static final int BACKUP_PLAN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESTORE_PLAN_FIELD_NUMBER
public static final int RESTORE_PLAN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RestorePlanBinding getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RestorePlanBinding.Builder newBuilder()
newBuilder(RestorePlanBinding prototype)
public static RestorePlanBinding.Builder newBuilder(RestorePlanBinding prototype)
public static RestorePlanBinding parseDelimitedFrom(InputStream input)
public static RestorePlanBinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RestorePlanBinding parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RestorePlanBinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RestorePlanBinding parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestorePlanBinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestorePlanBinding parseFrom(CodedInputStream input)
public static RestorePlanBinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RestorePlanBinding parseFrom(InputStream input)
public static RestorePlanBinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RestorePlanBinding parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RestorePlanBinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RestorePlanBinding> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBackupPlan()
public String getBackupPlan()
Output only. The fully qualified name of the BackupPlan bound to the
specified RestorePlan. projects/*/locations/*/backukpPlans/{backup_plan}
string backup_plan = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The backupPlan.
|
getBackupPlanBytes()
public ByteString getBackupPlanBytes()
Output only. The fully qualified name of the BackupPlan bound to the
specified RestorePlan. projects/*/locations/*/backukpPlans/{backup_plan}
string backup_plan = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for backupPlan.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public RestorePlanBinding getDefaultInstanceForType()
getEtag()
Output only. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of a RestorePlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform RestorePlanBinding updates in
order to avoid race conditions: An etag
is returned in the response to
GetRestorePlanBinding
, and systems are expected to put that etag in
the request to UpdateRestorePlanBinding
or
DeleteRestorePlanBinding
to ensure that their change will be applied
to the same version of the resource.
string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Output only. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of a RestorePlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform RestorePlanBinding updates in
order to avoid race conditions: An etag
is returned in the response to
GetRestorePlanBinding
, and systems are expected to put that etag in
the request to UpdateRestorePlanBinding
or
DeleteRestorePlanBinding
to ensure that their change will be applied
to the same version of the resource.
string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for etag.
|
getName()
Identifier. The fully qualified name of the RestorePlanBinding.
projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The fully qualified name of the RestorePlanBinding.
projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<RestorePlanBinding> getParserForType()
Overrides
getRestorePlan()
public String getRestorePlan()
Output only. The fully qualified name of the RestorePlan bound to this
RestoreChannel. projects/*/locations/*/restorePlans/{restore_plan}
string restore_plan = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The restorePlan.
|
getRestorePlanBytes()
public ByteString getRestorePlanBytes()
Output only. The fully qualified name of the RestorePlan bound to this
RestoreChannel. projects/*/locations/*/restorePlans/{restore_plan}
string restore_plan = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for restorePlan.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUid()
Output only. Server generated global unique identifier of
UUID4
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
String |
The uid.
|
getUidBytes()
public ByteString getUidBytes()
Output only. Server generated global unique identifier of
UUID4
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for uid.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RestorePlanBinding.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RestorePlanBinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RestorePlanBinding.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides