Send feedback
Class UpdateProfileRequest (2.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.15.0 keyboard_arrow_down
public final class UpdateProfileRequest extends GeneratedMessageV3 implements UpdateProfileRequestOrBuilder
UpdateProfileRequest contains the profile to update.
Protobuf type google.devtools.cloudprofiler.v2.UpdateProfileRequest
Static Fields
public static final int PROFILE_FIELD_NUMBER
Field Value Type Description int
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static UpdateProfileRequest getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static UpdateProfileRequest . Builder newBuilder ()
public static UpdateProfileRequest . Builder newBuilder ( UpdateProfileRequest prototype )
public static UpdateProfileRequest parseDelimitedFrom ( InputStream input )
public static UpdateProfileRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateProfileRequest parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static UpdateProfileRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static UpdateProfileRequest parseFrom ( ByteString data )
public static UpdateProfileRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static UpdateProfileRequest parseFrom ( CodedInputStream input )
public static UpdateProfileRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateProfileRequest parseFrom ( InputStream input )
public static UpdateProfileRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateProfileRequest parseFrom ( ByteBuffer data )
public static UpdateProfileRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<UpdateProfileRequest> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public UpdateProfileRequest getDefaultInstanceForType ()
public Parser<UpdateProfileRequest> getParserForType ()
Overrides
public Profile getProfile ()
Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
Returns Type Description Profile
The profile.
public ProfileOrBuilder getProfileOrBuilder ()
Profile to update.
.google.devtools.cloudprofiler.v2.Profile profile = 1;
public int getSerializedSize ()
Returns Type Description int
Overrides
public final UnknownFieldSet getUnknownFields ()
Overrides
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 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.
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public UpdateProfileRequest . Builder newBuilderForType ()
protected UpdateProfileRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public UpdateProfileRequest . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]