Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

package com.google.cloud.eventarc.v1;

import static com.google.cloud.eventarc.v1.EventarcClient.ListChannelConnectionsPagedResponse;
import static com.google.cloud.eventarc.v1.EventarcClient.ListChannelsPagedResponse;
import static com.google.cloud.eventarc.v1.EventarcClient.ListTriggersPagedResponse;

import com.google.api.core.ApiFunction;
Expand Down Expand Up @@ -114,6 +116,89 @@ public UnaryCallSettings<DeleteTriggerRequest, Operation> deleteTriggerSettings(
return ((EventarcStubSettings) getStubSettings()).deleteTriggerOperationSettings();
}

/** Returns the object with the settings used for calls to getChannel. */
public UnaryCallSettings<GetChannelRequest, Channel> getChannelSettings() {
return ((EventarcStubSettings) getStubSettings()).getChannelSettings();
}

/** Returns the object with the settings used for calls to listChannels. */
public PagedCallSettings<ListChannelsRequest, ListChannelsResponse, ListChannelsPagedResponse>
listChannelsSettings() {
return ((EventarcStubSettings) getStubSettings()).listChannelsSettings();
}

/** Returns the object with the settings used for calls to createChannel. */
public UnaryCallSettings<CreateChannelRequest, Operation> createChannelSettings() {
return ((EventarcStubSettings) getStubSettings()).createChannelSettings();
}

/** Returns the object with the settings used for calls to createChannel. */
public OperationCallSettings<CreateChannelRequest, Channel, OperationMetadata>
createChannelOperationSettings() {
return ((EventarcStubSettings) getStubSettings()).createChannelOperationSettings();
}

/** Returns the object with the settings used for calls to updateChannel. */
public UnaryCallSettings<UpdateChannelRequest, Operation> updateChannelSettings() {
return ((EventarcStubSettings) getStubSettings()).updateChannelSettings();
}

/** Returns the object with the settings used for calls to updateChannel. */
public OperationCallSettings<UpdateChannelRequest, Channel, OperationMetadata>
updateChannelOperationSettings() {
return ((EventarcStubSettings) getStubSettings()).updateChannelOperationSettings();
}

/** Returns the object with the settings used for calls to deleteChannel. */
public UnaryCallSettings<DeleteChannelRequest, Operation> deleteChannelSettings() {
return ((EventarcStubSettings) getStubSettings()).deleteChannelSettings();
}

/** Returns the object with the settings used for calls to deleteChannel. */
public OperationCallSettings<DeleteChannelRequest, Channel, OperationMetadata>
deleteChannelOperationSettings() {
return ((EventarcStubSettings) getStubSettings()).deleteChannelOperationSettings();
}

/** Returns the object with the settings used for calls to getChannelConnection. */
public UnaryCallSettings<GetChannelConnectionRequest, ChannelConnection>
getChannelConnectionSettings() {
return ((EventarcStubSettings) getStubSettings()).getChannelConnectionSettings();
}

/** Returns the object with the settings used for calls to listChannelConnections. */
public PagedCallSettings<
ListChannelConnectionsRequest,
ListChannelConnectionsResponse,
ListChannelConnectionsPagedResponse>
listChannelConnectionsSettings() {
return ((EventarcStubSettings) getStubSettings()).listChannelConnectionsSettings();
}

/** Returns the object with the settings used for calls to createChannelConnection. */
public UnaryCallSettings<CreateChannelConnectionRequest, Operation>
createChannelConnectionSettings() {
return ((EventarcStubSettings) getStubSettings()).createChannelConnectionSettings();
}

/** Returns the object with the settings used for calls to createChannelConnection. */
public OperationCallSettings<CreateChannelConnectionRequest, ChannelConnection, OperationMetadata>
createChannelConnectionOperationSettings() {
return ((EventarcStubSettings) getStubSettings()).createChannelConnectionOperationSettings();
}

/** Returns the object with the settings used for calls to deleteChannelConnection. */
public UnaryCallSettings<DeleteChannelConnectionRequest, Operation>
deleteChannelConnectionSettings() {
return ((EventarcStubSettings) getStubSettings()).deleteChannelConnectionSettings();
}

/** Returns the object with the settings used for calls to deleteChannelConnection. */
public OperationCallSettings<DeleteChannelConnectionRequest, ChannelConnection, OperationMetadata>
deleteChannelConnectionOperationSettings() {
return ((EventarcStubSettings) getStubSettings()).deleteChannelConnectionOperationSettings();
}

public static final EventarcSettings create(EventarcStubSettings stub) throws IOException {
return new EventarcSettings.Builder(stub.toBuilder()).build();
}
Expand Down Expand Up @@ -255,6 +340,92 @@ public UnaryCallSettings.Builder<DeleteTriggerRequest, Operation> deleteTriggerS
return getStubSettingsBuilder().deleteTriggerOperationSettings();
}

/** Returns the builder for the settings used for calls to getChannel. */
public UnaryCallSettings.Builder<GetChannelRequest, Channel> getChannelSettings() {
return getStubSettingsBuilder().getChannelSettings();
}

/** Returns the builder for the settings used for calls to listChannels. */
public PagedCallSettings.Builder<
ListChannelsRequest, ListChannelsResponse, ListChannelsPagedResponse>
listChannelsSettings() {
return getStubSettingsBuilder().listChannelsSettings();
}

/** Returns the builder for the settings used for calls to createChannel. */
public UnaryCallSettings.Builder<CreateChannelRequest, Operation> createChannelSettings() {
return getStubSettingsBuilder().createChannelSettings();
}

/** Returns the builder for the settings used for calls to createChannel. */
public OperationCallSettings.Builder<CreateChannelRequest, Channel, OperationMetadata>
createChannelOperationSettings() {
return getStubSettingsBuilder().createChannelOperationSettings();
}

/** Returns the builder for the settings used for calls to updateChannel. */
public UnaryCallSettings.Builder<UpdateChannelRequest, Operation> updateChannelSettings() {
return getStubSettingsBuilder().updateChannelSettings();
}

/** Returns the builder for the settings used for calls to updateChannel. */
public OperationCallSettings.Builder<UpdateChannelRequest, Channel, OperationMetadata>
updateChannelOperationSettings() {
return getStubSettingsBuilder().updateChannelOperationSettings();
}

/** Returns the builder for the settings used for calls to deleteChannel. */
public UnaryCallSettings.Builder<DeleteChannelRequest, Operation> deleteChannelSettings() {
return getStubSettingsBuilder().deleteChannelSettings();
}

/** Returns the builder for the settings used for calls to deleteChannel. */
public OperationCallSettings.Builder<DeleteChannelRequest, Channel, OperationMetadata>
deleteChannelOperationSettings() {
return getStubSettingsBuilder().deleteChannelOperationSettings();
}

/** Returns the builder for the settings used for calls to getChannelConnection. */
public UnaryCallSettings.Builder<GetChannelConnectionRequest, ChannelConnection>
getChannelConnectionSettings() {
return getStubSettingsBuilder().getChannelConnectionSettings();
}

/** Returns the builder for the settings used for calls to listChannelConnections. */
public PagedCallSettings.Builder<
ListChannelConnectionsRequest,
ListChannelConnectionsResponse,
ListChannelConnectionsPagedResponse>
listChannelConnectionsSettings() {
return getStubSettingsBuilder().listChannelConnectionsSettings();
}

/** Returns the builder for the settings used for calls to createChannelConnection. */
public UnaryCallSettings.Builder<CreateChannelConnectionRequest, Operation>
createChannelConnectionSettings() {
return getStubSettingsBuilder().createChannelConnectionSettings();
}

/** Returns the builder for the settings used for calls to createChannelConnection. */
public OperationCallSettings.Builder<
CreateChannelConnectionRequest, ChannelConnection, OperationMetadata>
createChannelConnectionOperationSettings() {
return getStubSettingsBuilder().createChannelConnectionOperationSettings();
}

/** Returns the builder for the settings used for calls to deleteChannelConnection. */
public UnaryCallSettings.Builder<DeleteChannelConnectionRequest, Operation>
deleteChannelConnectionSettings() {
return getStubSettingsBuilder().deleteChannelConnectionSettings();
}

/** Returns the builder for the settings used for calls to deleteChannelConnection. */
public OperationCallSettings.Builder<
DeleteChannelConnectionRequest, ChannelConnection, OperationMetadata>
deleteChannelConnectionOperationSettings() {
return getStubSettingsBuilder().deleteChannelConnectionOperationSettings();
}

@Override
public EventarcSettings build() throws IOException {
return new EventarcSettings(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,45 @@
"grpc": {
"libraryClient": "EventarcClient",
"rpcs": {
"CreateChannel": {
"methods": ["createChannelAsync", "createChannelAsync", "createChannelAsync", "createChannelOperationCallable", "createChannelCallable"]
},
"CreateChannelConnection": {
"methods": ["createChannelConnectionAsync", "createChannelConnectionAsync", "createChannelConnectionAsync", "createChannelConnectionOperationCallable", "createChannelConnectionCallable"]
},
"CreateTrigger": {
"methods": ["createTriggerAsync", "createTriggerAsync", "createTriggerAsync", "createTriggerOperationCallable", "createTriggerCallable"]
},
"DeleteChannel": {
"methods": ["deleteChannelAsync", "deleteChannelAsync", "deleteChannelAsync", "deleteChannelOperationCallable", "deleteChannelCallable"]
},
"DeleteChannelConnection": {
"methods": ["deleteChannelConnectionAsync", "deleteChannelConnectionAsync", "deleteChannelConnectionAsync", "deleteChannelConnectionOperationCallable", "deleteChannelConnectionCallable"]
},
"DeleteTrigger": {
"methods": ["deleteTriggerAsync", "deleteTriggerAsync", "deleteTriggerAsync", "deleteTriggerOperationCallable", "deleteTriggerCallable"]
},
"GetChannel": {
"methods": ["getChannel", "getChannel", "getChannel", "getChannelCallable"]
},
"GetChannelConnection": {
"methods": ["getChannelConnection", "getChannelConnection", "getChannelConnection", "getChannelConnectionCallable"]
},
"GetTrigger": {
"methods": ["getTrigger", "getTrigger", "getTrigger", "getTriggerCallable"]
},
"ListChannelConnections": {
"methods": ["listChannelConnections", "listChannelConnections", "listChannelConnections", "listChannelConnectionsPagedCallable", "listChannelConnectionsCallable"]
},
"ListChannels": {
"methods": ["listChannels", "listChannels", "listChannels", "listChannelsPagedCallable", "listChannelsCallable"]
},
"ListTriggers": {
"methods": ["listTriggers", "listTriggers", "listTriggers", "listTriggersPagedCallable", "listTriggersCallable"]
},
"UpdateChannel": {
"methods": ["updateChannelAsync", "updateChannelAsync", "updateChannelOperationCallable", "updateChannelCallable"]
},
"UpdateTrigger": {
"methods": ["updateTriggerAsync", "updateTriggerAsync", "updateTriggerOperationCallable", "updateTriggerCallable"]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

/**
* The interfaces provided are listed below, along with usage samples.
* A client to Eventarc API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= EventarcClient =======================
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,33 @@

package com.google.cloud.eventarc.v1.stub;

import static com.google.cloud.eventarc.v1.EventarcClient.ListChannelConnectionsPagedResponse;
import static com.google.cloud.eventarc.v1.EventarcClient.ListChannelsPagedResponse;
import static com.google.cloud.eventarc.v1.EventarcClient.ListTriggersPagedResponse;

import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.eventarc.v1.Channel;
import com.google.cloud.eventarc.v1.ChannelConnection;
import com.google.cloud.eventarc.v1.CreateChannelConnectionRequest;
import com.google.cloud.eventarc.v1.CreateChannelRequest;
import com.google.cloud.eventarc.v1.CreateTriggerRequest;
import com.google.cloud.eventarc.v1.DeleteChannelConnectionRequest;
import com.google.cloud.eventarc.v1.DeleteChannelRequest;
import com.google.cloud.eventarc.v1.DeleteTriggerRequest;
import com.google.cloud.eventarc.v1.GetChannelConnectionRequest;
import com.google.cloud.eventarc.v1.GetChannelRequest;
import com.google.cloud.eventarc.v1.GetTriggerRequest;
import com.google.cloud.eventarc.v1.ListChannelConnectionsRequest;
import com.google.cloud.eventarc.v1.ListChannelConnectionsResponse;
import com.google.cloud.eventarc.v1.ListChannelsRequest;
import com.google.cloud.eventarc.v1.ListChannelsResponse;
import com.google.cloud.eventarc.v1.ListTriggersRequest;
import com.google.cloud.eventarc.v1.ListTriggersResponse;
import com.google.cloud.eventarc.v1.OperationMetadata;
import com.google.cloud.eventarc.v1.Trigger;
import com.google.cloud.eventarc.v1.UpdateChannelRequest;
import com.google.cloud.eventarc.v1.UpdateTriggerRequest;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
Expand Down Expand Up @@ -85,6 +100,83 @@ public UnaryCallable<DeleteTriggerRequest, Operation> deleteTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: deleteTriggerCallable()");
}

public UnaryCallable<GetChannelRequest, Channel> getChannelCallable() {
throw new UnsupportedOperationException("Not implemented: getChannelCallable()");
}

public UnaryCallable<ListChannelsRequest, ListChannelsPagedResponse> listChannelsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listChannelsPagedCallable()");
}

public UnaryCallable<ListChannelsRequest, ListChannelsResponse> listChannelsCallable() {
throw new UnsupportedOperationException("Not implemented: listChannelsCallable()");
}

public OperationCallable<CreateChannelRequest, Channel, OperationMetadata>
createChannelOperationCallable() {
throw new UnsupportedOperationException("Not implemented: createChannelOperationCallable()");
}

public UnaryCallable<CreateChannelRequest, Operation> createChannelCallable() {
throw new UnsupportedOperationException("Not implemented: createChannelCallable()");
}

public OperationCallable<UpdateChannelRequest, Channel, OperationMetadata>
updateChannelOperationCallable() {
throw new UnsupportedOperationException("Not implemented: updateChannelOperationCallable()");
}

public UnaryCallable<UpdateChannelRequest, Operation> updateChannelCallable() {
throw new UnsupportedOperationException("Not implemented: updateChannelCallable()");
}

public OperationCallable<DeleteChannelRequest, Channel, OperationMetadata>
deleteChannelOperationCallable() {
throw new UnsupportedOperationException("Not implemented: deleteChannelOperationCallable()");
}

public UnaryCallable<DeleteChannelRequest, Operation> deleteChannelCallable() {
throw new UnsupportedOperationException("Not implemented: deleteChannelCallable()");
}

public UnaryCallable<GetChannelConnectionRequest, ChannelConnection>
getChannelConnectionCallable() {
throw new UnsupportedOperationException("Not implemented: getChannelConnectionCallable()");
}

public UnaryCallable<ListChannelConnectionsRequest, ListChannelConnectionsPagedResponse>
listChannelConnectionsPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listChannelConnectionsPagedCallable()");
}

public UnaryCallable<ListChannelConnectionsRequest, ListChannelConnectionsResponse>
listChannelConnectionsCallable() {
throw new UnsupportedOperationException("Not implemented: listChannelConnectionsCallable()");
}

public OperationCallable<CreateChannelConnectionRequest, ChannelConnection, OperationMetadata>
createChannelConnectionOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: createChannelConnectionOperationCallable()");
}

public UnaryCallable<CreateChannelConnectionRequest, Operation>
createChannelConnectionCallable() {
throw new UnsupportedOperationException("Not implemented: createChannelConnectionCallable()");
}

public OperationCallable<DeleteChannelConnectionRequest, ChannelConnection, OperationMetadata>
deleteChannelConnectionOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteChannelConnectionOperationCallable()");
}

public UnaryCallable<DeleteChannelConnectionRequest, Operation>
deleteChannelConnectionCallable() {
throw new UnsupportedOperationException("Not implemented: deleteChannelConnectionCallable()");
}

@Override
public abstract void close();
}
Loading