Class GetExternalApiRequest.Builder (0.1.0)

public static final class GetExternalApiRequest.Builder extends GeneratedMessageV3.Builder<GetExternalApiRequest.Builder> implements GetExternalApiRequestOrBuilder

The GetExternalApi method's request.

Protobuf type google.cloud.apihub.v1.GetExternalApiRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetExternalApiRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetExternalApiRequest.Builder
Overrides

build()

public GetExternalApiRequest build()
Returns
Type Description
GetExternalApiRequest

buildPartial()

public GetExternalApiRequest buildPartial()
Returns
Type Description
GetExternalApiRequest

clear()

public GetExternalApiRequest.Builder clear()
Returns
Type Description
GetExternalApiRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetExternalApiRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetExternalApiRequest.Builder
Overrides

clearName()

public GetExternalApiRequest.Builder clearName()

Required. The name of the External API resource to retrieve. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetExternalApiRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetExternalApiRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetExternalApiRequest.Builder
Overrides

clone()

public GetExternalApiRequest.Builder clone()
Returns
Type Description
GetExternalApiRequest.Builder
Overrides

getDefaultInstanceForType()

public GetExternalApiRequest getDefaultInstanceForType()
Returns
Type Description
GetExternalApiRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the External API resource to retrieve. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the External API resource to retrieve. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetExternalApiRequest other)

public GetExternalApiRequest.Builder mergeFrom(GetExternalApiRequest other)
Parameter
Name Description
other GetExternalApiRequest
Returns
Type Description
GetExternalApiRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetExternalApiRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetExternalApiRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetExternalApiRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetExternalApiRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetExternalApiRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetExternalApiRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetExternalApiRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetExternalApiRequest.Builder
Overrides

setName(String value)

public GetExternalApiRequest.Builder setName(String value)

Required. The name of the External API resource to retrieve. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetExternalApiRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetExternalApiRequest.Builder setNameBytes(ByteString value)

Required. The name of the External API resource to retrieve. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetExternalApiRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetExternalApiRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetExternalApiRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetExternalApiRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetExternalApiRequest.Builder
Overrides