Class CreateOfflineProfileRequest.Builder (2.85.0)

public static final class CreateOfflineProfileRequest.Builder extends GeneratedMessage.Builder<CreateOfflineProfileRequest.Builder> implements CreateOfflineProfileRequestOrBuilder

CreateOfflineProfileRequest describes a profile resource offline creation request.

Protobuf type google.devtools.cloudprofiler.v2.CreateOfflineProfileRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateOfflineProfileRequest build()
Returns
Type Description
CreateOfflineProfileRequest

buildPartial()

public CreateOfflineProfileRequest buildPartial()
Returns
Type Description
CreateOfflineProfileRequest

clear()

public CreateOfflineProfileRequest.Builder clear()
Returns
Type Description
CreateOfflineProfileRequest.Builder
Overrides

clearParent()

public CreateOfflineProfileRequest.Builder clearParent()

Parent project to create the profile in.

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
CreateOfflineProfileRequest.Builder

This builder for chaining.

clearProfile()

public CreateOfflineProfileRequest.Builder clearProfile()

Contents of the profile to create.

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

Returns
Type Description
CreateOfflineProfileRequest.Builder

getDefaultInstanceForType()

public CreateOfflineProfileRequest getDefaultInstanceForType()
Returns
Type Description
CreateOfflineProfileRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Parent project to create the profile in.

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Parent project to create the profile in.

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getProfile()

public Profile getProfile()

Contents of the profile to create.

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

Returns
Type Description
Profile

The profile.

getProfileBuilder()

public Profile.Builder getProfileBuilder()

Contents of the profile to create.

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

Returns
Type Description
Profile.Builder

getProfileOrBuilder()

public ProfileOrBuilder getProfileOrBuilder()

Contents of the profile to create.

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

Returns
Type Description
ProfileOrBuilder

hasProfile()

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.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateOfflineProfileRequest other)

public CreateOfflineProfileRequest.Builder mergeFrom(CreateOfflineProfileRequest other)
Parameter
Name Description
other CreateOfflineProfileRequest
Returns
Type Description
CreateOfflineProfileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateOfflineProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateOfflineProfileRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateOfflineProfileRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateOfflineProfileRequest.Builder
Overrides

mergeProfile(Profile value)

public CreateOfflineProfileRequest.Builder mergeProfile(Profile value)

Contents of the profile to create.

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

Parameter
Name Description
value Profile
Returns
Type Description
CreateOfflineProfileRequest.Builder

setParent(String value)

public CreateOfflineProfileRequest.Builder setParent(String value)

Parent project to create the profile in.

string parent = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateOfflineProfileRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateOfflineProfileRequest.Builder setParentBytes(ByteString value)

Parent project to create the profile in.

string parent = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateOfflineProfileRequest.Builder

This builder for chaining.

setProfile(Profile value)

public CreateOfflineProfileRequest.Builder setProfile(Profile value)

Contents of the profile to create.

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

Parameter
Name Description
value Profile
Returns
Type Description
CreateOfflineProfileRequest.Builder

setProfile(Profile.Builder builderForValue)

public CreateOfflineProfileRequest.Builder setProfile(Profile.Builder builderForValue)

Contents of the profile to create.

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

Parameter
Name Description
builderForValue Profile.Builder
Returns
Type Description
CreateOfflineProfileRequest.Builder