Class GetApiConfigRequest.Builder (2.41.0)

public static final class GetApiConfigRequest.Builder extends GeneratedMessageV3.Builder<GetApiConfigRequest.Builder> implements GetApiConfigRequestOrBuilder

Request message for ApiGatewayService.GetApiConfig

Protobuf type google.cloud.apigateway.v1.GetApiConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetApiConfigRequest build()
Returns
Type Description
GetApiConfigRequest

buildPartial()

public GetApiConfigRequest buildPartial()
Returns
Type Description
GetApiConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetApiConfigRequest.Builder clearName()

Required. Resource name of the form: projects/*/locations/global/apis/*/configs/*

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

Returns
Type Description
GetApiConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearView()

public GetApiConfigRequest.Builder clearView()

Specifies which fields of the API Config are returned in the response. Defaults to BASIC view.

.google.cloud.apigateway.v1.GetApiConfigRequest.ConfigView view = 3;

Returns
Type Description
GetApiConfigRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetApiConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetApiConfigRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name of the form: projects/*/locations/global/apis/*/configs/*

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the form: projects/*/locations/global/apis/*/configs/*

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

Returns
Type Description
ByteString

The bytes for name.

getView()

public GetApiConfigRequest.ConfigView getView()

Specifies which fields of the API Config are returned in the response. Defaults to BASIC view.

.google.cloud.apigateway.v1.GetApiConfigRequest.ConfigView view = 3;

Returns
Type Description
GetApiConfigRequest.ConfigView

The view.

getViewValue()

public int getViewValue()

Specifies which fields of the API Config are returned in the response. Defaults to BASIC view.

.google.cloud.apigateway.v1.GetApiConfigRequest.ConfigView view = 3;

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetApiConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetApiConfigRequest.Builder setName(String value)

Required. Resource name of the form: projects/*/locations/global/apis/*/configs/*

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetApiConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetApiConfigRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the form: projects/*/locations/global/apis/*/configs/*

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
GetApiConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(GetApiConfigRequest.ConfigView value)

public GetApiConfigRequest.Builder setView(GetApiConfigRequest.ConfigView value)

Specifies which fields of the API Config are returned in the response. Defaults to BASIC view.

.google.cloud.apigateway.v1.GetApiConfigRequest.ConfigView view = 3;

Parameter
Name Description
value GetApiConfigRequest.ConfigView

The view to set.

Returns
Type Description
GetApiConfigRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetApiConfigRequest.Builder setViewValue(int value)

Specifies which fields of the API Config are returned in the response. Defaults to BASIC view.

.google.cloud.apigateway.v1.GetApiConfigRequest.ConfigView view = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
GetApiConfigRequest.Builder

This builder for chaining.