public final class UpdateVersionRequest extends GeneratedMessageV3 implements UpdateVersionRequestOrBuilder
The UpdateVersion method's
request.
Protobuf type google.cloud.apihub.v1.UpdateVersionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateVersionRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateVersionRequest.Builder newBuilder()
newBuilder(UpdateVersionRequest prototype)
public static UpdateVersionRequest.Builder newBuilder(UpdateVersionRequest prototype)
public static UpdateVersionRequest parseDelimitedFrom(InputStream input)
public static UpdateVersionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateVersionRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateVersionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateVersionRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateVersionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateVersionRequest parseFrom(CodedInputStream input)
public static UpdateVersionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateVersionRequest parseFrom(InputStream input)
public static UpdateVersionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateVersionRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateVersionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateVersionRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UpdateVersionRequest getDefaultInstanceForType()
getParserForType()
public Parser<UpdateVersionRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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];
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateVersionRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateVersionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpdateVersionRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides