# Class ConfigServiceV2Grpc (3.34.0)

3.34.0 (latest) 3.32.0 3.29.0 3.28.0 3.26.0 3.24.0 3.23.10 3.22.6 3.21.4 3.20.7 3.19.0 3.18.0 3.17.2 3.16.2 3.15.17 3.14.9 3.13.7 3.12.1 3.11.10 3.10.7 3.9.0 3.8.0 3.7.6 3.6.4 3.5.3

    public final class ConfigServiceV2Grpc

Service for configuring sinks used to route log entries.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> ConfigServiceV2Grpc

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Static Fields

### SERVICE_NAME

    public static final String SERVICE_NAME

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

## Static Methods

### bindService(ConfigServiceV2Grpc.AsyncService service)

    public static final ServerServiceDefinition bindService(ConfigServiceV2Grpc.AsyncService service)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `service` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ConfigServiceV2Grpc.AsyncService` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.ServerServiceDefinition` |   |

### getCopyLogEntriesMethod()

    public static MethodDescriptor<CopyLogEntriesRequest,Operation> getCopyLogEntriesMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.CopyLogEntriesRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### getCreateBucketAsyncMethod()

    public static MethodDescriptor<CreateBucketRequest,Operation> getCreateBucketAsyncMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.CreateBucketRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### getCreateBucketMethod()

    public static MethodDescriptor<CreateBucketRequest,LogBucket> getCreateBucketMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.CreateBucketRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogBucket>` |   |

### getCreateExclusionMethod()

    public static MethodDescriptor<CreateExclusionRequest,LogExclusion> getCreateExclusionMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.CreateExclusionRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogExclusion>` |   |

### getCreateLinkMethod()

    public static MethodDescriptor<CreateLinkRequest,Operation> getCreateLinkMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.CreateLinkRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### getCreateSinkMethod()

    public static MethodDescriptor<CreateSinkRequest,LogSink> getCreateSinkMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.CreateSinkRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogSink>` |   |

### getCreateViewMethod()

    public static MethodDescriptor<CreateViewRequest,LogView> getCreateViewMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.CreateViewRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogView>` |   |

### getDeleteBucketMethod()

    public static MethodDescriptor<DeleteBucketRequest,Empty> getDeleteBucketMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.DeleteBucketRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |   |

### getDeleteExclusionMethod()

    public static MethodDescriptor<DeleteExclusionRequest,Empty> getDeleteExclusionMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.DeleteExclusionRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |   |

### getDeleteLinkMethod()

    public static MethodDescriptor<DeleteLinkRequest,Operation> getDeleteLinkMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.DeleteLinkRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### getDeleteSinkMethod()

    public static MethodDescriptor<DeleteSinkRequest,Empty> getDeleteSinkMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.DeleteSinkRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |   |

### getDeleteViewMethod()

    public static MethodDescriptor<DeleteViewRequest,Empty> getDeleteViewMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.DeleteViewRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |   |

### getGetBucketMethod()

    public static MethodDescriptor<GetBucketRequest,LogBucket> getGetBucketMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.GetBucketRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogBucket>` |   |

### getGetCmekSettingsMethod()

    public static MethodDescriptor<GetCmekSettingsRequest,CmekSettings> getGetCmekSettingsMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.GetCmekSettingsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.CmekSettings>` |   |

### getGetExclusionMethod()

    public static MethodDescriptor<GetExclusionRequest,LogExclusion> getGetExclusionMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.GetExclusionRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogExclusion>` |   |

### getGetLinkMethod()

    public static MethodDescriptor<GetLinkRequest,Link> getGetLinkMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.GetLinkRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.Link>` |   |

### getGetSettingsMethod()

    public static MethodDescriptor<GetSettingsRequest,Settings> getGetSettingsMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.GetSettingsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.Settings>` |   |

### getGetSinkMethod()

    public static MethodDescriptor<GetSinkRequest,LogSink> getGetSinkMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.GetSinkRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogSink>` |   |

### getGetViewMethod()

    public static MethodDescriptor<GetViewRequest,LogView> getGetViewMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.GetViewRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogView>` |   |

### getListBucketsMethod()

    public static MethodDescriptor<ListBucketsRequest,ListBucketsResponse> getListBucketsMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListBucketsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListBucketsResponse>` |   |

### getListExclusionsMethod()

    public static MethodDescriptor<ListExclusionsRequest,ListExclusionsResponse> getListExclusionsMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListExclusionsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListExclusionsResponse>` |   |

### getListLinksMethod()

    public static MethodDescriptor<ListLinksRequest,ListLinksResponse> getListLinksMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListLinksRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListLinksResponse>` |   |

### getListSinksMethod()

    public static MethodDescriptor<ListSinksRequest,ListSinksResponse> getListSinksMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListSinksRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListSinksResponse>` |   |

### getListViewsMethod()

    public static MethodDescriptor<ListViewsRequest,ListViewsResponse> getListViewsMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListViewsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ListViewsResponse>` |   |

### getServiceDescriptor()

    public static ServiceDescriptor getServiceDescriptor()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.ServiceDescriptor` |   |

### getUndeleteBucketMethod()

    public static MethodDescriptor<UndeleteBucketRequest,Empty> getUndeleteBucketMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.UndeleteBucketRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |   |

### getUpdateBucketAsyncMethod()

    public static MethodDescriptor<UpdateBucketRequest,Operation> getUpdateBucketAsyncMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.UpdateBucketRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### getUpdateBucketMethod()

    public static MethodDescriptor<UpdateBucketRequest,LogBucket> getUpdateBucketMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.UpdateBucketRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogBucket>` |   |

### getUpdateCmekSettingsMethod()

    public static MethodDescriptor<UpdateCmekSettingsRequest,CmekSettings> getUpdateCmekSettingsMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.UpdateCmekSettingsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.CmekSettings>` |   |

### getUpdateExclusionMethod()

    public static MethodDescriptor<UpdateExclusionRequest,LogExclusion> getUpdateExclusionMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.UpdateExclusionRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogExclusion>` |   |

### getUpdateSettingsMethod()

    public static MethodDescriptor<UpdateSettingsRequest,Settings> getUpdateSettingsMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.UpdateSettingsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.Settings>` |   |

### getUpdateSinkMethod()

    public static MethodDescriptor<UpdateSinkRequest,LogSink> getUpdateSinkMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.UpdateSinkRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogSink>` |   |

### getUpdateViewMethod()

    public static MethodDescriptor<UpdateViewRequest,LogView> getUpdateViewMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.UpdateViewRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.LogView>` |   |

### newBlockingStub(Channel channel)

    public static ConfigServiceV2Grpc.ConfigServiceV2BlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `io.grpc.Channel` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ConfigServiceV2Grpc.ConfigServiceV2BlockingStub` |   |

### newBlockingV2Stub(Channel channel)

    public static ConfigServiceV2Grpc.ConfigServiceV2BlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `io.grpc.Channel` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ConfigServiceV2Grpc.ConfigServiceV2BlockingV2Stub` |   |

### newFutureStub(Channel channel)

    public static ConfigServiceV2Grpc.ConfigServiceV2FutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `io.grpc.Channel` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ConfigServiceV2Grpc.ConfigServiceV2FutureStub` |   |

### newStub(Channel channel)

    public static ConfigServiceV2Grpc.ConfigServiceV2Stub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `io.grpc.Channel` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-logging/latest/com.google.logging.v2.ConfigServiceV2Grpc.ConfigServiceV2Stub` |   |