FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Promoting types in resourcenames and pathtemplate to stable by garrettjonesgoogle · Pull Request #54 · googleapis/api-common-java · GitHub

This repository was archived by the owner on Sep 27, 2023. It is now read-only.
/ api-common-java Public archive
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (7) All 1 file type selected
Deleted files Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

package com.google.api.pathtemplate;

import com.google.api.core.BetaApi;
import com.google.auto.value.AutoValue;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableList;
Expand Down Expand Up @@ -122,7 +121,6 @@
* For the representation of a <em>resource name</em> see {@link TemplatedResourceName}, which is
* based on path templates.
*/
@BetaApi
public class PathTemplate {

/**
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
* assert resourceName.parentName().toString().equals("shelves/s1/books");
* </pre>
*/
@BetaApi
public class TemplatedResourceName implements Map<String, String> {

// ResourceName Resolver
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,13 @@

package com.google.api.pathtemplate;

import com.google.api.core.BetaApi;
import java.util.Stack;

/**
* Exception thrown if there is a validation problem with a path template, http config, or related
* framework methods. Comes as an illegal argument exception subclass. Allows to globally set a
* thread-local validation context description which each exception inherits.
*/
@BetaApi
public class ValidationException extends IllegalArgumentException {

public interface Supplier<T> {
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@

package com.google.api.resourcenames;

import com.google.api.core.BetaApi;
import java.util.Map;

/** An interface that generated resource name types must implement. */
@BetaApi
public interface ResourceName {

/**
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
*/
package com.google.api.resourcenames;

import com.google.api.core.BetaApi;

@BetaApi
public interface ResourceNameFactory<T extends ResourceName> {

/* Create a new ResourceName from a formatted String representing a ResourceName. */
Expand Down

This file was deleted.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

package com.google.api.resourcenames;

import com.google.api.core.BetaApi;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableMap;
import java.util.Map;
Expand All @@ -41,7 +40,6 @@
* support the case of a resource name string in an unexpected format - generated resource name
* classes with known formats should be preferred where possible.
*/
@BetaApi
public class UntypedResourceName implements ResourceName {

private final String rawValue;
Expand Down

Back | FazBrowse Home | New Git URL