Class CreateOfflineProfileRequest (2.12.0)

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

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

PROFILE_FIELD_NUMBER

public static final int PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateOfflineProfileRequest getDefaultInstance()
Returns
TypeDescription
CreateOfflineProfileRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateOfflineProfileRequest.Builder newBuilder()
Returns
TypeDescription
CreateOfflineProfileRequest.Builder

newBuilder(CreateOfflineProfileRequest prototype)

public static CreateOfflineProfileRequest.Builder newBuilder(CreateOfflineProfileRequest prototype)
Parameter
NameDescription
prototypeCreateOfflineProfileRequest
Returns
TypeDescription
CreateOfflineProfileRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateOfflineProfileRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateOfflineProfileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateOfflineProfileRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateOfflineProfileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateOfflineProfileRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateOfflineProfileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateOfflineProfileRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateOfflineProfileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateOfflineProfileRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateOfflineProfileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateOfflineProfileRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateOfflineProfileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateOfflineProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateOfflineProfileRequest> parser()
Returns
TypeDescription
Parser<CreateOfflineProfileRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateOfflineProfileRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateOfflineProfileRequest

getParent()

public String getParent()

Parent project to create the profile in.

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Parent project to create the profile in.

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateOfflineProfileRequest> getParserForType()
Returns
TypeDescription
Parser<CreateOfflineProfileRequest>
Overrides

getProfile()

public Profile getProfile()

Contents of the profile to create.

.google.devtools.cloudprofiler.v2.Profile profile = 2;

Returns
TypeDescription
Profile

The profile.

getProfileOrBuilder()

public ProfileOrBuilder getProfileOrBuilder()

Contents of the profile to create.

.google.devtools.cloudprofiler.v2.Profile profile = 2;

Returns
TypeDescription
ProfileOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasProfile()

public boolean hasProfile()

Contents of the profile to create.

.google.devtools.cloudprofiler.v2.Profile profile = 2;

Returns
TypeDescription
boolean

Whether the profile field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateOfflineProfileRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateOfflineProfileRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateOfflineProfileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateOfflineProfileRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateOfflineProfileRequest.Builder toBuilder()
Returns
TypeDescription
CreateOfflineProfileRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException