Class GetApiConfigRequest.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetApiConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetApiConfigRequest.Builder
Overrides

build()

public GetApiConfigRequest build()
Returns
TypeDescription
GetApiConfigRequest

buildPartial()

public GetApiConfigRequest buildPartial()
Returns
TypeDescription
GetApiConfigRequest

clear()

public GetApiConfigRequest.Builder clear()
Returns
TypeDescription
GetApiConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetApiConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetApiConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetApiConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
GetApiConfigRequest.Builder

This builder for chaining.

clone()

public GetApiConfigRequest.Builder clone()
Returns
TypeDescription
GetApiConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public GetApiConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetApiConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetApiConfigRequest other)

public GetApiConfigRequest.Builder mergeFrom(GetApiConfigRequest other)
Parameter
NameDescription
otherGetApiConfigRequest
Returns
TypeDescription
GetApiConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetApiConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetApiConfigRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetApiConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetApiConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetApiConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetApiConfigRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetApiConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetApiConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetApiConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueGetApiConfigRequest.ConfigView

The view to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
GetApiConfigRequest.Builder

This builder for chaining.