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()
Methods
public UpdateProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateProfileRequest build()
public UpdateProfileRequest buildPartial()
public UpdateProfileRequest.Builder clear()
Overrides
public UpdateProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateProfileRequest.Builder clearProfile()
Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
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;
public UpdateProfileRequest.Builder clone()
Overrides
public UpdateProfileRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Profile getProfile()
Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Returns |
---|
Type | Description |
Profile | The profile.
|
public Profile.Builder getProfileBuilder()
Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
public ProfileOrBuilder getProfileOrBuilder()
Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
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.
|
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;
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;
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()
Overrides
public final boolean isInitialized()
Overrides
public UpdateProfileRequest.Builder mergeFrom(UpdateProfileRequest other)
public UpdateProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateProfileRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public UpdateProfileRequest.Builder mergeProfile(Profile value)
Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Parameter |
---|
Name | Description |
value | Profile
|
public final UpdateProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
public UpdateProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateProfileRequest.Builder setProfile(Profile value)
Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Parameter |
---|
Name | Description |
value | Profile
|
public UpdateProfileRequest.Builder setProfile(Profile.Builder builderForValue)
Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
public UpdateProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|