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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UpdateProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateProfileRequest build()
Returns
public UpdateProfileRequest buildPartial()
Returns
public UpdateProfileRequest.Builder clear()
Returns
Overrides
public UpdateProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UpdateProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UpdateProfileRequest.Builder clearProfile()
Profile to update
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Returns
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
public UpdateProfileRequest.Builder clone()
Returns
Overrides
public UpdateProfileRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Profile getProfile()
Profile to update
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Returns
public Profile.Builder getProfileBuilder()
Profile to update
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Returns
public ProfileOrBuilder getProfileOrBuilder()
Profile to update
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Returns
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
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
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
public boolean hasProfile()
Profile to update
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Returns
Type | Description |
boolean | Whether the profile field is set.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdateProfileRequest.Builder mergeFrom(UpdateProfileRequest other)
Parameter
Returns
public UpdateProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UpdateProfileRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public UpdateProfileRequest.Builder mergeProfile(Profile value)
Profile to update
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Parameter
Returns
public final UpdateProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public UpdateProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateProfileRequest.Builder setProfile(Profile value)
Profile to update
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Parameter
Returns
public UpdateProfileRequest.Builder setProfile(Profile.Builder builderForValue)
Profile to update
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Parameter
Returns
public UpdateProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UpdateProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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