public static final class UpdateVersionRequest.Builder extends GeneratedMessage.Builder<UpdateVersionRequest.Builder> implements UpdateVersionRequestOrBuilderThe UpdateVersion method's request.
Protobuf type google.cloud.apihub.v1.UpdateVersionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateVersionRequest.BuilderImplements
UpdateVersionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateVersionRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest |
|
buildPartial()
public UpdateVersionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest |
|
clear()
public UpdateVersionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
clearUpdateMask()
public UpdateVersionRequest.Builder clearUpdateMask()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
clearVersion()
public UpdateVersionRequest.Builder clearVersion()Required. The API version to update.
The version's name field is used to identify the API version to update.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
getDefaultInstanceForType()
public UpdateVersionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
getVersion()
public Version getVersion()Required. The API version to update.
The version's name field is used to identify the API version to update.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Version |
The version. |
getVersionBuilder()
public Version.Builder getVersionBuilder()Required. The API version to update.
The version's name field is used to identify the API version to update.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Version.Builder |
|
getVersionOrBuilder()
public VersionOrBuilder getVersionOrBuilder()Required. The API version to update.
The version's name field is used to identify the API version to update.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VersionOrBuilder |
|
hasUpdateMask()
public boolean hasUpdateMask()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
hasVersion()
public boolean hasVersion()Required. The API version to update.
The version's name field is used to identify the API version to update.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the version field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateVersionRequest other)
public UpdateVersionRequest.Builder mergeFrom(UpdateVersionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateVersionRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateVersionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateVersionRequest.Builder mergeUpdateMask(FieldMask value)Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
mergeVersion(Version value)
public UpdateVersionRequest.Builder mergeVersion(Version value)Required. The API version to update.
The version's name field is used to identify the API version to update.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Version |
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateVersionRequest.Builder setUpdateMask(FieldMask value)Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateVersionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
setVersion(Version value)
public UpdateVersionRequest.Builder setVersion(Version value)Required. The API version to update.
The version's name field is used to identify the API version to update.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Version |
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|
setVersion(Version.Builder builderForValue)
public UpdateVersionRequest.Builder setVersion(Version.Builder builderForValue)Required. The API version to update.
The version's name field is used to identify the API version to update.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Version.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateVersionRequest.Builder |
|