public static final class DeploymentMetadata.Builder extends GeneratedMessageV3.Builder<DeploymentMetadata.Builder> implements DeploymentMetadataOrBuilderThe metadata associated with a deployment.
Protobuf type google.cloud.apihub.v1.DeploymentMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeploymentMetadata.BuilderImplements
DeploymentMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeploymentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
build()
public DeploymentMetadata build()| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata |
|
buildPartial()
public DeploymentMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata |
|
clear()
public DeploymentMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
clearDeployment()
public DeploymentMetadata.Builder clearDeployment()Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public DeploymentMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public DeploymentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
clearOriginalCreateTime()
public DeploymentMetadata.Builder clearOriginalCreateTime()Optional. Timestamp indicating when the deployment was created at the source.
.google.protobuf.Timestamp original_create_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
clearOriginalId()
public DeploymentMetadata.Builder clearOriginalId()Optional. The unique identifier of the deployment in the system where it was originally created.
string original_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
This builder for chaining. |
clearOriginalUpdateTime()
public DeploymentMetadata.Builder clearOriginalUpdateTime()Required. Timestamp indicating when the deployment was last updated at the source.
.google.protobuf.Timestamp original_update_time = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
clone()
public DeploymentMetadata.Builder clone()| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
getDefaultInstanceForType()
public DeploymentMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata |
|
getDeployment()
public Deployment getDeployment()Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Deployment |
The deployment. |
getDeploymentBuilder()
public Deployment.Builder getDeploymentBuilder()Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
getDeploymentOrBuilder()
public DeploymentOrBuilder getDeploymentOrBuilder()Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOriginalCreateTime()
public Timestamp getOriginalCreateTime()Optional. Timestamp indicating when the deployment was created at the source.
.google.protobuf.Timestamp original_create_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The originalCreateTime. |
getOriginalCreateTimeBuilder()
public Timestamp.Builder getOriginalCreateTimeBuilder()Optional. Timestamp indicating when the deployment was created at the source.
.google.protobuf.Timestamp original_create_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getOriginalCreateTimeOrBuilder()
public TimestampOrBuilder getOriginalCreateTimeOrBuilder()Optional. Timestamp indicating when the deployment was created at the source.
.google.protobuf.Timestamp original_create_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getOriginalId()
public String getOriginalId()Optional. The unique identifier of the deployment in the system where it was originally created.
string original_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The originalId. |
getOriginalIdBytes()
public ByteString getOriginalIdBytes()Optional. The unique identifier of the deployment in the system where it was originally created.
string original_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for originalId. |
getOriginalUpdateTime()
public Timestamp getOriginalUpdateTime()Required. Timestamp indicating when the deployment was last updated at the source.
.google.protobuf.Timestamp original_update_time = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The originalUpdateTime. |
getOriginalUpdateTimeBuilder()
public Timestamp.Builder getOriginalUpdateTimeBuilder()Required. Timestamp indicating when the deployment was last updated at the source.
.google.protobuf.Timestamp original_update_time = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getOriginalUpdateTimeOrBuilder()
public TimestampOrBuilder getOriginalUpdateTimeOrBuilder()Required. Timestamp indicating when the deployment was last updated at the source.
.google.protobuf.Timestamp original_update_time = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasDeployment()
public boolean hasDeployment()Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deployment field is set. |
hasOriginalCreateTime()
public boolean hasOriginalCreateTime()Optional. Timestamp indicating when the deployment was created at the source.
.google.protobuf.Timestamp original_create_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the originalCreateTime field is set. |
hasOriginalUpdateTime()
public boolean hasOriginalUpdateTime()Required. Timestamp indicating when the deployment was last updated at the source.
.google.protobuf.Timestamp original_update_time = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the originalUpdateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDeployment(Deployment value)
public DeploymentMetadata.Builder mergeDeployment(Deployment value)Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Deployment |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
mergeFrom(DeploymentMetadata other)
public DeploymentMetadata.Builder mergeFrom(DeploymentMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
DeploymentMetadata |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeploymentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeploymentMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
mergeOriginalCreateTime(Timestamp value)
public DeploymentMetadata.Builder mergeOriginalCreateTime(Timestamp value)Optional. Timestamp indicating when the deployment was created at the source.
.google.protobuf.Timestamp original_create_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
mergeOriginalUpdateTime(Timestamp value)
public DeploymentMetadata.Builder mergeOriginalUpdateTime(Timestamp value)Required. Timestamp indicating when the deployment was last updated at the source.
.google.protobuf.Timestamp original_update_time = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeploymentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
setDeployment(Deployment value)
public DeploymentMetadata.Builder setDeployment(Deployment value)Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Deployment |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
setDeployment(Deployment.Builder builderForValue)
public DeploymentMetadata.Builder setDeployment(Deployment.Builder builderForValue)Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Deployment.Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public DeploymentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
setOriginalCreateTime(Timestamp value)
public DeploymentMetadata.Builder setOriginalCreateTime(Timestamp value)Optional. Timestamp indicating when the deployment was created at the source.
.google.protobuf.Timestamp original_create_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
setOriginalCreateTime(Timestamp.Builder builderForValue)
public DeploymentMetadata.Builder setOriginalCreateTime(Timestamp.Builder builderForValue)Optional. Timestamp indicating when the deployment was created at the source.
.google.protobuf.Timestamp original_create_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
setOriginalId(String value)
public DeploymentMetadata.Builder setOriginalId(String value)Optional. The unique identifier of the deployment in the system where it was originally created.
string original_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe originalId to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
This builder for chaining. |
setOriginalIdBytes(ByteString value)
public DeploymentMetadata.Builder setOriginalIdBytes(ByteString value)Optional. The unique identifier of the deployment in the system where it was originally created.
string original_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for originalId to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
This builder for chaining. |
setOriginalUpdateTime(Timestamp value)
public DeploymentMetadata.Builder setOriginalUpdateTime(Timestamp value)Required. Timestamp indicating when the deployment was last updated at the source.
.google.protobuf.Timestamp original_update_time = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
setOriginalUpdateTime(Timestamp.Builder builderForValue)
public DeploymentMetadata.Builder setOriginalUpdateTime(Timestamp.Builder builderForValue)Required. Timestamp indicating when the deployment was last updated at the source.
.google.protobuf.Timestamp original_update_time = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeploymentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DeploymentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DeploymentMetadata.Builder |
|