public final class UpdateProfileRequest extends GeneratedMessageV3 implements UpdateProfileRequestOrBuilder
UpdateProfileRequest contains the profile to update.
Protobuf type google.devtools.cloudprofiler.v2.UpdateProfileRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 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