Class CreateDeploymentRequest (2.36.0)

public final class CreateDeploymentRequest extends GeneratedMessageV3 implements CreateDeploymentRequestOrBuilder

Request message to create a deployment.

Protobuf type google.cloud.gsuiteaddons.v1.CreateDeploymentRequest

Static Fields

DEPLOYMENT_FIELD_NUMBER

public static final int DEPLOYMENT_FIELD_NUMBER
Field Value
TypeDescription
int

DEPLOYMENT_ID_FIELD_NUMBER

public static final int DEPLOYMENT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateDeploymentRequest getDefaultInstance()
Returns
TypeDescription
CreateDeploymentRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateDeploymentRequest prototype)

public static CreateDeploymentRequest.Builder newBuilder(CreateDeploymentRequest prototype)
Parameter
NameDescription
prototypeCreateDeploymentRequest
Returns
TypeDescription
CreateDeploymentRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateDeploymentRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDeploymentRequest

getDeployment()

public Deployment getDeployment()

Required. The deployment to create (deployment.name cannot be set).

.google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Deployment

The deployment.

getDeploymentId()

public String getDeploymentId()

Required. The id to use for this deployment. The full name of the created resource will be projects/<project_number>/deployments/<deployment_id>.

string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The deploymentId.

getDeploymentIdBytes()

public ByteString getDeploymentIdBytes()

Required. The id to use for this deployment. The full name of the created resource will be projects/<project_number>/deployments/<deployment_id>.

string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for deploymentId.

getDeploymentOrBuilder()

public DeploymentOrBuilder getDeploymentOrBuilder()

Required. The deployment to create (deployment.name cannot be set).

.google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DeploymentOrBuilder

getParent()

public String getParent()

Required. Name of the project in which to create the deployment.

Example: projects/my_project.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Name of the project in which to create the deployment.

Example: projects/my_project.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDeployment()

public boolean hasDeployment()

Required. The deployment to create (deployment.name cannot be set).

.google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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