public static final class GetBackupPlanAssociationRequest.Builder extends GeneratedMessageV3.Builder<GetBackupPlanAssociationRequest.Builder> implements GetBackupPlanAssociationRequestOrBuilder
Request message for getting a BackupPlanAssociation resource.
Protobuf type google.cloud.backupdr.v1.GetBackupPlanAssociationRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetBackupPlanAssociationRequest.BuilderImplements
GetBackupPlanAssociationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetBackupPlanAssociationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
build()
public GetBackupPlanAssociationRequest build()
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest |
buildPartial()
public GetBackupPlanAssociationRequest buildPartial()
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest |
clear()
public GetBackupPlanAssociationRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetBackupPlanAssociationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
clearName()
public GetBackupPlanAssociationRequest.Builder clearName()
Required. Name of the backup plan association resource, in the format
projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetBackupPlanAssociationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
clone()
public GetBackupPlanAssociationRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
getDefaultInstanceForType()
public GetBackupPlanAssociationRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Required. Name of the backup plan association resource, in the format
projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Name of the backup plan association resource, in the format
projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GetBackupPlanAssociationRequest other)
public GetBackupPlanAssociationRequest.Builder mergeFrom(GetBackupPlanAssociationRequest other)
Parameter | |
---|---|
Name | Description |
other |
GetBackupPlanAssociationRequest |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetBackupPlanAssociationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GetBackupPlanAssociationRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetBackupPlanAssociationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetBackupPlanAssociationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
setName(String value)
public GetBackupPlanAssociationRequest.Builder setName(String value)
Required. Name of the backup plan association resource, in the format
projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetBackupPlanAssociationRequest.Builder setNameBytes(ByteString value)
Required. Name of the backup plan association resource, in the format
projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetBackupPlanAssociationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetBackupPlanAssociationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetBackupPlanAssociationRequest.Builder |