public static final class Group.Builder extends GeneratedMessage.Builder<Group.Builder> implements GroupOrBuilderDescribes message for 'Group' resource. The Group is a collections of several MigratingVms.
Protobuf type google.cloud.vmmigration.v1.Group
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Group.BuilderImplements
GroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Group build()| Returns | |
|---|---|
| Type | Description |
Group |
|
buildPartial()
public Group buildPartial()| Returns | |
|---|---|
| Type | Description |
Group |
|
clear()
public Group.Builder clear()| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
clearCreateTime()
public Group.Builder clearCreateTime()Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
clearDescription()
public Group.Builder clearDescription()User-provided description of the group.
string description = 4;
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
clearDisplayName()
public Group.Builder clearDisplayName()Display name is a user defined name for this group which can be updated.
string display_name = 5;
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
clearMigrationTargetType()
public Group.Builder clearMigrationTargetType()Immutable. The target type of this group.
.google.cloud.vmmigration.v1.Group.MigrationTargetType migration_target_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
clearName()
public Group.Builder clearName()Output only. The Group name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
clearUpdateTime()
public Group.Builder clearUpdateTime()Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Group getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Group |
|
getDescription()
public String getDescription()User-provided description of the group.
string description = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()User-provided description of the group.
string description = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Display name is a user defined name for this group which can be updated.
string display_name = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Display name is a user defined name for this group which can be updated.
string display_name = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getMigrationTargetType()
public Group.MigrationTargetType getMigrationTargetType()Immutable. The target type of this group.
.google.cloud.vmmigration.v1.Group.MigrationTargetType migration_target_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
Group.MigrationTargetType |
The migrationTargetType. |
getMigrationTargetTypeValue()
public int getMigrationTargetTypeValue()Immutable. The target type of this group.
.google.cloud.vmmigration.v1.Group.MigrationTargetType migration_target_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for migrationTargetType. |
getName()
public String getName()Output only. The Group name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. The Group name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Group.Builder mergeCreateTime(Timestamp value)Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
mergeFrom(Group other)
public Group.Builder mergeFrom(Group other)| Parameter | |
|---|---|
| Name | Description |
other |
Group |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Group.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Group.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
mergeUpdateTime(Timestamp value)
public Group.Builder mergeUpdateTime(Timestamp value)Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
setCreateTime(Timestamp value)
public Group.Builder setCreateTime(Timestamp value)Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Group.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
setDescription(String value)
public Group.Builder setDescription(String value)User-provided description of the group.
string description = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Group.Builder setDescriptionBytes(ByteString value)User-provided description of the group.
string description = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setDisplayName(String value)
public Group.Builder setDisplayName(String value)Display name is a user defined name for this group which can be updated.
string display_name = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Group.Builder setDisplayNameBytes(ByteString value)Display name is a user defined name for this group which can be updated.
string display_name = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setMigrationTargetType(Group.MigrationTargetType value)
public Group.Builder setMigrationTargetType(Group.MigrationTargetType value)Immutable. The target type of this group.
.google.cloud.vmmigration.v1.Group.MigrationTargetType migration_target_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
Group.MigrationTargetTypeThe migrationTargetType to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setMigrationTargetTypeValue(int value)
public Group.Builder setMigrationTargetTypeValue(int value)Immutable. The target type of this group.
.google.cloud.vmmigration.v1.Group.MigrationTargetType migration_target_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for migrationTargetType to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setName(String value)
public Group.Builder setName(String value)Output only. The Group name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Group.Builder setNameBytes(ByteString value)Output only. The Group name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Group.Builder setUpdateTime(Timestamp value)Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Group.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|