- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.1
- 2.1.12
public static final class ApiConfig.GrpcServiceDefinition.Builder extends GeneratedMessageV3.Builder<ApiConfig.GrpcServiceDefinition.Builder> implements ApiConfig.GrpcServiceDefinitionOrBuilder
A gRPC service definition.
Protobuf type google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ApiConfig.GrpcServiceDefinition.BuilderImplements
ApiConfig.GrpcServiceDefinitionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSource(Iterable<? extends ApiConfig.File> values)
public ApiConfig.GrpcServiceDefinition.Builder addAllSource(Iterable<? extends ApiConfig.File> values)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.apigateway.v1.ApiConfig.File> |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApiConfig.GrpcServiceDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
addSource(ApiConfig.File value)
public ApiConfig.GrpcServiceDefinition.Builder addSource(ApiConfig.File value)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ApiConfig.File |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
addSource(ApiConfig.File.Builder builderForValue)
public ApiConfig.GrpcServiceDefinition.Builder addSource(ApiConfig.File.Builder builderForValue)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ApiConfig.File.Builder |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
addSource(int index, ApiConfig.File value)
public ApiConfig.GrpcServiceDefinition.Builder addSource(int index, ApiConfig.File value)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ApiConfig.File |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
addSource(int index, ApiConfig.File.Builder builderForValue)
public ApiConfig.GrpcServiceDefinition.Builder addSource(int index, ApiConfig.File.Builder builderForValue)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ApiConfig.File.Builder |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
addSourceBuilder()
public ApiConfig.File.Builder addSourceBuilder()
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ApiConfig.File.Builder |
addSourceBuilder(int index)
public ApiConfig.File.Builder addSourceBuilder(int index)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ApiConfig.File.Builder |
build()
public ApiConfig.GrpcServiceDefinition build()
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition |
buildPartial()
public ApiConfig.GrpcServiceDefinition buildPartial()
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition |
clear()
public ApiConfig.GrpcServiceDefinition.Builder clear()
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
clearField(Descriptors.FieldDescriptor field)
public ApiConfig.GrpcServiceDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
clearFileDescriptorSet()
public ApiConfig.GrpcServiceDefinition.Builder clearFileDescriptorSet()
Input only. File descriptor set, generated by protoc.
To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
$ protoc --include_imports --include_source_info test.proto -o out.pb
.google.cloud.apigateway.v1.ApiConfig.File file_descriptor_set = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ApiConfig.GrpcServiceDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
clearSource()
public ApiConfig.GrpcServiceDefinition.Builder clearSource()
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
clone()
public ApiConfig.GrpcServiceDefinition.Builder clone()
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
getDefaultInstanceForType()
public ApiConfig.GrpcServiceDefinition getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFileDescriptorSet()
public ApiConfig.File getFileDescriptorSet()
Input only. File descriptor set, generated by protoc.
To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
$ protoc --include_imports --include_source_info test.proto -o out.pb
.google.cloud.apigateway.v1.ApiConfig.File file_descriptor_set = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
ApiConfig.File |
The fileDescriptorSet. |
getFileDescriptorSetBuilder()
public ApiConfig.File.Builder getFileDescriptorSetBuilder()
Input only. File descriptor set, generated by protoc.
To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
$ protoc --include_imports --include_source_info test.proto -o out.pb
.google.cloud.apigateway.v1.ApiConfig.File file_descriptor_set = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
ApiConfig.File.Builder |
getFileDescriptorSetOrBuilder()
public ApiConfig.FileOrBuilder getFileDescriptorSetOrBuilder()
Input only. File descriptor set, generated by protoc.
To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
$ protoc --include_imports --include_source_info test.proto -o out.pb
.google.cloud.apigateway.v1.ApiConfig.File file_descriptor_set = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
ApiConfig.FileOrBuilder |
getSource(int index)
public ApiConfig.File getSource(int index)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ApiConfig.File |
getSourceBuilder(int index)
public ApiConfig.File.Builder getSourceBuilder(int index)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ApiConfig.File.Builder |
getSourceBuilderList()
public List<ApiConfig.File.Builder> getSourceBuilderList()
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getSourceCount()
public int getSourceCount()
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getSourceList()
public List<ApiConfig.File> getSourceList()
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<File> |
getSourceOrBuilder(int index)
public ApiConfig.FileOrBuilder getSourceOrBuilder(int index)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ApiConfig.FileOrBuilder |
getSourceOrBuilderList()
public List<? extends ApiConfig.FileOrBuilder> getSourceOrBuilderList()
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.apigateway.v1.ApiConfig.FileOrBuilder> |
hasFileDescriptorSet()
public boolean hasFileDescriptorSet()
Input only. File descriptor set, generated by protoc.
To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
$ protoc --include_imports --include_source_info test.proto -o out.pb
.google.cloud.apigateway.v1.ApiConfig.File file_descriptor_set = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the fileDescriptorSet field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFileDescriptorSet(ApiConfig.File value)
public ApiConfig.GrpcServiceDefinition.Builder mergeFileDescriptorSet(ApiConfig.File value)
Input only. File descriptor set, generated by protoc.
To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
$ protoc --include_imports --include_source_info test.proto -o out.pb
.google.cloud.apigateway.v1.ApiConfig.File file_descriptor_set = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ApiConfig.File |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
mergeFrom(ApiConfig.GrpcServiceDefinition other)
public ApiConfig.GrpcServiceDefinition.Builder mergeFrom(ApiConfig.GrpcServiceDefinition other)
Parameter | |
---|---|
Name | Description |
other |
ApiConfig.GrpcServiceDefinition |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ApiConfig.GrpcServiceDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ApiConfig.GrpcServiceDefinition.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApiConfig.GrpcServiceDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
removeSource(int index)
public ApiConfig.GrpcServiceDefinition.Builder removeSource(int index)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ApiConfig.GrpcServiceDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
setFileDescriptorSet(ApiConfig.File value)
public ApiConfig.GrpcServiceDefinition.Builder setFileDescriptorSet(ApiConfig.File value)
Input only. File descriptor set, generated by protoc.
To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
$ protoc --include_imports --include_source_info test.proto -o out.pb
.google.cloud.apigateway.v1.ApiConfig.File file_descriptor_set = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ApiConfig.File |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
setFileDescriptorSet(ApiConfig.File.Builder builderForValue)
public ApiConfig.GrpcServiceDefinition.Builder setFileDescriptorSet(ApiConfig.File.Builder builderForValue)
Input only. File descriptor set, generated by protoc.
To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
$ protoc --include_imports --include_source_info test.proto -o out.pb
.google.cloud.apigateway.v1.ApiConfig.File file_descriptor_set = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
ApiConfig.File.Builder |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApiConfig.GrpcServiceDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
setSource(int index, ApiConfig.File value)
public ApiConfig.GrpcServiceDefinition.Builder setSource(int index, ApiConfig.File value)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ApiConfig.File |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
setSource(int index, ApiConfig.File.Builder builderForValue)
public ApiConfig.GrpcServiceDefinition.Builder setSource(int index, ApiConfig.File.Builder builderForValue)
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
repeated .google.cloud.apigateway.v1.ApiConfig.File source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ApiConfig.File.Builder |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ApiConfig.GrpcServiceDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ApiConfig.GrpcServiceDefinition.Builder |