Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #105 from domesticmouse/master
Browse files Browse the repository at this point in the history
Re-run fetch_protos_and_generate_dart.sh
  • Loading branch information
domesticmouse authored Jun 6, 2019
2 parents 1baabab + caa34ab commit 3febd9c
Show file tree
Hide file tree
Showing 223 changed files with 7,356 additions and 1,353 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import '../../../protobuf/timestamp.pb.dart' as $3;
import '../../../protobuf/field_mask.pb.dart' as $4;

import 'clusters.pbenum.dart';
import 'shared.pbenum.dart' as $5;

export 'clusters.pbenum.dart';

Expand Down Expand Up @@ -691,6 +692,8 @@ class SoftwareConfig extends $pb.GeneratedMessage {
null,
null,
const $pb.PackageName('google.cloud.dataproc.v1'))
..pc<$5.Component>(3, 'optionalComponents', $pb.PbFieldType.PE, null,
$5.Component.valueOf, $5.Component.values)
..hasRequiredFields = false;

SoftwareConfig() : super();
Expand Down Expand Up @@ -720,6 +723,8 @@ class SoftwareConfig extends $pb.GeneratedMessage {
void clearImageVersion() => clearField(1);

$core.Map<$core.String, $core.String> get properties => $_getMap(1);

$core.List<$5.Component> get optionalComponents => $_getList(2);
}

class ClusterMetrics extends $pb.GeneratedMessage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,14 @@ const SoftwareConfig$json = {
'6': '.google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntry',
'10': 'properties'
},
{
'1': 'optional_components',
'3': 3,
'4': 3,
'5': 14,
'6': '.google.cloud.dataproc.v1.Component',
'10': 'optionalComponents'
},
],
'3': [SoftwareConfig_PropertiesEntry$json],
};
Expand Down
10 changes: 10 additions & 0 deletions lib/src/grpc_api/dart/google/cloud/dataproc/v1/shared.pb.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
///
// Generated code. Do not modify.
// source: google/cloud/dataproc/v1/shared.proto
///
// ignore_for_file: camel_case_types,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name

import 'dart:core' as $core
show bool, Deprecated, double, int, List, Map, override, String;

export 'shared.pbenum.dart';
32 changes: 32 additions & 0 deletions lib/src/grpc_api/dart/google/cloud/dataproc/v1/shared.pbenum.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
///
// Generated code. Do not modify.
// source: google/cloud/dataproc/v1/shared.proto
///
// ignore_for_file: camel_case_types,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name

// ignore_for_file: UNDEFINED_SHOWN_NAME,UNUSED_SHOWN_NAME
import 'dart:core' as $core show int, dynamic, String, List, Map;
import 'package:protobuf/protobuf.dart' as $pb;

class Component extends $pb.ProtobufEnum {
static const Component COMPONENT_UNSPECIFIED =
Component._(0, 'COMPONENT_UNSPECIFIED');
static const Component ANACONDA = Component._(5, 'ANACONDA');
static const Component HIVE_WEBHCAT = Component._(3, 'HIVE_WEBHCAT');
static const Component JUPYTER = Component._(1, 'JUPYTER');
static const Component ZEPPELIN = Component._(4, 'ZEPPELIN');

static const $core.List<Component> values = <Component>[
COMPONENT_UNSPECIFIED,
ANACONDA,
HIVE_WEBHCAT,
JUPYTER,
ZEPPELIN,
];

static final $core.Map<$core.int, Component> _byValue =
$pb.ProtobufEnum.initByValue(values);
static Component valueOf($core.int value) => _byValue[value];

const Component._($core.int v, $core.String n) : super(v, n);
}
16 changes: 16 additions & 0 deletions lib/src/grpc_api/dart/google/cloud/dataproc/v1/shared.pbjson.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
///
// Generated code. Do not modify.
// source: google/cloud/dataproc/v1/shared.proto
///
// ignore_for_file: camel_case_types,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name

const Component$json = {
'1': 'Component',
'2': [
{'1': 'COMPONENT_UNSPECIFIED', '2': 0},
{'1': 'ANACONDA', '2': 5},
{'1': 'HIVE_WEBHCAT', '2': 3},
{'1': 'JUPYTER', '2': 1},
{'1': 'ZEPPELIN', '2': 4},
],
};
256 changes: 256 additions & 0 deletions lib/src/grpc_api/dart/google/cloud/redis/v1/cloud_redis.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class Instance extends $pb.GeneratedMessage {
Instance_Tier.values)
..a<$core.int>(18, 'memorySizeGb', $pb.PbFieldType.O3)
..aOS(20, 'authorizedNetwork')
..aOS(21, 'persistenceIamIdentity')
..hasRequiredFields = false;

Instance() : super();
Expand Down Expand Up @@ -209,6 +210,14 @@ class Instance extends $pb.GeneratedMessage {

$core.bool hasAuthorizedNetwork() => $_has(16);
void clearAuthorizedNetwork() => clearField(20);

$core.String get persistenceIamIdentity => $_getS(17, '');
set persistenceIamIdentity($core.String v) {
$_setString(17, v);
}

$core.bool hasPersistenceIamIdentity() => $_has(17);
void clearPersistenceIamIdentity() => clearField(21);
}

class ListInstancesRequest extends $pb.GeneratedMessage {
Expand Down Expand Up @@ -478,6 +487,253 @@ class DeleteInstanceRequest extends $pb.GeneratedMessage {
void clearName() => clearField(1);
}

class GcsSource extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo('GcsSource',
package: const $pb.PackageName('google.cloud.redis.v1'))
..aOS(1, 'uri')
..hasRequiredFields = false;

GcsSource() : super();
GcsSource.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromBuffer(i, r);
GcsSource.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromJson(i, r);
GcsSource clone() => GcsSource()..mergeFromMessage(this);
GcsSource copyWith(void Function(GcsSource) updates) =>
super.copyWith((message) => updates(message as GcsSource));
$pb.BuilderInfo get info_ => _i;
static GcsSource create() => GcsSource();
GcsSource createEmptyInstance() => create();
static $pb.PbList<GcsSource> createRepeated() => $pb.PbList<GcsSource>();
static GcsSource getDefault() => _defaultInstance ??= create()..freeze();
static GcsSource _defaultInstance;

$core.String get uri => $_getS(0, '');
set uri($core.String v) {
$_setString(0, v);
}

$core.bool hasUri() => $_has(0);
void clearUri() => clearField(1);
}

enum InputConfig_Source { gcsSource, notSet }

class InputConfig extends $pb.GeneratedMessage {
static const $core.Map<$core.int, InputConfig_Source>
_InputConfig_SourceByTag = {
1: InputConfig_Source.gcsSource,
0: InputConfig_Source.notSet
};
static final $pb.BuilderInfo _i = $pb.BuilderInfo('InputConfig',
package: const $pb.PackageName('google.cloud.redis.v1'))
..a<GcsSource>(1, 'gcsSource', $pb.PbFieldType.OM, GcsSource.getDefault,
GcsSource.create)
..oo(0, [1])
..hasRequiredFields = false;

InputConfig() : super();
InputConfig.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromBuffer(i, r);
InputConfig.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromJson(i, r);
InputConfig clone() => InputConfig()..mergeFromMessage(this);
InputConfig copyWith(void Function(InputConfig) updates) =>
super.copyWith((message) => updates(message as InputConfig));
$pb.BuilderInfo get info_ => _i;
static InputConfig create() => InputConfig();
InputConfig createEmptyInstance() => create();
static $pb.PbList<InputConfig> createRepeated() => $pb.PbList<InputConfig>();
static InputConfig getDefault() => _defaultInstance ??= create()..freeze();
static InputConfig _defaultInstance;

InputConfig_Source whichSource() => _InputConfig_SourceByTag[$_whichOneof(0)];
void clearSource() => clearField($_whichOneof(0));

GcsSource get gcsSource => $_getN(0);
set gcsSource(GcsSource v) {
setField(1, v);
}

$core.bool hasGcsSource() => $_has(0);
void clearGcsSource() => clearField(1);
}

class ImportInstanceRequest extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo('ImportInstanceRequest',
package: const $pb.PackageName('google.cloud.redis.v1'))
..aOS(1, 'name')
..a<InputConfig>(3, 'inputConfig', $pb.PbFieldType.OM,
InputConfig.getDefault, InputConfig.create)
..hasRequiredFields = false;

ImportInstanceRequest() : super();
ImportInstanceRequest.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromBuffer(i, r);
ImportInstanceRequest.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromJson(i, r);
ImportInstanceRequest clone() =>
ImportInstanceRequest()..mergeFromMessage(this);
ImportInstanceRequest copyWith(
void Function(ImportInstanceRequest) updates) =>
super.copyWith((message) => updates(message as ImportInstanceRequest));
$pb.BuilderInfo get info_ => _i;
static ImportInstanceRequest create() => ImportInstanceRequest();
ImportInstanceRequest createEmptyInstance() => create();
static $pb.PbList<ImportInstanceRequest> createRepeated() =>
$pb.PbList<ImportInstanceRequest>();
static ImportInstanceRequest getDefault() =>
_defaultInstance ??= create()..freeze();
static ImportInstanceRequest _defaultInstance;

$core.String get name => $_getS(0, '');
set name($core.String v) {
$_setString(0, v);
}

$core.bool hasName() => $_has(0);
void clearName() => clearField(1);

InputConfig get inputConfig => $_getN(1);
set inputConfig(InputConfig v) {
setField(3, v);
}

$core.bool hasInputConfig() => $_has(1);
void clearInputConfig() => clearField(3);
}

class GcsDestination extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo('GcsDestination',
package: const $pb.PackageName('google.cloud.redis.v1'))
..aOS(1, 'uri')
..hasRequiredFields = false;

GcsDestination() : super();
GcsDestination.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromBuffer(i, r);
GcsDestination.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromJson(i, r);
GcsDestination clone() => GcsDestination()..mergeFromMessage(this);
GcsDestination copyWith(void Function(GcsDestination) updates) =>
super.copyWith((message) => updates(message as GcsDestination));
$pb.BuilderInfo get info_ => _i;
static GcsDestination create() => GcsDestination();
GcsDestination createEmptyInstance() => create();
static $pb.PbList<GcsDestination> createRepeated() =>
$pb.PbList<GcsDestination>();
static GcsDestination getDefault() => _defaultInstance ??= create()..freeze();
static GcsDestination _defaultInstance;

$core.String get uri => $_getS(0, '');
set uri($core.String v) {
$_setString(0, v);
}

$core.bool hasUri() => $_has(0);
void clearUri() => clearField(1);
}

enum OutputConfig_Destination { gcsDestination, notSet }

class OutputConfig extends $pb.GeneratedMessage {
static const $core.Map<$core.int, OutputConfig_Destination>
_OutputConfig_DestinationByTag = {
1: OutputConfig_Destination.gcsDestination,
0: OutputConfig_Destination.notSet
};
static final $pb.BuilderInfo _i = $pb.BuilderInfo('OutputConfig',
package: const $pb.PackageName('google.cloud.redis.v1'))
..a<GcsDestination>(1, 'gcsDestination', $pb.PbFieldType.OM,
GcsDestination.getDefault, GcsDestination.create)
..oo(0, [1])
..hasRequiredFields = false;

OutputConfig() : super();
OutputConfig.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromBuffer(i, r);
OutputConfig.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromJson(i, r);
OutputConfig clone() => OutputConfig()..mergeFromMessage(this);
OutputConfig copyWith(void Function(OutputConfig) updates) =>
super.copyWith((message) => updates(message as OutputConfig));
$pb.BuilderInfo get info_ => _i;
static OutputConfig create() => OutputConfig();
OutputConfig createEmptyInstance() => create();
static $pb.PbList<OutputConfig> createRepeated() =>
$pb.PbList<OutputConfig>();
static OutputConfig getDefault() => _defaultInstance ??= create()..freeze();
static OutputConfig _defaultInstance;

OutputConfig_Destination whichDestination() =>
_OutputConfig_DestinationByTag[$_whichOneof(0)];
void clearDestination() => clearField($_whichOneof(0));

GcsDestination get gcsDestination => $_getN(0);
set gcsDestination(GcsDestination v) {
setField(1, v);
}

$core.bool hasGcsDestination() => $_has(0);
void clearGcsDestination() => clearField(1);
}

class ExportInstanceRequest extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo('ExportInstanceRequest',
package: const $pb.PackageName('google.cloud.redis.v1'))
..aOS(1, 'name')
..a<OutputConfig>(3, 'outputConfig', $pb.PbFieldType.OM,
OutputConfig.getDefault, OutputConfig.create)
..hasRequiredFields = false;

ExportInstanceRequest() : super();
ExportInstanceRequest.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromBuffer(i, r);
ExportInstanceRequest.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
: super.fromJson(i, r);
ExportInstanceRequest clone() =>
ExportInstanceRequest()..mergeFromMessage(this);
ExportInstanceRequest copyWith(
void Function(ExportInstanceRequest) updates) =>
super.copyWith((message) => updates(message as ExportInstanceRequest));
$pb.BuilderInfo get info_ => _i;
static ExportInstanceRequest create() => ExportInstanceRequest();
ExportInstanceRequest createEmptyInstance() => create();
static $pb.PbList<ExportInstanceRequest> createRepeated() =>
$pb.PbList<ExportInstanceRequest>();
static ExportInstanceRequest getDefault() =>
_defaultInstance ??= create()..freeze();
static ExportInstanceRequest _defaultInstance;

$core.String get name => $_getS(0, '');
set name($core.String v) {
$_setString(0, v);
}

$core.bool hasName() => $_has(0);
void clearName() => clearField(1);

OutputConfig get outputConfig => $_getN(1);
set outputConfig(OutputConfig v) {
setField(3, v);
}

$core.bool hasOutputConfig() => $_has(1);
void clearOutputConfig() => clearField(3);
}

class FailoverInstanceRequest extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo('FailoverInstanceRequest',
package: const $pb.PackageName('google.cloud.redis.v1'))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Instance_State extends $pb.ProtobufEnum {
static const Instance_State DELETING = Instance_State._(4, 'DELETING');
static const Instance_State REPAIRING = Instance_State._(5, 'REPAIRING');
static const Instance_State MAINTENANCE = Instance_State._(6, 'MAINTENANCE');
static const Instance_State IMPORTING = Instance_State._(8, 'IMPORTING');
static const Instance_State FAILING_OVER =
Instance_State._(9, 'FAILING_OVER');

Expand All @@ -28,6 +29,7 @@ class Instance_State extends $pb.ProtobufEnum {
DELETING,
REPAIRING,
MAINTENANCE,
IMPORTING,
FAILING_OVER,
];

Expand Down
Loading

0 comments on commit 3febd9c

Please sign in to comment.