-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCreateTopicsOptions.cs
137 lines (117 loc) · 5.84 KB
/
CreateTopicsOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/*
* Copyright 2024 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Refer to LICENSE for more information.
*/
/*
* This file is generated by MASES.JNetReflector (ver. 2.5.11.0)
* using kafka-clients-3.9.0.jar as reference
*/
using MASES.JCOBridge.C2JBridge;
namespace Org.Apache.Kafka.Clients.Admin
{
#region CreateTopicsOptions declaration
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.kafka/kafka-clients/3.9.0/org/apache/kafka/clients/admin/CreateTopicsOptions.html"/>
/// </summary>
public partial class CreateTopicsOptions : Org.Apache.Kafka.Clients.Admin.AbstractOptions<Org.Apache.Kafka.Clients.Admin.CreateTopicsOptions>
{
const string _bridgeClassName = "org.apache.kafka.clients.admin.CreateTopicsOptions";
/// <summary>
/// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
/// </summary>
public CreateTopicsOptions() { }
/// <summary>
/// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
/// </summary>
public CreateTopicsOptions(params object[] args) : base(args) { }
private static readonly MASES.JCOBridge.C2JBridge.JVMInterop.IJavaType _LocalBridgeClazz = JVMBridgeBase.ClazzOf(_bridgeClassName);
private static MASES.JCOBridge.C2JBridge.JVMInterop.IJavaType LocalBridgeClazz => _LocalBridgeClazz ?? throw new global::System.InvalidOperationException($"Class {_bridgeClassName} was not found.");
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm"/>
/// </summary>
public override string BridgeClassName => _bridgeClassName;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeAbstract.htm"/>
/// </summary>
public override bool IsBridgeAbstract => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeCloseable.htm"/>
/// </summary>
public override bool IsBridgeCloseable => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeInterface.htm"/>
/// </summary>
public override bool IsBridgeInterface => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeStatic.htm"/>
/// </summary>
public override bool IsBridgeStatic => false;
// TODO: complete the class
}
#endregion
#region CreateTopicsOptions implementation
public partial class CreateTopicsOptions
{
#region Constructors
#endregion
#region Class/Interface conversion operators
#endregion
#region Fields
#endregion
#region Static methods
#endregion
#region Instance methods
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.kafka/kafka-clients/3.9.0/org/apache/kafka/clients/admin/CreateTopicsOptions.html#shouldRetryOnQuotaViolation--"/>
/// </summary>
/// <returns><see cref="bool"/></returns>
public bool ShouldRetryOnQuotaViolation()
{
return IExecuteWithSignature<bool>("shouldRetryOnQuotaViolation", "()Z");
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.kafka/kafka-clients/3.9.0/org/apache/kafka/clients/admin/CreateTopicsOptions.html#shouldValidateOnly--"/>
/// </summary>
/// <returns><see cref="bool"/></returns>
public bool ShouldValidateOnly()
{
return IExecuteWithSignature<bool>("shouldValidateOnly", "()Z");
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.kafka/kafka-clients/3.9.0/org/apache/kafka/clients/admin/CreateTopicsOptions.html#retryOnQuotaViolation-boolean-"/>
/// </summary>
/// <param name="arg0"><see cref="bool"/></param>
/// <returns><see cref="Org.Apache.Kafka.Clients.Admin.CreateTopicsOptions"/></returns>
public Org.Apache.Kafka.Clients.Admin.CreateTopicsOptions RetryOnQuotaViolation(bool arg0)
{
return IExecuteWithSignature<Org.Apache.Kafka.Clients.Admin.CreateTopicsOptions>("retryOnQuotaViolation", "(Z)Lorg/apache/kafka/clients/admin/CreateTopicsOptions;", arg0);
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.kafka/kafka-clients/3.9.0/org/apache/kafka/clients/admin/CreateTopicsOptions.html#validateOnly-boolean-"/>
/// </summary>
/// <param name="arg0"><see cref="bool"/></param>
/// <returns><see cref="Org.Apache.Kafka.Clients.Admin.CreateTopicsOptions"/></returns>
public Org.Apache.Kafka.Clients.Admin.CreateTopicsOptions ValidateOnly(bool arg0)
{
return IExecuteWithSignature<Org.Apache.Kafka.Clients.Admin.CreateTopicsOptions>("validateOnly", "(Z)Lorg/apache/kafka/clients/admin/CreateTopicsOptions;", arg0);
}
#endregion
#region Nested classes
#endregion
// TODO: complete the class
}
#endregion
}