public static final class TargetProject.Builder extends GeneratedMessageV3.Builder<TargetProject.Builder> implements TargetProjectOrBuilderTargetProject message represents a target Compute Engine project for a migration or a clone.
Protobuf type google.cloud.vmmigration.v1.TargetProject
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TargetProject.BuilderImplements
TargetProjectOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetProject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| TargetProject.Builder |
build()
public TargetProject build()| Type | Description |
| TargetProject |
buildPartial()
public TargetProject buildPartial()| Type | Description |
| TargetProject |
clear()
public TargetProject.Builder clear()| Type | Description |
| TargetProject.Builder |
clearCreateTime()
public TargetProject.Builder clearCreateTime()Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| TargetProject.Builder |
clearDescription()
public TargetProject.Builder clearDescription()The target project's description.
string description = 3;
| Type | Description |
| TargetProject.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TargetProject.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| TargetProject.Builder |
clearName()
public TargetProject.Builder clearName()The name of the target project.
string name = 1;
| Type | Description |
| TargetProject.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetProject.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| TargetProject.Builder |
clearProject()
public TargetProject.Builder clearProject()The target project ID (number) or project name.
string project = 2;
| Type | Description |
| TargetProject.Builder | This builder for chaining. |
clearUpdateTime()
public TargetProject.Builder clearUpdateTime()Output only. The last time the target project resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| TargetProject.Builder |
clone()
public TargetProject.Builder clone()| Type | Description |
| TargetProject.Builder |
getCreateTime()
public Timestamp getCreateTime()Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| TimestampOrBuilder |
getDefaultInstanceForType()
public TargetProject getDefaultInstanceForType()| Type | Description |
| TargetProject |
getDescription()
public String getDescription()The target project's description.
string description = 3;
| Type | Description |
| String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()The target project's description.
string description = 3;
| Type | Description |
| ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getName()
public String getName()The name of the target project.
string name = 1;
| Type | Description |
| String | The name. |
getNameBytes()
public ByteString getNameBytes()The name of the target project.
string name = 1;
| Type | Description |
| ByteString | The bytes for name. |
getProject()
public String getProject()The target project ID (number) or project name.
string project = 2;
| Type | Description |
| String | The project. |
getProjectBytes()
public ByteString getProjectBytes()The target project ID (number) or project name.
string project = 2;
| Type | Description |
| ByteString | The bytes for project. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. The last time the target project resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The last time the target project resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last time the target project resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. The last time the target project resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 TargetProject.Builder mergeCreateTime(Timestamp value)Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| TargetProject.Builder |
mergeFrom(TargetProject other)
public TargetProject.Builder mergeFrom(TargetProject other)| Name | Description |
| other | TargetProject |
| Type | Description |
| TargetProject.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TargetProject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| TargetProject.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public TargetProject.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| TargetProject.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetProject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| TargetProject.Builder |
mergeUpdateTime(Timestamp value)
public TargetProject.Builder mergeUpdateTime(Timestamp value)Output only. The last time the target project resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| TargetProject.Builder |
setCreateTime(Timestamp value)
public TargetProject.Builder setCreateTime(Timestamp value)Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| TargetProject.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public TargetProject.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| TargetProject.Builder |
setDescription(String value)
public TargetProject.Builder setDescription(String value)The target project's description.
string description = 3;
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| TargetProject.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public TargetProject.Builder setDescriptionBytes(ByteString value)The target project's description.
string description = 3;
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| TargetProject.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TargetProject.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| TargetProject.Builder |
setName(String value)
public TargetProject.Builder setName(String value)The name of the target project.
string name = 1;
| Name | Description |
| value | StringThe name to set. |
| Type | Description |
| TargetProject.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public TargetProject.Builder setNameBytes(ByteString value)The name of the target project.
string name = 1;
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| Type | Description |
| TargetProject.Builder | This builder for chaining. |
setProject(String value)
public TargetProject.Builder setProject(String value)The target project ID (number) or project name.
string project = 2;
| Name | Description |
| value | StringThe project to set. |
| Type | Description |
| TargetProject.Builder | This builder for chaining. |
setProjectBytes(ByteString value)
public TargetProject.Builder setProjectBytes(ByteString value)The target project ID (number) or project name.
string project = 2;
| Name | Description |
| value | ByteStringThe bytes for project to set. |
| Type | Description |
| TargetProject.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetProject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| TargetProject.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetProject.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| TargetProject.Builder |
setUpdateTime(Timestamp value)
public TargetProject.Builder setUpdateTime(Timestamp value)Output only. The last time the target project resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| TargetProject.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public TargetProject.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The last time the target project resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| TargetProject.Builder |