Class CreateProvisioningConfigRequest (0.32.0)

public final class CreateProvisioningConfigRequest extends GeneratedMessageV3 implements CreateProvisioningConfigRequestOrBuilder

Request for CreateProvisioningConfig.

Protobuf type google.cloud.baremetalsolution.v2.CreateProvisioningConfigRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateProvisioningConfigRequest

Static Fields

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

PROVISIONING_CONFIG_FIELD_NUMBER

public static final int PROVISIONING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateProvisioningConfigRequest getDefaultInstance()
Returns
TypeDescription
CreateProvisioningConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateProvisioningConfigRequest prototype)

public static CreateProvisioningConfigRequest.Builder newBuilder(CreateProvisioningConfigRequest prototype)
Parameter
NameDescription
prototypeCreateProvisioningConfigRequest
Returns
TypeDescription
CreateProvisioningConfigRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateProvisioningConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateProvisioningConfigRequest

getEmail()

public String getEmail()

Optional. Email provided to send a confirmation with provisioning config to.

string email = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Optional. Email provided to send a confirmation with provisioning config to.

string email = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for email.

getParent()

public String getParent()

Required. The parent project and location containing the ProvisioningConfig.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent project and location containing the ProvisioningConfig.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getProvisioningConfig()

public ProvisioningConfig getProvisioningConfig()

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProvisioningConfig

The provisioningConfig.

getProvisioningConfigOrBuilder()

public ProvisioningConfigOrBuilder getProvisioningConfigOrBuilder()

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProvisioningConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasProvisioningConfig()

public boolean hasProvisioningConfig()

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the provisioningConfig 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 CreateProvisioningConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateProvisioningConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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