public static final class UpdateHostGroupRequest.Builder extends GeneratedMessage.Builder<UpdateHostGroupRequest.Builder> implements UpdateHostGroupRequestOrBuilderUpdateHostGroupRequest for updating a host group.
Protobuf type google.cloud.netapp.v1.UpdateHostGroupRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateHostGroupRequest.BuilderImplements
UpdateHostGroupRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateHostGroupRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest |
|
buildPartial()
public UpdateHostGroupRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest |
|
clear()
public UpdateHostGroupRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
clearHostGroup()
public UpdateHostGroupRequest.Builder clearHostGroup() Required. The host group to update.
The host group's name field is used to identify the host group.
Format:
projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
.google.cloud.netapp.v1.HostGroup host_group = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
clearUpdateMask()
public UpdateHostGroupRequest.Builder clearUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
getDefaultInstanceForType()
public UpdateHostGroupRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHostGroup()
public HostGroup getHostGroup() Required. The host group to update.
The host group's name field is used to identify the host group.
Format:
projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
.google.cloud.netapp.v1.HostGroup host_group = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HostGroup |
The hostGroup. |
getHostGroupBuilder()
public HostGroup.Builder getHostGroupBuilder() Required. The host group to update.
The host group's name field is used to identify the host group.
Format:
projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
.google.cloud.netapp.v1.HostGroup host_group = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HostGroup.Builder |
|
getHostGroupOrBuilder()
public HostGroupOrBuilder getHostGroupOrBuilder() Required. The host group to update.
The host group's name field is used to identify the host group.
Format:
projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
.google.cloud.netapp.v1.HostGroup host_group = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HostGroupOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasHostGroup()
public boolean hasHostGroup() Required. The host group to update.
The host group's name field is used to identify the host group.
Format:
projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
.google.cloud.netapp.v1.HostGroup host_group = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hostGroup field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateHostGroupRequest other)
public UpdateHostGroupRequest.Builder mergeFrom(UpdateHostGroupRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateHostGroupRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateHostGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateHostGroupRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
mergeHostGroup(HostGroup value)
public UpdateHostGroupRequest.Builder mergeHostGroup(HostGroup value) Required. The host group to update.
The host group's name field is used to identify the host group.
Format:
projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
.google.cloud.netapp.v1.HostGroup host_group = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HostGroup |
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateHostGroupRequest.Builder mergeUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
setHostGroup(HostGroup value)
public UpdateHostGroupRequest.Builder setHostGroup(HostGroup value) Required. The host group to update.
The host group's name field is used to identify the host group.
Format:
projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
.google.cloud.netapp.v1.HostGroup host_group = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HostGroup |
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
setHostGroup(HostGroup.Builder builderForValue)
public UpdateHostGroupRequest.Builder setHostGroup(HostGroup.Builder builderForValue) Required. The host group to update.
The host group's name field is used to identify the host group.
Format:
projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
.google.cloud.netapp.v1.HostGroup host_group = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HostGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateHostGroupRequest.Builder setUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateHostGroupRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateHostGroupRequest.Builder |
|