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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateOfflineProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateOfflineProfileRequest build()
public CreateOfflineProfileRequest buildPartial()
public CreateOfflineProfileRequest.Builder clear()
Overrides
public CreateOfflineProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateOfflineProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CreateOfflineProfileRequest.Builder clearParent()
Parent project to create the profile in.
string parent = 1 [(.google.api.resource_reference) = { ... }
public CreateOfflineProfileRequest.Builder clearProfile()
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
public CreateOfflineProfileRequest.Builder clone()
Overrides
public CreateOfflineProfileRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getParent()
Parent project to create the profile in.
string parent = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
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.
|
public Profile getProfile()
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Returns |
Type |
Description |
Profile |
The profile.
|
public Profile.Builder getProfileBuilder()
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
public ProfileOrBuilder getProfileOrBuilder()
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateOfflineProfileRequest.Builder mergeFrom(CreateOfflineProfileRequest other)
public CreateOfflineProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateOfflineProfileRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public CreateOfflineProfileRequest.Builder mergeProfile(Profile value)
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Parameter |
Name |
Description |
value |
Profile
|
public final CreateOfflineProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateOfflineProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public CreateOfflineProfileRequest.Builder setProfile(Profile value)
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Parameter |
Name |
Description |
value |
Profile
|
public CreateOfflineProfileRequest.Builder setProfile(Profile.Builder builderForValue)
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
public CreateOfflineProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateOfflineProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides