Class UpdateExternalApiRequest (0.7.0)

public final class UpdateExternalApiRequest extends GeneratedMessageV3 implements UpdateExternalApiRequestOrBuilder

The UpdateExternalApi method's request.

Protobuf type google.cloud.apihub.v1.UpdateExternalApiRequest

Static Fields

EXTERNAL_API_FIELD_NUMBER

public static final int EXTERNAL_API_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateExternalApiRequest getDefaultInstance()
Returns
Type Description
UpdateExternalApiRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateExternalApiRequest.Builder newBuilder()
Returns
Type Description
UpdateExternalApiRequest.Builder

newBuilder(UpdateExternalApiRequest prototype)

public static UpdateExternalApiRequest.Builder newBuilder(UpdateExternalApiRequest prototype)
Parameter
Name Description
prototype UpdateExternalApiRequest
Returns
Type Description
UpdateExternalApiRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateExternalApiRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalApiRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateExternalApiRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalApiRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateExternalApiRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalApiRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateExternalApiRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalApiRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateExternalApiRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalApiRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateExternalApiRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalApiRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExternalApiRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateExternalApiRequest> parser()
Returns
Type Description
Parser<UpdateExternalApiRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateExternalApiRequest getDefaultInstanceForType()
Returns
Type Description
UpdateExternalApiRequest

getExternalApi()

public ExternalApi getExternalApi()

Required. The External API resource to update.

The External API resource's name field is used to identify the External API resource to update. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

.google.cloud.apihub.v1.ExternalApi external_api = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExternalApi

The externalApi.

getExternalApiOrBuilder()

public ExternalApiOrBuilder getExternalApiOrBuilder()

Required. The External API resource to update.

The External API resource's name field is used to identify the External API resource to update. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

.google.cloud.apihub.v1.ExternalApi external_api = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExternalApiOrBuilder

getParserForType()

public Parser<UpdateExternalApiRequest> getParserForType()
Returns
Type Description
Parser<UpdateExternalApiRequest>
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];

Returns
Type Description
FieldMaskOrBuilder

hasExternalApi()

public boolean hasExternalApi()

Required. The External API resource to update.

The External API resource's name field is used to identify the External API resource to update. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

.google.cloud.apihub.v1.ExternalApi external_api = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the externalApi field is set.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateExternalApiRequest.Builder newBuilderForType()
Returns
Type Description
UpdateExternalApiRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateExternalApiRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateExternalApiRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateExternalApiRequest.Builder toBuilder()
Returns
Type Description
UpdateExternalApiRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException