public static final class UpdateProfileRequest.Builder extends GeneratedMessage.Builder<UpdateProfileRequest.Builder> implements UpdateProfileRequestOrBuilderRequest message for updating Profile details.
Protobuf type google.devicesandservices.health.v4.UpdateProfileRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateProfileRequest.BuilderImplements
UpdateProfileRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateProfileRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest |
|
buildPartial()
public UpdateProfileRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest |
|
clear()
public UpdateProfileRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
clearProfile()
public UpdateProfileRequest.Builder clearProfile()Required. Profile details.
.google.devicesandservices.health.v4.Profile profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
clearUpdateMask()
public UpdateProfileRequest.Builder clearUpdateMask()Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
getDefaultInstanceForType()
public UpdateProfileRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProfile()
public Profile getProfile()Required. Profile details.
.google.devicesandservices.health.v4.Profile profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Profile |
The profile. |
getProfileBuilder()
public Profile.Builder getProfileBuilder()Required. Profile details.
.google.devicesandservices.health.v4.Profile profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Profile.Builder |
|
getProfileOrBuilder()
public ProfileOrBuilder getProfileOrBuilder()Required. Profile details.
.google.devicesandservices.health.v4.Profile profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProfileOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The list of fields to be updated.
.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 be updated.
.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 be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasProfile()
public boolean hasProfile()Required. Profile details.
.google.devicesandservices.health.v4.Profile profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the profile field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The list of fields to be updated.
.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(UpdateProfileRequest other)
public UpdateProfileRequest.Builder mergeFrom(UpdateProfileRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateProfileRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateProfileRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
mergeProfile(Profile value)
public UpdateProfileRequest.Builder mergeProfile(Profile value)Required. Profile details.
.google.devicesandservices.health.v4.Profile profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Profile |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateProfileRequest.Builder mergeUpdateMask(FieldMask value)Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
setProfile(Profile value)
public UpdateProfileRequest.Builder setProfile(Profile value)Required. Profile details.
.google.devicesandservices.health.v4.Profile profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Profile |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
setProfile(Profile.Builder builderForValue)
public UpdateProfileRequest.Builder setProfile(Profile.Builder builderForValue)Required. Profile details.
.google.devicesandservices.health.v4.Profile profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Profile.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateProfileRequest.Builder setUpdateMask(FieldMask value)Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateProfileRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|