Class ApiConfig.GrpcServiceDefinition.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ApiConfig.GrpcServiceDefinition.Builder>
com.google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition.Builder
All Implemented Interfaces:
ApiConfig.GrpcServiceDefinitionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ApiConfig.GrpcServiceDefinition

public static final class ApiConfig.GrpcServiceDefinition.Builder extends com.google.protobuf.GeneratedMessage.Builder<ApiConfig.GrpcServiceDefinition.Builder> implements ApiConfig.GrpcServiceDefinitionOrBuilder
 A gRPC service definition.
 
Protobuf type google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ApiConfig.GrpcServiceDefinition.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ApiConfig.GrpcServiceDefinition.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ApiConfig.GrpcServiceDefinition.Builder>
    • getDefaultInstanceForType

      public ApiConfig.GrpcServiceDefinition getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ApiConfig.GrpcServiceDefinition buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ApiConfig.GrpcServiceDefinition.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApiConfig.GrpcServiceDefinition.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ApiConfig.GrpcServiceDefinition.Builder>
    • mergeFrom

      public ApiConfig.GrpcServiceDefinition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApiConfig.GrpcServiceDefinition.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      hasFileDescriptorSet in interface ApiConfig.GrpcServiceDefinitionOrBuilder
      Returns:
      Whether the fileDescriptorSet field is set.
    • 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];
      Specified by:
      getFileDescriptorSet in interface ApiConfig.GrpcServiceDefinitionOrBuilder
      Returns:
      The fileDescriptorSet.
    • setFileDescriptorSet

      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];
    • setFileDescriptorSet

      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];
    • mergeFileDescriptorSet

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getFileDescriptorSetOrBuilder in interface ApiConfig.GrpcServiceDefinitionOrBuilder
    • 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];
      Specified by:
      getSourceList in interface ApiConfig.GrpcServiceDefinitionOrBuilder
    • 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];
      Specified by:
      getSourceCount in interface ApiConfig.GrpcServiceDefinitionOrBuilder
    • getSource

      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];
      Specified by:
      getSource in interface ApiConfig.GrpcServiceDefinitionOrBuilder
    • setSource

      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];
    • setSource

      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];
    • addSource

       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];
    • addSource

      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];
    • addSource

       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];
    • addSource

      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];
    • addAllSource

      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];
    • 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];
    • removeSource

      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];
    • getSourceBuilder

      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];
    • getSourceOrBuilder

      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];
      Specified by:
      getSourceOrBuilder in interface ApiConfig.GrpcServiceDefinitionOrBuilder
    • 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];
      Specified by:
      getSourceOrBuilderList in interface ApiConfig.GrpcServiceDefinitionOrBuilder
    • 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];
    • addSourceBuilder

      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];
    • 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];