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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetApiConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetApiConfigRequest build()
Returns
buildPartial()
public GetApiConfigRequest buildPartial()
Returns
clear()
public GetApiConfigRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetApiConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public GetApiConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public GetApiConfigRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetApiConfigRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetApiConfigRequest other)
public GetApiConfigRequest.Builder mergeFrom(GetApiConfigRequest other)
Parameter
Returns
public GetApiConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetApiConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetApiConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetApiConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetApiConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetApiConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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