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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApiConfig.GrpcServiceDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public ApiConfig.GrpcServiceDefinition build()
Returns
buildPartial()
public ApiConfig.GrpcServiceDefinition buildPartial()
Returns
clear()
public ApiConfig.GrpcServiceDefinition.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ApiConfig.GrpcServiceDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ApiConfig.GrpcServiceDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clone()
public ApiConfig.GrpcServiceDefinition.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ApiConfig.GrpcServiceDefinition getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
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
Returns
mergeFrom(ApiConfig.GrpcServiceDefinition other)
public ApiConfig.GrpcServiceDefinition.Builder mergeFrom(ApiConfig.GrpcServiceDefinition other)
Parameter
Returns
public ApiConfig.GrpcServiceDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ApiConfig.GrpcServiceDefinition.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApiConfig.GrpcServiceDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ApiConfig.GrpcServiceDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApiConfig.GrpcServiceDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ApiConfig.GrpcServiceDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides