public static final class UploadSourceRequest.Builder extends GeneratedMessage.Builder<UploadSourceRequest.Builder> implements UploadSourceRequestOrBuilderThe request message for the UploadSource method.
Protobuf type google.cloud.run.v2.UploadSourceRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UploadSourceRequest.BuilderImplements
UploadSourceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UploadSourceRequest build()| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest |
|
buildPartial()
public UploadSourceRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest |
|
clear()
public UploadSourceRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
|
clearParent()
public UploadSourceRequest.Builder clearParent() Required. The project and location in which the source archive should be
uploaded to, specified in the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
This builder for chaining. |
clearService()
public UploadSourceRequest.Builder clearService()The name of Cloud Run Service upload source archive will be used for.
string service = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
This builder for chaining. |
clearTarget()
public UploadSourceRequest.Builder clearTarget()| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
|
getDefaultInstanceForType()
public UploadSourceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The project and location in which the source archive should be
uploaded to, specified in the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The project and location in which the source archive should be
uploaded to, specified in the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getService()
public String getService()The name of Cloud Run Service upload source archive will be used for.
string service = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The service. |
getServiceBytes()
public ByteString getServiceBytes()The name of Cloud Run Service upload source archive will be used for.
string service = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for service. |
getTargetCase()
public UploadSourceRequest.TargetCase getTargetCase()| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.TargetCase |
|
hasService()
public boolean hasService()The name of Cloud Run Service upload source archive will be used for.
string service = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the service field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UploadSourceRequest other)
public UploadSourceRequest.Builder mergeFrom(UploadSourceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UploadSourceRequest |
| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UploadSourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UploadSourceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
|
setParent(String value)
public UploadSourceRequest.Builder setParent(String value) Required. The project and location in which the source archive should be
uploaded to, specified in the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public UploadSourceRequest.Builder setParentBytes(ByteString value) Required. The project and location in which the source archive should be
uploaded to, specified in the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
This builder for chaining. |
setService(String value)
public UploadSourceRequest.Builder setService(String value)The name of Cloud Run Service upload source archive will be used for.
string service = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe service to set. |
| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
This builder for chaining. |
setServiceBytes(ByteString value)
public UploadSourceRequest.Builder setServiceBytes(ByteString value)The name of Cloud Run Service upload source archive will be used for.
string service = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for service to set. |
| Returns | |
|---|---|
| Type | Description |
UploadSourceRequest.Builder |
This builder for chaining. |