public final class CreateOfflineProfileRequest extends GeneratedMessageV3 implements CreateOfflineProfileRequestOrBuilder
CreateOfflineProfileRequest describes a profile resource offline creation
request. Profile field must be set.
Protobuf type google.devtools.cloudprofiler.v2.CreateOfflineProfileRequest
Static Fields
public static final int PARENT_FIELD_NUMBER
Field Value
public static final int PROFILE_FIELD_NUMBER
Field Value
Static Methods
public static CreateOfflineProfileRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CreateOfflineProfileRequest.Builder newBuilder()
Returns
public static CreateOfflineProfileRequest.Builder newBuilder(CreateOfflineProfileRequest prototype)
Parameter
Returns
public static CreateOfflineProfileRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateOfflineProfileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CreateOfflineProfileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CreateOfflineProfileRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CreateOfflineProfileRequest getDefaultInstanceForType()
Returns
public String getParent()
Parent project to create the profile in.
string parent = 1;
Returns
Type | Description |
String | The parent.
|
public ByteString getParentBytes()
Parent project to create the profile in.
string parent = 1;
Returns
public Parser<CreateOfflineProfileRequest> getParserForType()
Returns
Overrides
public Profile getProfile()
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Returns
public ProfileOrBuilder getProfileOrBuilder()
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasProfile()
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Returns
Type | Description |
boolean | Whether the profile field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateOfflineProfileRequest.Builder newBuilderForType()
Returns
protected CreateOfflineProfileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CreateOfflineProfileRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions