public static final class UpdateProfileRequest.Builder extends GeneratedMessage.Builder<UpdateProfileRequest.Builder> implements UpdateProfileRequestOrBuilderUpdateProfileRequest contains the profile to update.
Protobuf type google.devtools.cloudprofiler.v2.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()Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
clearUpdateMask()
public UpdateProfileRequest.Builder clearUpdateMask()Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 2;
| 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()Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
| Returns | |
|---|---|
| Type | Description |
Profile |
The profile. |
getProfileBuilder()
public Profile.Builder getProfileBuilder()Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
| Returns | |
|---|---|
| Type | Description |
Profile.Builder |
|
getProfileOrBuilder()
public ProfileOrBuilder getProfileOrBuilder()Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
| Returns | |
|---|---|
| Type | Description |
ProfileOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasProfile()
public boolean hasProfile()Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the profile field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 2;
| 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)Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Profile |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateProfileRequest.Builder mergeUpdateMask(FieldMask value)Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
setProfile(Profile value)
public UpdateProfileRequest.Builder setProfile(Profile value)Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Profile |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
setProfile(Profile.Builder builderForValue)
public UpdateProfileRequest.Builder setProfile(Profile.Builder builderForValue)Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Profile.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateProfileRequest.Builder setUpdateMask(FieldMask value)Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateProfileRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest.Builder |
|