Class ApiConfig.GrpcServiceDefinition.Builder (0.14.1)

public static final class ApiConfig.GrpcServiceDefinition.Builder extends GeneratedMessageV3.Builder<ApiConfig.GrpcServiceDefinition.Builder> implements ApiConfig.GrpcServiceDefinitionOrBuilder

A gRPC service definition.

Protobuf type google.events.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.events.cloud.apigateway.v1.ApiConfig.File>
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApiConfig.GrpcServiceDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameter
NameDescription
valueApiConfig.File
Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameter
NameDescription
builderForValueApiConfig.File.Builder
Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameters
NameDescription
indexint
valueApiConfig.File
Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameters
NameDescription
indexint
builderForValueApiConfig.File.Builder
Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiConfig.File.Builder

build()

public ApiConfig.GrpcServiceDefinition build()
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition

buildPartial()

public ApiConfig.GrpcServiceDefinition buildPartial()
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition

clear()

public ApiConfig.GrpcServiceDefinition.Builder clear()
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ApiConfig.GrpcServiceDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ApiConfig.GrpcServiceDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder

clone()

public ApiConfig.GrpcServiceDefinition.Builder clone()
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder
Overrides

getDefaultInstanceForType()

public ApiConfig.GrpcServiceDefinition getDefaultInstanceForType()
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Returns
TypeDescription
List<? extends com.google.events.cloud.apigateway.v1.ApiConfig.FileOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ApiConfig.GrpcServiceDefinition other)

public ApiConfig.GrpcServiceDefinition.Builder mergeFrom(ApiConfig.GrpcServiceDefinition other)
Parameter
NameDescription
otherApiConfig.GrpcServiceDefinition
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApiConfig.GrpcServiceDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ApiConfig.GrpcServiceDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder
Overrides

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

public ApiConfig.GrpcServiceDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameters
NameDescription
indexint
valueApiConfig.File
Returns
TypeDescription
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.events.cloud.apigateway.v1.ApiConfig.File source = 2;

Parameters
NameDescription
indexint
builderForValueApiConfig.File.Builder
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ApiConfig.GrpcServiceDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApiConfig.GrpcServiceDefinition.Builder
Overrides