public static final class CreateOfflineProfileRequest.Builder extends GeneratedMessageV3.Builder<CreateOfflineProfileRequest.Builder> implements CreateOfflineProfileRequestOrBuilder
CreateOfflineProfileRequest describes a profile resource offline creation
request. Profile field must be set.
Protobuf type google.devtools.cloudprofiler.v2.CreateOfflineProfileRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
public CreateOfflineProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateOfflineProfileRequest build()
Returns
public CreateOfflineProfileRequest buildPartial()
Returns
public CreateOfflineProfileRequest.Builder clear()
Returns
Overrides
public CreateOfflineProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateOfflineProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateOfflineProfileRequest.Builder clearParent()
Parent project to create the profile in.
string parent = 1;
Returns
public CreateOfflineProfileRequest.Builder clearProfile()
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Returns
public CreateOfflineProfileRequest.Builder clone()
Returns
Overrides
public CreateOfflineProfileRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 Profile getProfile()
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Returns
public Profile.Builder getProfileBuilder()
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 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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateOfflineProfileRequest.Builder mergeFrom(CreateOfflineProfileRequest other)
Parameter
Returns
public CreateOfflineProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateOfflineProfileRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public CreateOfflineProfileRequest.Builder mergeProfile(Profile value)
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Parameter
Returns
public final CreateOfflineProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateOfflineProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateOfflineProfileRequest.Builder setParent(String value)
Parent project to create the profile in.
string parent = 1;
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public CreateOfflineProfileRequest.Builder setParentBytes(ByteString value)
Parent project to create the profile in.
string parent = 1;
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public CreateOfflineProfileRequest.Builder setProfile(Profile value)
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Parameter
Returns
public CreateOfflineProfileRequest.Builder setProfile(Profile.Builder builderForValue)
Contents of the profile to create.
.google.devtools.cloudprofiler.v2.Profile profile = 2;
Parameter
Returns
public CreateOfflineProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateOfflineProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides