Skip to content

Commit

Permalink
Re-generate library using /synth.py (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpebot authored and chingor13 committed Oct 12, 2018
1 parent 474a1e2 commit 7672a16
Show file tree
Hide file tree
Showing 86 changed files with 11,560 additions and 1,535 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ public final class AccountStatusAccountLevelIssue extends com.google.api.client.
@com.google.api.client.util.Key
private java.lang.String detail;

/**
* The URL of a web page to help resolving this issue.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String documentation;

/**
* Issue identifier.
* The value may be {@code null}.
Expand Down Expand Up @@ -123,6 +130,23 @@ public AccountStatusAccountLevelIssue setDetail(java.lang.String detail) {
return this;
}

/**
* The URL of a web page to help resolving this issue.
* @return value or {@code null} for none
*/
public java.lang.String getDocumentation() {
return documentation;
}

/**
* The URL of a web page to help resolving this issue.
* @param documentation documentation or {@code null} for none
*/
public AccountStatusAccountLevelIssue setDocumentation(java.lang.String documentation) {
this.documentation = documentation;
return this;
}

/**
* Issue identifier.
* @return value or {@code null} for none
Expand Down
4 changes: 2 additions & 2 deletions clients/1.26.0/google-api-services-content/v2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-content</artifactId>
<version>v2-rev20181002-1.26.0-SNAPSHOT</version>
<name>Content API for Shopping v2-rev20181002-1.26.0-SNAPSHOT</name>
<version>v2-rev20181009-1.26.0-SNAPSHOT</version>
<name>Content API for Shopping v2-rev20181009-1.26.0-SNAPSHOT</name>
<packaging>pom</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4321,6 +4321,8 @@ public class Contexts {
/**
* Creates a context.
*
* If the specified context already exists, overrides the context.
*
* Create a request for the method "contexts.create".
*
* This request holds the parameters needed by the dialogflow server. After setting any optional
Expand All @@ -4347,6 +4349,8 @@ public class Create extends DialogflowRequest<com.google.dialogflow.v2.model.Goo
/**
* Creates a context.
*
* If the specified context already exists, overrides the context.
*
* Create a request for the method "contexts.create".
*
* This request holds the parameters needed by the the dialogflow server. After setting any
Expand Down Expand Up @@ -5098,6 +5102,8 @@ public class EntityTypes {
/**
* Creates a session entity type.
*
* If the specified session entity type already exists, overrides the session entity type.
*
* Create a request for the method "entityTypes.create".
*
* This request holds the parameters needed by the dialogflow server. After setting any optional
Expand All @@ -5124,6 +5130,8 @@ public class Create extends DialogflowRequest<com.google.dialogflow.v2.model.Goo
/**
* Creates a session entity type.
*
* If the specified session entity type already exists, overrides the session entity type.
*
* Create a request for the method "entityTypes.create".
*
* This request holds the parameters needed by the the dialogflow server. After setting any
Expand Down Expand Up @@ -5711,6 +5719,9 @@ public List set(String parameterName, Object value) {
*
* @param name Required. The unique identifier of this session entity type. Format:
* `projects//agent/sessions//entityTypes/`.
`` must be the display name of an existing
* entity
type in the same agent that will be overridden or supplemented.
* @param content the {@link com.google.dialogflow.v2.model.GoogleCloudDialogflowV2SessionEntityType}
* @return the request
*/
Expand Down Expand Up @@ -5740,6 +5751,9 @@ public class Patch extends DialogflowRequest<com.google.dialogflow.v2.model.Goog
*
* @param name Required. The unique identifier of this session entity type. Format:
* `projects//agent/sessions//entityTypes/`.
`` must be the display name of an existing
* entity
type in the same agent that will be overridden or supplemented.
* @param content the {@link com.google.dialogflow.v2.model.GoogleCloudDialogflowV2SessionEntityType}
* @since 1.13
*/
Expand Down Expand Up @@ -5811,12 +5825,18 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
/**
* Required. The unique identifier of this session entity type. Format:
* `projects//agent/sessions//entityTypes/`.
*
* `` must be the display name of an existing entity type in the same agent that will be
* overridden or supplemented.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/** Required. The unique identifier of this session entity type. Format:
`projects//agent/sessions//entityTypes/`.
`` must be the display name of an existing entity type in the same agent that will be overridden or
supplemented.
*/
public java.lang.String getName() {
return name;
Expand All @@ -5825,6 +5845,9 @@ public java.lang.String getName() {
/**
* Required. The unique identifier of this session entity type. Format:
* `projects//agent/sessions//entityTypes/`.
*
* `` must be the display name of an existing entity type in the same agent that will be
* overridden or supplemented.
*/
public Patch setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public final class GoogleCloudDialogflowV2Context extends com.google.api.client.

/**
* Optional. The number of conversational query requests after which the context expires. If set
* to `0` (the default) the context expires immediately. Contexts expire automatically after 10
* to `0` (the default) the context expires immediately. Contexts expire automatically after 20
* minutes even if there are no matching queries.
* The value may be {@code null}.
*/
Expand All @@ -55,7 +55,7 @@ public final class GoogleCloudDialogflowV2Context extends com.google.api.client.

/**
* Optional. The number of conversational query requests after which the context expires. If set
* to `0` (the default) the context expires immediately. Contexts expire automatically after 10
* to `0` (the default) the context expires immediately. Contexts expire automatically after 20
* minutes even if there are no matching queries.
* @return value or {@code null} for none
*/
Expand All @@ -65,7 +65,7 @@ public java.lang.Integer getLifespanCount() {

/**
* Optional. The number of conversational query requests after which the context expires. If set
* to `0` (the default) the context expires immediately. Contexts expire automatically after 10
* to `0` (the default) the context expires immediately. Contexts expire automatically after 20
* minutes even if there are no matching queries.
* @param lifespanCount lifespanCount or {@code null} for none
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public final class GoogleCloudDialogflowV2EntityType extends com.google.api.clie
private java.lang.String autoExpansionMode;

/**
* Required. The name of the entity.
* Required. The name of the entity type.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -90,15 +90,15 @@ public GoogleCloudDialogflowV2EntityType setAutoExpansionMode(java.lang.String a
}

/**
* Required. The name of the entity.
* Required. The name of the entity type.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}

/**
* Required. The name of the entity.
* Required. The name of the entity type.
* @param displayName displayName or {@code null} for none
*/
public GoogleCloudDialogflowV2EntityType setDisplayName(java.lang.String displayName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ public final class GoogleCloudDialogflowV2IntentMessageCarouselSelect extends co
@com.google.api.client.util.Key
private java.util.List<GoogleCloudDialogflowV2IntentMessageCarouselSelectItem> items;

static {
// hack to force ProGuard to consider GoogleCloudDialogflowV2IntentMessageCarouselSelectItem used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(GoogleCloudDialogflowV2IntentMessageCarouselSelectItem.class);
}

/**
* Required. Carousel items.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ public final class GoogleCloudDialogflowV2IntentMessageSimpleResponses extends c
@com.google.api.client.util.Key
private java.util.List<GoogleCloudDialogflowV2IntentMessageSimpleResponse> simpleResponses;

static {
// hack to force ProGuard to consider GoogleCloudDialogflowV2IntentMessageSimpleResponse used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(GoogleCloudDialogflowV2IntentMessageSimpleResponse.class);
}

/**
* Required. The list of simple responses.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ public final class GoogleCloudDialogflowV2ListEntityTypesResponse extends com.go
@com.google.api.client.util.Key
private java.util.List<GoogleCloudDialogflowV2EntityType> entityTypes;

static {
// hack to force ProGuard to consider GoogleCloudDialogflowV2EntityType used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(GoogleCloudDialogflowV2EntityType.class);
}

/**
* Token to retrieve the next page of results, or empty if there are no more results in the list.
* The value may be {@code null}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public final class GoogleCloudDialogflowV2QueryParameters extends com.google.api
private java.lang.Boolean resetContexts;

/**
* Optional. The collection of session entity types to replace or extend developer entities with
* for this query only. The entity synonyms apply to all languages.
* Optional. Additional session entity types to replace or extend developer entity types with. The
* entity synonyms apply to all languages and persist for the session of this query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -161,17 +161,17 @@ public GoogleCloudDialogflowV2QueryParameters setResetContexts(java.lang.Boolean
}

/**
* Optional. The collection of session entity types to replace or extend developer entities with
* for this query only. The entity synonyms apply to all languages.
* Optional. Additional session entity types to replace or extend developer entity types with. The
* entity synonyms apply to all languages and persist for the session of this query.
* @return value or {@code null} for none
*/
public java.util.List<GoogleCloudDialogflowV2SessionEntityType> getSessionEntityTypes() {
return sessionEntityTypes;
}

/**
* Optional. The collection of session entity types to replace or extend developer entities with
* for this query only. The entity synonyms apply to all languages.
* Optional. Additional session entity types to replace or extend developer entity types with. The
* entity synonyms apply to all languages and persist for the session of this query.
* @param sessionEntityTypes sessionEntityTypes or {@code null} for none
*/
public GoogleCloudDialogflowV2QueryParameters setSessionEntityTypes(java.util.List<GoogleCloudDialogflowV2SessionEntityType> sessionEntityTypes) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public final class GoogleCloudDialogflowV2SessionEntityType extends com.google.a
/**
* Required. The unique identifier of this session entity type. Format:
* `projects//agent/sessions//entityTypes/`.
*
* `` must be the display name of an existing entity type in the same agent that will be
* overridden or supplemented.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -96,6 +99,9 @@ public GoogleCloudDialogflowV2SessionEntityType setEntityOverrideMode(java.lang.
/**
* Required. The unique identifier of this session entity type. Format:
* `projects//agent/sessions//entityTypes/`.
*
* `` must be the display name of an existing entity type in the same agent that will be
* overridden or supplemented.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
Expand All @@ -105,6 +111,9 @@ public java.lang.String getName() {
/**
* Required. The unique identifier of this session entity type. Format:
* `projects//agent/sessions//entityTypes/`.
*
* `` must be the display name of an existing entity type in the same agent that will be
* overridden or supplemented.
* @param name name or {@code null} for none
*/
public GoogleCloudDialogflowV2SessionEntityType setName(java.lang.String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public final class GoogleCloudDialogflowV2beta1EntityType extends com.google.api
private java.lang.String autoExpansionMode;

/**
* Required. The name of the entity.
* Required. The name of the entity type.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -84,15 +84,15 @@ public GoogleCloudDialogflowV2beta1EntityType setAutoExpansionMode(java.lang.Str
}

/**
* Required. The name of the entity.
* Required. The name of the entity type.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}

/**
* Required. The name of the entity.
* Required. The name of the entity type.
* @param displayName displayName or {@code null} for none
*/
public GoogleCloudDialogflowV2beta1EntityType setDisplayName(java.lang.String displayName) {
Expand Down
4 changes: 2 additions & 2 deletions clients/1.26.0/google-api-services-dialogflow/v2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-dialogflow</artifactId>
<version>v2-rev20180920-1.26.0-SNAPSHOT</version>
<name>Dialogflow API v2-rev20180920-1.26.0-SNAPSHOT</name>
<version>v2-rev20181009-1.26.0-SNAPSHOT</version>
<name>Dialogflow API v2-rev20181009-1.26.0-SNAPSHOT</name>
<packaging>pom</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down

0 comments on commit 7672a16

Please sign in to comment.