Class UpdateProfileRequest.Builder (2.42.0)

public static final class UpdateProfileRequest.Builder extends GeneratedMessageV3.Builder<UpdateProfileRequest.Builder> implements UpdateProfileRequestOrBuilder

UpdateProfileRequest contains the profile to update.

Protobuf type google.devtools.cloudprofiler.v2.UpdateProfileRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateProfileRequest.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateProfileRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateProfileRequest.Builder
Overrides

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

clone()

public UpdateProfileRequest.Builder clone()
Returns
Type Description
UpdateProfileRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateProfileRequest getDefaultInstanceForType()
Returns
Type Description
UpdateProfileRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateProfileRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateProfileRequest.Builder
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateProfileRequest.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateProfileRequest.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateProfileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateProfileRequest.Builder
Overrides

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