Class CreateOfflineProfileRequest.Builder (2.45.0)

public static final class CreateOfflineProfileRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateOfflineProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateOfflineProfileRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public CreateOfflineProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateOfflineProfileRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateOfflineProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateOfflineProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateOfflineProfileRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateOfflineProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateOfflineProfileRequest.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateOfflineProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateOfflineProfileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateOfflineProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateOfflineProfileRequest.Builder
Overrides